Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If this is the way forward, I'd love for a better developer experience.

I'm currently wrangling with pytorch.compile (flex attention doesn't like bias terms - see issues 145869 and 144511 if curious). As much as I love speed and optimization, JIT (at least the pytorch flavor) currently has weird return types that break VS Code's intellisense, weird stack traces, limitations around printing, and random issues like the bias term, and limitations such as not supporting sparsity.

Speaking of pytorch JIT workflows - what's a nice way of having a flag to turn off compilation?



You can decorate a function with @torch.compiler.disable() to disable a specific function (and anything further down the call stack).


> random issues like the bias term

I'd like to know more about this!





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: