-
Notifications
You must be signed in to change notification settings - Fork 7k
Nightlies are currently incompatible with upstream nightlies #2339
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
Comments
@seemethere I'm not sure that we can do much better about the locking of the nightlies -- see #2148 for more discussion, otherwise it will be very confusing I think. |
The big problem is that pip doesn't actually do dependency solving; it just greedily picks the latest versions and it turns out that sometimes they're just not compatible. |
I don't think we should make any guarantees about compat between nightly versions which should make this problem a non-issue. |
Just checked and this issue should be resolved now, although it did require a manual kick of the html update job. We should probably update that job to be a lambda that runs on s3 updates, but we can do that at a later point. |
I'm not sure I follow. If we don't make guarantees that the nightlies match each other, then the purpose of the nightlies for the domain libraries is close to void, as it will be close to impossible for people to be able to use them? |
I'm not sure what @seemethere is referring to, but he might be saying that there should not be any requirement that torch from Jun 3 works with torchvision from Jun 1, which makes sense to me. However, for any given set of nightlies built on the same date (e.g., Jun 3), I feel we should guarantee that they are compatible with each other. What actually happens right now is that if torch nightlies fail to build for some reason, torchvision nightly will be built on the last working version of the nightly. If torch then retroactively publishes a new nightly you gonna have a bad time. |
Agree
Agree
Oh I see. Yes, this makes sense and we probably want to avoid building / uploading a new torchvision nightly if the corresponding nightly for pytorch for that day failed building. |
That would certainly be one way to solve the problem, although you can also end up in the reverse situation, where torch for Jun 3 exists, but torchvision for Jun 3 doesn't exist. Because pip is le dumbe, that will also break all nightly installs. What this suggests to me is we need two indexes: one index for pytorch that is updated whenever pytorch successfully builds a nightly, and a second index for vision which is only updated when BOTH pytorch and vision have successfully built. |
Originally reported by @pbelevich but I've observed that
torchvision
nightlies are currently incompatible withtorch
nightlies due to a tight version constraint.See:
I think this is related to pytorch/pytorch#40352 and subsequently pytorch/pytorch#39669
Will close this after I see the issue resolve itself.
The text was updated successfully, but these errors were encountered: