Martin Kim
Martin Kim
Closes #1705. Changes include: - Remove `Literal` compatibility type
Closes #1690.
Continuing #1565 in a new staging branch.
Error occurs when a model is saved with Pandas =2 ``` scvi/model/base/_base_model.py:691: in load ) = _load_saved_files( scvi/model/base/_utils.py:68: in _load_saved_files model = torch.load(model_path, map_location=map_location) ../../.../python3.11/site-packages/torch/serialization.py:1014: in load return _load(opened_zipfile, ../../.../python3.11/site-packages/torch/serialization.py:1422:...
Reproducible script: ``` vae = SCANVAE(n_input=100, n_labels=1) x = torch.randint(0, 100, (10, 100), dtype=torch.float32) batch = torch.zeros(10, dtype=torch.long) labels = torch.zeros(10, dtype=torch.long) tensors = { REGISTRY_KEYS.X_KEY: x, REGISTRY_KEYS.BATCH_KEY: batch, REGISTRY_KEYS.LABELS_KEY:...