We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems like parts of PL are using deprecated parts of PL. I'm seeing the following DeprecationWarning in CI:
/opt/hostedtoolcache/Python/3.10.5/x64/lib/python3.10/site-packages/pytorch_lightning/utilities/argparse.py:345: in insert_env_defaults return fn(self, **kwargs) /opt/hostedtoolcache/Python/3.10.5/x64/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py:488: in __init__ self._callback_connector.on_trainer_init( /opt/hostedtoolcache/Python/3.10.5/x64/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/callback_connector.py:89: in on_trainer_init self.trainer.callbacks.extend(_configure_external_callbacks()) /opt/hostedtoolcache/Python/3.10.5/x64/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/callback_connector.py:262: in _configure_external_callbacks factories = entry_points().get("pytorch_lightning.callbacks_factory", ()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = {'array_api': [EntryPoint(name='numpy', value='numpy.array_api', group='array_api')], 'console_scripts': [EntryPoint(n...ame='projector', value='tensorboard.plugins.projector.projector_plugin:ProjectorPlugin', group='tensorboard_plugins')]} name = 'pytorch_lightning.callbacks_factory', default = () def get(self, name, default=None): > self._warn() E DeprecationWarning: SelectableGroups dict interface is deprecated. Use select. /opt/hostedtoolcache/Python/3.10.5/x64/lib/python3.10/importlib/metadata/__init__.py:430: DeprecationWarning
Should be able to reproduce by testing any Trainer with pytest. I'm not even using callbacks:
Trainer(fast_dev_run=True, log_every_n_steps=1, max_epochs=1)
I would not expect to see a DeprecationWarning.
torch.__config__.show()
The text was updated successfully, but these errors were encountered:
Thanks for the report! We missed this because we are not testing with Python 3.10 yet cc @akihironitta
Sorry, something went wrong.
Since we don't have CI setup for it yet, do you mind running your reproduction script on the #14052 branch?
Will test tonight. Is there anything holding up adding Python 3.10 to CI?
@carmocca @adamjstewart Let me prioritise enabling it in CI this weekend. Here's the tracking issue #9980.
carmocca
Successfully merging a pull request may close this issue.
🐛 Bug
It seems like parts of PL are using deprecated parts of PL. I'm seeing the following DeprecationWarning in CI:
To Reproduce
Should be able to reproduce by testing any Trainer with pytest. I'm not even using callbacks:
Expected behavior
I would not expect to see a DeprecationWarning.
Environment
torch.__config__.show()
: N/AThe text was updated successfully, but these errors were encountered: