-
Notifications
You must be signed in to change notification settings - Fork 1
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
Quick pull request resolving #8 now pytorch 1.13.1 is released #13
Conversation
…l-similarities-phase-2 into 8-pytorch
just pulling down to verify on my x86 mac with a fresh environment install, @philswatton have you verified the same on your ARM-based laptop? |
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.
can confirm this works on my x86 mac with fresh poetry environment
once poetry install
was complete I was able to run tests successfully.
(I'm a bit surprised it didn't complain about the arm specific stuff in poetry.lock
but will take the win!)
haven't "approved" as think should be verified on an arm machine first but then happy for this to be merged. Nice one.
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.
poetry install
poetry run pytest
works for me too (x86 Mac). I do get a load of warnings from pl_bolts
though:
pl_bolts/callbacks/data_monitor.py:20: UnderReviewWarning: The feature warn_missing_pkg is currently marked under review. The compatibility with other Lightning projects is not guaranteed and API may change at any time. The API and functionality may change without warning in future releases. More details: https://lightning-bolts.readthedocs.io/en/latest/stability.html
warn_missing_pkg("wandb")
pl_bolts/models/self_supervised/amdim/amdim_module.py:35: UnderReviewWarning: The feature generate_power_seq is currently marked under review. The compatibility with other Lightning projects is not guaranteed and API may change at any time. The API and functionality may change without warning in future releases. More details: https://lightning-bolts.readthedocs.io/en/latest/stability.html
"lr_options": generate_power_seq(LEARNING_RATE_CIFAR, 11),
pl_bolts/models/self_supervised/amdim/amdim_module.py:93: UnderReviewWarning: The feature FeatureMapContrastiveTask is currently marked under review. The compatibility with other Lightning projects is not guaranteed and API may change at any time. The API and functionality may change without warning in future releases. More details: https://lightning-bolts.readthedocs.io/en/latest/stability.html
contrastive_task: Union[FeatureMapContrastiveTask] = FeatureMapContrastiveTask("01, 02, 11"),
pl_bolts/losses/self_supervised_learning.py:234: UnderReviewWarning: The feature AmdimNCELoss is currently marked under review. The compatibility with other Lightning projects is not guaranteed and API may change at any time. The API and functionality may change without warning in future releases. More details: https://lightning-bolts.readthedocs.io/en/latest/stability.html
self.nce_loss = AmdimNCELoss(tclip)
pl_bolts/datamodules/experience_source.py:18: UnderReviewWarning: The feature warn_missing_pkg is currently marked under review. The compatibility with other Lightning projects is not guaranteed and API may change at any time. The API and functionality may change without warning in future releases. More details: https://lightning-bolts.readthedocs.io/en/latest/stability.html
warn_missing_pkg("gym")
pl_bolts/callbacks/vision/confused_logit.py:16: UnderReviewWarning: The feature warn_missing_pkg is currently marked under review. The compatibility with other Lightning projects is not guaranteed and API may change at any time. The API and functionality may change without warning in future releases. More details: https://lightning-bolts.readthedocs.io/en/latest/stability.html
warn_missing_pkg("matplotlib")
ah yes these warnings are annoying. @philswatton maybe worth a quick look but if it's not trivial to fix (or filter/ignore) then let's raise a separate issue and come back to it when we've got some time. |
Happy to confirm all tests still pass on my arm laptop I've added a filter to pytest. We still get the count of warnings (106) but they're no longer printed out when testing. They're all Will merge the PR now |
At least no more are printed out while running pytest - they'll still print to console when running python outside of that! |
People have raised issues about some of these with lightning-bolts, e.g. Lightning-Universe/lightning-bolts#563 |
Installation now works fine without OS/architecture-specific URLs