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

Installation of sinabs-Exodus could install dependencies #16

Open
ssinhaleite opened this issue Sep 18, 2023 · 4 comments
Open

Installation of sinabs-Exodus could install dependencies #16

ssinhaleite opened this issue Sep 18, 2023 · 4 comments

Comments

@ssinhaleite
Copy link
Member

Sinabs-Exodus depends on torch. Why not have torch listed in the dependencies, so when one does pip install sinabs-exodus it tries to install torch as well?

@sheiksadique
Copy link
Contributor

We tend to leave out the torch requirement because there is/was a complex routine to install the correct version of torch with/without the correct version of CUDA. But perhaps we can for now just make a default installation and leave a note to get the correct version manually installed if the user runs into issues.

@ssinhaleite
Copy link
Member Author

I see... I am, indeed, running into many problems when combining Python/torch/cuda versions just to install Exodus.

But we can think of maybe having a fixed setup that we could install all together. And a separate one where the user can define their own versions.
We can discuss this further.

@drader
Copy link

drader commented Oct 19, 2024

Hi Im using apple silicon m2 which does not support cuda. Thats why I couldnt succeed to install sinabs-exodus. Is there any workaround for apple silicon?

@ssinhaleite
Copy link
Member Author

Hi @drader, sinabs-exodus is dependent on CUDA. It uses the Nvidia GPU with Cuda to speed up training and inference.
If your system doesn't have CUDA, you can't install sinabs-exodus.
You can still install sinabs, though. And everything will work the same, just not as fast.

:)

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

3 participants