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

Can't setup the environment #1

Open
dmarcos opened this issue Jan 23, 2024 · 5 comments
Open

Can't setup the environment #1

dmarcos opened this issue Jan 23, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@dmarcos
Copy link

dmarcos commented Jan 23, 2024

 > conda env create -f environment.yml

Collecting package metadata (repodata.json): | WARNING conda.models.version:get_matcher(535): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0.*, but conda is ignoring the .* and treating it as 1.8.0
WARNING conda.models.version:get_matcher(535): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0.*, but conda is ignoring the .* and treating it as 1.9.0
done
Solving environment: failed

ResolvePackageNotFound:
  - torchvision==0.11.1=py39_cu113
  - cudatoolkit==11.3.1=h2bc3f7f_2
  - pytorch==1.10.0=py3.9_cuda11.3_cudnn8.2.0_0
  - torchaudio==0.10.0=py39_cu113

After following the instructions. Then:

   > conda activate prisma

   Could not find conda environment: prisma

Just followed the instructions verbatim. Don't know enough about the pytorch stack to troubleshoot myself. Thanks!

@patriciogonzalezvivo
Copy link
Owner

Do you mind sharing what OS and conda version are you using?

@dmarcos
Copy link
Author

dmarcos commented Jan 23, 2024

MacOS 13.4.1
conda 4.12.0

@patriciogonzalezvivo
Copy link
Owner

patriciogonzalezvivo commented Jan 23, 2024

It makes more sense, those errors are because CUDA can't be installed ( notice all missing packages refers to cu113 == CUDA 11.3 ). I will add in the roadmap to explore support for MacOS

@dmarcos
Copy link
Author

dmarcos commented Jan 23, 2024

Thanks! I guess also requires an Nvidia GPU. Might be good to mention on the README

@patriciogonzalezvivo
Copy link
Owner

To be clear, in theory it's possible to use Metal backend instead of CUDA. https://pytorch.org/blog/introducing-accelerated-pytorch-training-on-mac/
There are some changes that need to be make, I just don't have experience using metal.

Would be great if someone can help with that.

@patriciogonzalezvivo patriciogonzalezvivo added the enhancement New feature or request label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants