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

Update win installation WIP #869

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from
Draft

Update win installation WIP #869

wants to merge 4 commits into from

Conversation

constantinpape
Copy link
Contributor

@constantinpape constantinpape marked this pull request as draft February 19, 2025 10:37
@constantinpape
Copy link
Contributor Author

Hi @hmaarrfk ,
we found that pytorch is now on conda-forge also for windows (yay!!!) and so try to update the dependencies for the installation here. However, the installation with this dependency consistently times out, because installing it takes so long.

See
https://github.com/computational-cell-analytics/micro-sam/actions/runs/13410630608/job/37467791597?pr=869

Do you have any idea why this might be?

Thanks!

@hmaarrfk
Copy link
Contributor

The timeout is set at 60 mins. Increase it to 120?

@constantinpape
Copy link
Contributor Author

We could increase the time limit, but before updating the environment (when we still used pytorch from the pytorch channel) it was resolved in a few minutes.

@hmaarrfk
Copy link
Contributor

I’m sorry. I don’t use use windows myself. I know it is slower with conda. PyTorch and Cuda are heavy.

- conda-forge
dependencies:
- cpuonly
# This pin is necessary because later nifty versions have import errors on windows.
- nifty =1.2.1=*_4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or at leas the "pin"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well its good we left ourselves that note such a long time ago ^_^

@constantinpape
Copy link
Contributor Author

Thanks for the quick help @hmaarrfk ! We will double check that the installation works now without the nifty pin, but then this should work!

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

Successfully merging this pull request may close these issues.

2 participants