-
Notifications
You must be signed in to change notification settings - Fork 60
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
Installing for GPU processing: file environment_gpu.yaml has disapeared #935
Comments
Yes, this is correct. The reason for this is that the installation on Linux is now simplified because we use the pytorch package from conda-forge, which automatically installs the correct pytorch version for your machine. So using To test this you can run the following in the terminal (after you have installed and activated the environment): python -c "import pytorch; print(torch.cuda.is_available())" This should print out |
Unfortunately, after:
I get napari with no micro-sam: and with no CLI
|
Hi @aloboa, With installations from source, you always need to install the package locally:
|
And make sure to activate the environment before running the command @anwai98 indicates:
|
Oops... shame on me... |
Just realised that:
Despite the fact that micro-sam works with cuda (as shown by nvtop): (BTW, why is the training stopping after Epoch 57?) |
Trying to make a new source installation on linux, I observe that after
git clone https://github.com/computational-cell-analytics/micro-sam
the file
environment_gpu.yaml
is not there any more. I see files:If I compare the new
environment.yaml
to the formerenvironment_gpu.yaml
,I observe that dependency
pytorch-cuda>=11.7
is not there any more.
Is this correct? may I go and use the current
environment.yaml
mamba env create -f environment.yaml
and still get a micro-sam installation able to work with my GPU?
The text was updated successfully, but these errors were encountered: