Live data from Hacker News

Viewing profile — formalsystem

formalsystem

HN member
Joined
Thu, Feb 05, 2015, 8:15 AM UTC
HN karma
2,782
Public activity
327 items

About formalsystem

No profile information was provided.

Recent public activity

  1. comment
  2. comment
    Comment #45120978

    I work on PyTorch and there are many things that make me suspicious about these results. My TL;DR is unless we get a zip file of all the kernels with how they're benchmarked result…

  3. story
  4. comment
    Comment #42001877

    The project is very much focused on maxing out tensor cores and since older GPUs don’t have them it’s not where the project shines best

  5. comment
    Comment #41949787

    Please ignore my previous comments - I double checked with the model developers and here's the correction. Vanilla PTQ means no fancy quantization algorithm like SpinQuant, AWQ, et…

  6. comment
    Comment #41947037

    You can estimate context length impact by doing back of the envelope calculations on KV cache size: 2 * layers * attention heads * head_dim * byte_per_element * batch_size * sequen…

  7. comment
    Comment #41942599

    The issue here is memory in PyTorch is byte addressable and that's a limitation we can't solve without making a lot more changes to PyTorch. But in your specific case, if you'd lik…

  8. comment
    Comment #41942578

    Not that I know of for this study, at least for the specific scope torchao we want to make it easier for researchers to create new quantization algorithms in python and have those …

  9. comment
    Comment #41942160

    The naming is unfortunate but in this blog QLoRA is referring to Quantization-Aware Training with LoRA adaptor

  10. comment
    Comment #41942018

    My wife calls it torch AAAW

  11. comment
    Comment #41940712

    So this should be referring to w8a8 (weights and activations in 8 bit) So this is gonna be 8 bit weights, 8 bit activations, group size of 256, symmetric quantization. Not sure how…

  12. comment
    Comment #41940570

    It's particularly useful in memory bound workflows like batch size = 1 LLM inference where you're bottlenecked by how quickly you can send weights to your GPU. This is why at least…

  13. comment
    Comment #41940556

    Hi I'm Mark I work on torchao which was used for the quantization aware training and ARM kernels in this blog. If you have any questions about quantization or performance more gene…

  14. comment
    Comment #41710330

    It's a great question! Int4 is an easy one to understand. PyTorch supports int8 but not int4 so what you can do is "pack" 2 int4 values into a single int8 value. You still get spee…

  15. comment
    Comment #41710276

    we have experimental support for float4 training with the mx formats https://github.com/pytorch/ao/tree/main/torchao/prototype/mx... But that's waiting for Blackwell to be released…

  16. comment
    Comment #41710261

    yeah indeed choice of language might not be ideal, it seems like 2x language is clearest to folks? I can make some quick edits to the article

  17. comment
    Comment #41705252

    It's both! For this blog we decided to discuss our best end user facing numbers to keep things simple. We briefly hint at our contributor guide here https://github.com/pytorch/ao/i…

  18. comment
    Comment #41704323

    There's different tradeoffs, spinning up a separate repo is what we call "out of core" vs having everything in PyTorch "in core" Basically PyTorch is a large library where CI takes…

  19. comment
    Comment #41704189

    Mostly comes down to what's fastest to develop, it's faster to write a few custom kernels than it is to develop a new compiler backend Granted after more upfront effort compilers a…

  20. comment
    Comment #41704100

    There's a bunch of overhead associated with PTQ - but TL;DR is that much of that overhead goes away when you're using `torch.compile()` and `torchao.autoquant()` Essentially the la…

  21. comment
    Comment #41704077

    Most of our performance relies on leveraging torch.compile which generates Triton kernels which run fast on CPU and GPU but not MPS since Triton does not support generating Metal k…

  22. comment
    Comment #41703732

    Hi! I'm Mark from the PyTorch team at Meta and work on torchao. If you have any questions about the library or really anything at all about performance, don't hesitate to ask!

  23. story
  24. comment
    Comment #39687549

    nvtop or nvidia-smi gives you a good macro overview but I personally have found that utilization (EDIT: As reported by nvidia-smi) is actually a poor proxy for how fast your worklo…

  25. comment
    Comment #37331502

    This was a lot of fun to read, really enjoyed the journey from game design to product design to ML. One thing I was hoping to ask was how come you felt the need to procedurally gen…