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 OmegaConf and remove PyTorch from dependencies #650

Merged
merged 1 commit into from
May 20, 2022

Conversation

tmke8
Copy link
Member

@tmke8 tmke8 commented May 20, 2022

Having PyTorch in the dependencies only causes problems. You won't get the right version anyway with poetry and just the presence of PyTorch in the dependencies slows down poetry update enormously. It's just not worth it.

Having PyTorch in the dependencies only causes problems. You won't get
the right version anyway with poetry and just the presence of PyTorch in
the dependencies slows down `poetry update` enormously. It's just not
worth it.
@tmke8 tmke8 added the code-change An actual code change. label May 20, 2022
@tmke8 tmke8 merged commit a194af6 into main May 20, 2022
@tmke8 tmke8 deleted the overhaul-dependencies branch May 20, 2022 12:46
@olliethomas
Copy link
Member

I'm a bit surprised that all the import torch statements don't cause problems

@tmke8
Copy link
Member Author

tmke8 commented May 20, 2022

torch is still installed in the CI. I'm just doing it manually so that we get the CPU version:

https://github.com/predictive-analytics-lab/EthicML/blob/200aa8e4faec3bebbd70fb1ad6429812f92606ce/.github/workflows/continuous_integration.yml#L131

@tmke8
Copy link
Member Author

tmke8 commented May 20, 2022

Hm, though I should maybe pin the pytorch version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-change An actual code change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants