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

Add map_location when importing to Torch #10

Open
Jegp opened this issue Oct 5, 2023 · 0 comments
Open

Add map_location when importing to Torch #10

Jegp opened this issue Oct 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Jegp
Copy link
Collaborator

Jegp commented Oct 5, 2023

It's currently ambiguous which device imported modules and tensors are sent to. We should allow the user to specify something like the map_location parameter to disambiguate and simplify device acceleration.

https://pytorch.org/docs/stable/generated/torch.load.html

@Jegp Jegp added the enhancement New feature or request label Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant