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

The python crashed #653

Open
AAxjcy opened this issue Oct 13, 2024 · 0 comments
Open

The python crashed #653

AAxjcy opened this issue Oct 13, 2024 · 0 comments

Comments

@AAxjcy
Copy link

AAxjcy commented Oct 13, 2024

CPU: i7-12700H
GPU: Intel(R) Iris(R) Xe Graphics\x00
Open Python and enter the following code:

import torch
import torch_directml 
dml=torch_directml.device(1) #here dml is Intel(R) Iris(R) Xe Graphics\x00
x=torch.tensor([0],dtype=torch.float32).to(dml)
A=torch.nn.Linear(1,1).to(dml)
A(x)

Then my python crashes steadily without errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant