Skip to content
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

PyTorch Lightning uses deprecated torch_xla function, causing compatibility issues with latest torch_xla versions #20419

Open
aahila-aws opened this issue Nov 13, 2024 · 0 comments
Labels
bug Something isn't working needs triage Waiting to be triaged by maintainers ver: 2.4.x

Comments

@aahila-aws
Copy link

Bug description

PyTorch Lightning uses deprecated torch_xla function, causing compatibility issues with latest torch_xla versions.
In this file we see that PyTorch Lightning using an xla function that has been deprecated in the latest versions of torch_xla.

What version are you seeing the problem on?

master

How to reproduce the bug

No response

Error messages and logs

# Error messages and logs here please

AttributeError: module 'torch_xla.runtime' has no attribute 'using_pjrt'

Environment

Current environment
#- PyTorch Lightning Version (e.g., 2.4.0):
#- PyTorch Version (e.g., 2.4):
#- Python version (e.g., 3.12):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):

More info

No response

@aahila-aws aahila-aws added bug Something isn't working needs triage Waiting to be triaged by maintainers labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Waiting to be triaged by maintainers ver: 2.4.x
Projects
None yet
Development

No branches or pull requests

1 participant