-
Notifications
You must be signed in to change notification settings - Fork 211
try minimal requirements #62
Conversation
Codecov Report
@@ Coverage Diff @@
## master #62 +/- ##
=======================================
Coverage 87.39% 87.39%
=======================================
Files 49 49
Lines 1579 1579
=======================================
Hits 1380 1380
Misses 199 199
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
I'm not sure we can have |
good point but in such case, we shall have it tested somewhere... anyway fix free on one particular version is very bad :/ |
We have a test for it We would need to run it with different PyTorch versions |
but this breaking change was in 1.6? @SeanNaren |
Yes, the change was in 1.6 but we had some issues before release and fixed it to 1.7.1 to be safe. Can you add a single job with PyTorch 1.6 in CI? To be sure |
now the min is 1.6 so all 6 tests are using it - Linux/Mac/Win and py3.6 and py3.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to think about how to solve the weights compatibility issue. See failing tests:
RuntimeError: Only one file(not dir) is allowed in the zipfile
The weights were generated with torch==1.7.1
and fail to load with torch==1.6.0
Yes, the weights shall be generated in 1.6 so they would be compatible with all after 1.6... |
That's what we thought initially but didn't seem to work before release. We'll have to try again |
@carmocca it is also what I did for PL checkpoint legacy testing, all are created with PT 1.4 as they are possible to load in any future version up to 1.8 |
@carmocca how is it going with generating weights with lower pytorch? |
Bit busy with the 1.2 release. @teddykoker can you do it? I believe you did it originally |
no rush, I have created an issue for it... #128 |
ok, let's try reverse strategy :D |
The Win-latest is failing also on master - https://github.com/PyTorchLightning/lightning-flash/runs/1936420296 |
What does this PR do?
unfreeze requirements, cc: @SeanNaren
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃