-
Notifications
You must be signed in to change notification settings - Fork 174
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
torchao: add int8; quanto: add NF4; torch compile fixes + ability to compile optim #986
Conversation
@sayakpaul i can't get this to work on NVIDIA devices, but it does work on Apple MPS. have you had any luck training on torchao? for cuda it complains it cannot cast (tensor, tensor) to tensor. |
currently the main benefit of torchao i can see is that we get torch compile support, but torch compile doesn't even work on mps.. on MPS, torchao is 3 seconds per step slower than quanto, which is roughly the same speed as bf16, tested on Flux Dev. so if there's no nvidia support for training and it works more slowly on MPS, not sure there is a point to merge this PR |
This comment was marked as outdated.
This comment was marked as outdated.
i change my mind, i got it to work with int8 on nvidia after messing around with the internals on the GPUMODE discord. |
…int8 when dynamo is enabled
No description provided.