Tinygrad can't work on arm64 host #6989
Unanswered
dapengsmith
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Developer,
I have an ARM64 host running Windows with WSL (Ubuntu 22.04). I attempted to run Tinygrad using the command CLANG=1 python test.py, but encountered the following error:
clang: error: the clang compiler does not support '-march=native'.
Could you please provide any suggestions to resolve this issue?
The test.py is very simple as below:
import torch
x = torch.eye(3, requires_grad=True)
y = torch.tensor([[2.0,0,-2.0]], requires_grad=True)
z = y.matmul(x).sum()
z.backward()
print(x.grad.numpy()) # dz/dx
print(y.grad.numpy()) # dz/dy
Beta Was this translation helpful? Give feedback.
All reactions