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

Return the correct IPU root_device #17024

Closed
wants to merge 1 commit into from
Closed

Conversation

carmocca
Copy link
Contributor

What does this PR do?

All accelerators should return a list of torch.devices, which is what the strategy expects to get as strategy.parallel_devices

Otherwise, there can be silent errors where the wrong device type is used.

@carmocca carmocca added refactor accelerator: ipu (removed) Intelligence Processing Unit strategy: ipu (removed) pl Generic label for PyTorch Lightning package labels Mar 10, 2023
@carmocca carmocca added this to the 2.0 milestone Mar 10, 2023
@carmocca carmocca self-assigned this Mar 10, 2023
@carmocca carmocca removed this from the 2.0 milestone Mar 10, 2023
@carmocca carmocca mentioned this pull request Mar 29, 2023
@carmocca
Copy link
Contributor Author

Since IPUs were moved out-of-tree, created Lightning-AI/lightning-Graphcore#12

@carmocca carmocca closed this Apr 28, 2023
@carmocca carmocca deleted the carmocca/ipu-root-device branch April 28, 2023 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accelerator: ipu (removed) Intelligence Processing Unit pl Generic label for PyTorch Lightning package refactor strategy: ipu (removed)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant