Build model on normalised data

I have scRNA-seq data already analysed by Scanpy. I want to do DE analysis by scvi.
So, I did:

adata.layers['counts'] = adata.X.copy()
scvi.model.SCVI.setup_anndata(adata, layer = "counts")
model = scvi.model.SCVI(adata)

and I got this error

TypeError: Instance and class checks can only be used with @runtime_checkable protocols

Many thanks

Can you provide the full traceback?