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

Dev pytorch from forge #394

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Dev pytorch from forge #394

wants to merge 3 commits into from

Conversation

Old-Shatterhand
Copy link
Collaborator

Description

The current dev branch cannot be published on conda-forge due to PyTorch not being installed from conda-forge but from the pytorch channel. Therefore, I changed the PyTorch installation channel from PyTorch to conda-forge in the CI/CD pipeline to test if the test succeeds with the new dependencies.

Todos

  • If the tests succeed, one has to adjust the conda-forge upload to use PyTorch from conda-forge.

Questions

No questions so far.

Status

  • Ready to go

Get PyTorch from conda-forge for the CI/CD pipeline.
Remove testing on Win-64 as PyTorch is not available from conda-forge for Win-64 architectures.
@Old-Shatterhand
Copy link
Collaborator Author

Old-Shatterhand commented Jun 6, 2023

In the first round, the conda setup failed (Link to CI/CD)

I have no clear idea, why this breaks. Maybe, for every run, a cached environment is updated instead of a new one is created? Or mamba uses cached builds from previous downloads? Maybe, @dominiquesydow or @mbackenkoehler can help? My only guess is to rename the environments in the CI/CD pipeline and in devtools/test_env.yml. Let's see if that helps.

Rename environment in CI/CD pipeline to force reinstallation of the full environment instead of using a potentially cached environment
@mbackenkoehler
Copy link
Collaborator

@Old-Shatterhand There is no caching of conda environments or packages.

Pasting the error from the raw logs here:

2023-06-06T09:04:25.6344822Z Could not solve for environment specs
2023-06-06T09:04:25.6345202Z The following packages are incompatible
2023-06-06T09:04:25.6345856Z ├─ mkl <2022  is requested and can be installed;
2023-06-06T09:04:25.6346344Z └─ pytorch 1.13.0  is uninstallable because there are no viable options
2023-06-06T09:04:25.6346750Z    ├─ pytorch 1.13.0 would require
2023-06-06T09:04:25.6347273Z    │  └─ mkl >=2022.2.1,<2023.0a0 , which conflicts with any installable versions previously reported;
2023-06-06T09:04:25.6347694Z    └─ pytorch 1.13.0 would require
2023-06-06T09:04:25.6348044Z       └─ __cuda  , which is missing on the system.

@Old-Shatterhand
Copy link
Collaborator Author

Hm, then this run will not succeed as well...

@mbackenkoehler mbackenkoehler changed the base branch from master to dev June 6, 2023 11:21
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