-
Notifications
You must be signed in to change notification settings - Fork 368
Closed
Description
Hi,
I was on torchao 0.1. When I used pip install --upgrade torchao, it kept me on 0.1 for some reason.
So I built from source, but wanted to let you know I encountered this error initially:
D:\ao\torchao\csrc\cuda\sparse_marlin\base.h(47): error: identifier "uint" is undefined
using FragM = Vec<uint, 1>;
^
I asked Claude to review, and it gave me a working solution:
1. Contact the package maintainers:
If this is a public package, you could report this issue to the maintainers of the torchao package. They might need to update their code to use unsigned int instead of uint, or properly include the necessary header that defines uint.
2. Modify the source code:
Open the file D:\ao\torchao\csrc\cuda\sparse_marlin\base.h
Find line 47 (or thereabouts)
Change uint to unsigned int
Just making you aware in case that change should be made for all.
Thank you!
gau-nernst and jepjoo
Metadata
Metadata
Assignees
Labels
No labels