where is the script for replacing torch graphs with triton kernels #2480
Replies: 1 comment
|
There isn’t one standalone “replace torch graphs with triton” script. Unsloth mostly monkey-patches Transformers Good reading order:
If you also have Happy to point at a specific op (attention vs MLP vs loss) if you say which model you’re reading. |
Uh oh!
There was an error while loading. Please reload this page.
Honestly just trying to read and learn from this repo, I was wondering if someone can direct/explain me the piece where instead of torch graphs being compiled, the triton kernels kick in.
Thanks very much
All reactions