-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Fix parameter count in ModelSummary when parameters are DTensors #20163
Conversation
for more information, see https://pre-commit.ci
⚡ Required checks status: All passing 🟢Groups summary🟢 pytorch_lightning: Tests workflowThese checks are required after the changes to 🟢 pytorch_lightning: Azure GPU
These checks are required after the changes to 🟢 pytorch_lightning: Benchmarks
These checks are required after the changes to 🟢 fabric: Docs
These checks are required after the changes to 🟢 pytorch_lightning: Docs
These checks are required after the changes to 🟢 lightning_fabric: CPU workflowThese checks are required after the changes to 🟢 lightning_fabric: Azure GPU
These checks are required after the changes to 🟢 mypy
These checks are required after the changes to 🟢 installThese checks are required after the changes to Thank you for your contribution! 💜
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #20163 +/- ##
=======================================
- Coverage 89% 89% -0%
=======================================
Files 267 267
Lines 23063 23071 +8
=======================================
+ Hits 20565 20572 +7
- Misses 2498 2499 +1 |
What does this PR do?
Fixes #20151
Running
Before:
(shows 0 parameters)
After:
(shows correct counts)
📚 Documentation preview 📚: https://pytorch-lightning--20163.org.readthedocs.build/en/20163/
cc @carmocca @justusschock @awaelchli