Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pytorch_lightning.utilities(module) and lightning_utilities (package) #354

Open
holyshipt opened this issue Jan 14, 2025 · 0 comments
Open

Comments

@holyshipt
Copy link

Hi, I didn't find suitable template, here's a raw question:

In the future release, is it possible to recommend which one to use when both contains similar functions? e.g.,

usage of lightning-utilities 0.11.9 with strict linting/LSP support working

from lightning_utilities.core.rank_zero import rank_zero_only

usage of utilities in pytorch-lightning 2.5.0, not having linting/LSP support

pytorch_lighning.utilities.rank_zero_only  # "utilities" is not a known attribute of module "pytorch_lightning"
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant