Skip to content

safetensor dependency is missing #26

@gokceneraslan

Description

@gokceneraslan
/home/eraslag1/.miniconda3/lib/python3.10/site-packages/tangermeme/ersatz.py:475: NumbaDeprecationWarning: The keyword argument 'nopython=False' was supplied. From Numba 0.59.0 the default is being changed to True and use of 'nopython=False' will raise a warning as the argument will have no effect. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  @numba.jit(params, nopython=False, cache=True)
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[3], line 7
      5 import anndata
      6 import os
----> 7 from decima.lightning import LightningModel
      9 get_ipython().run_line_magic('matplotlib', 'inline')
     10 import seaborn as sns

File ~/.miniconda3/lib/python3.10/site-packages/decima/__init__.py:3
      1 import sys
      2 from decima.constants import NUM_CELLS, DECIMA_CONTEXT_SIZE
----> 3 from decima.core.result import DecimaResult
      4 from decima.interpret.save_attributions import predict_save_attributions
      5 from decima.vep import predict_variant_effect

File ~/.miniconda3/lib/python3.10/site-packages/decima/core/result.py:10
      7 from grelu.sequence.format import intervals_to_strings, strings_to_one_hot
      9 from decima.constants import DECIMA_CONTEXT_SIZE
---> 10 from decima.hub import load_decima_metadata, load_decima_model
     11 from decima.core.metadata import GeneMetadata, CellMetadata
     12 from decima.tools.evaluate import marker_zscores

File ~/.miniconda3/lib/python3.10/site-packages/decima/hub/__init__.py:8
      6 import anndata
      7 from grelu.resources import get_artifact, DEFAULT_WANDB_HOST
----> 8 from decima.model.lightning import LightningModel, EnsembleLightningModel
     11 def login_wandb():
     12     try:

File ~/.miniconda3/lib/python3.10/site-packages/decima/model/lightning.py:21
     19 from torch.utils.data.dataloader import default_collate
     20 from torchmetrics import MetricCollection
---> 21 import safetensors
     23 from .decima_model import DecimaModel
     24 from .loss import TaskWisePoissonMultinomialLoss

ModuleNotFoundError: No module named 'safetensors'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions