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

depricated torch.set_default_tensor_type() #196

Open
mahmoud-atwi opened this issue Dec 8, 2023 · 0 comments
Open

depricated torch.set_default_tensor_type() #196

mahmoud-atwi opened this issue Dec 8, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@mahmoud-atwi
Copy link

Issue

Problem Description

torch.set_default_tensor_type() as of PyTorch 2.1

Expected Behavior

What Needs to be Done

use torch.set_default_dtype() and torch.set_default_device() as alternatives

How Can It Be Tested or Reproduced

use set_up_backend("torch") with PyTorch >= 2.1

@gomezzz gomezzz added bug Something isn't working help wanted Extra attention is needed labels Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants