i asked claude to implement trellis.2 fully in cuda c++, and it is 5.3x faster than the original pytorch implementation đ
surprisingly, the glb-export function was the bottleneck, not the neural net itself. moving exporting to the gpu gave more gains than anything else.
- zero python runtime, all in c++ âĄī¸
- cost đĩ ? ~$7 on claude and ~$60 on compute for testing on h200s through
@huggingface jobs
- it still gave 2.2x better perf while being bitwise identical đ¯
the code is open-sourced for use here --
use it as a source for your agent to optimize your models, or utilize it directly. happy hacking! đ¤