Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install broken #16

Open
ando-shah opened this issue Jul 18, 2024 · 1 comment
Open

Install broken #16

ando-shah opened this issue Jul 18, 2024 · 1 comment

Comments

@ando-shah
Copy link

Using the conda environment from deepsatmodels_env.yml followed by conda install pytorch torchvision torchaudio cudatoolkit=10.1 -c pytorch-nightly, followed by running the training command leads to the following error:

Traceback (most recent call last):
  File "train_and_eval/segmentation_training_transf.py", line 5, in <module>
    import torch
  File "/opt/conda/envs/deepsatmodels/lib/python3.8/site-packages/torch/__init__.py", line 364, in <module>
    from torch._C import *  # noqa: F403
ImportError: /opt/conda/envs/deepsatmodels/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: cblas_gemm_bf16bf16f32

Upgrading the pytorch and torchvision doesnt seem to help.
CUDA version 12.4

@vhvkhoa
Copy link

vhvkhoa commented Jul 27, 2024

This command works for me:
conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 cudatoolkit=10.2 -c pytorch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants