-
-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
Please make sure these conditions are met
- I have checked that this issue has not already been reported.
- I have confirmed this bug exists on the latest version of omicverse.
- (optional) I have confirmed this bug exists on the main branch of omicverse.
What happened?
my pixi toml is:
$ cat pixi.toml
[workspace]
authors = ["yudalang3 <[email protected]>"]
name = "Wnt_activation_env"
platforms = ["linux-64"]
version = "0.1.0"
#channels = [
# "conda-forge",
# "bioconda",
# "https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main",
# "https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free"
#]
channels = [
"https://mirror.nju.edu.cn/anaconda/cloud/conda-forge/",
"https://mirror.nju.edu.cn/anaconda/cloud/bioconda/",
"https://mirror.nju.edu.cn/anaconda/pkgs/main/",
"https://mirror.nju.edu.cn/anaconda/pkgs/free/"
]
[dependencies]
pixi-pycharm = ">=0.0.9,<0.0.10"
omicverse = ">=1.7.7,<2"
pandas-stubs = "==2.3.2.250926"
notebook = ">=7.4.7,<8"
huggingface_hub = "==0.19.4"
transformers = "==4.37.2"
[tasks]
for
huggingface_hub = "==0.19.4"
transformers = "==4.37.2"
I try to fix the previous version of the huggingface_hub and transformers , It can run
But
$ pixi run python test1.py
Error processing line 1 of /opt/BioInfo/xxx_env/.pixi/envs/default/lib/python3.11/site-packages/distutils-precedence.pth:
Traceback (most recent call last):
File "<frozen site>", line 195, in addpackage
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named '_distutils_hack'
Remainder of file ignored
/opt/BioInfo/xxx_env/.pixi/envs/default/lib/python3.11/site-packages/torch/cuda/__init__.py:58: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
import pynvml # type: ignore[import]
🔬 Starting plot initialization...
🧬 Detecting CUDA devices…
🚫 No CUDA devices found
____ _ _ __
/ __ \____ ___ (_)___| | / /__ _____________
/ / / / __ `__ \/ / ___/ | / / _ \/ ___/ ___/ _ \
/ /_/ / / / / / / / /__ | |/ / __/ / (__ ) __/
\____/_/ /_/ /_/_/\___/ |___/\___/_/ /____/\___/
🔖 Version: 1.7.7 📚 Tutorials: https://omicverse.readthedocs.io/
✅ plot_set complete.
I have CUDA device!
Now I thank it work, while, hope author to fix.
Minimal code sample
import scanpy as sc
import omicverse as ov
import matplotlib.pyplot as plt
ov.plot_set()Error output
/opt/BioInfo/xxx_env/.pixi/envs/default/lib/python3.11/site-packages/torch/cuda/__init__.py:61: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
import pynvml # type: ignore[import]
ImportError: cannot import name 'HfFolder' from 'huggingface_hub' (/opt/BioInfo/Wnt_activation_env/.pixi/envs/default/lib/python3.11/site-packages/huggingface_hub/__init__.py)Versions
Details
🔬 Starting plot initialization...
🧬 Detecting CUDA devices…
🚫 No CUDA devices found
____ _ _ __
/ __ \____ ___ (_)___| | / /__ _____________
/ / / / __ `__ \/ / ___/ | / / _ \/ ___/ ___/ _ \
/ /_/ / / / / / / / /__ | |/ / __/ / (__ ) __/
\____/_/ /_/ /_/_/\___/ |___/\___/_/ /____/\___/
🔖 Version: 1.7.7 📚 Tutorials: https://omicverse.readthedocs.io/
✅ plot_set complete.
Metadata
Metadata
Assignees
Labels
No labels