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

Remove version parsing for torch nightlies, req. >=1.0.1 instead #663

Merged
merged 1 commit into from
Apr 24, 2019

Conversation

Balandat
Copy link
Collaborator

Seems like this is unnecessary. Requiring "torch>=1.0.1" will not install stable if a dev version from the nightlies is present.

Addresses #662

@gpleiss gpleiss merged commit 32911e3 into master Apr 24, 2019
@gpleiss gpleiss deleted the torch_nightly branch April 24, 2019 14:09
@Balandat
Copy link
Collaborator Author

Hmm actually there seems to be a difference in how this is dealt with between pip and conda. In particular, if the torch-nightly pip package is installed then setup will still install the stable version. I'll put up another PR to address this issue.

@Balandat
Copy link
Collaborator Author

Balandat commented Apr 24, 2019

argh apparently there is a bug in pip 19.0.1 that shows up in conjunction with having a pyproject.toml file (which we do) that always results in setup.py not being able to import torch: pypa/pip#6163

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