5 comments

  • Zagitta55 minutes ago
    Hey this is my work, although the exploits etc aren&#x27;t my ideas by any means. This is just a way to wrap the whole thing up in a much less annoying package than having to patch the nvidia driver. I originally got inspired by the CMP90&#x2F;50 windows unlocks that run as standalone UEFI modules that chainloads into the OS.<p>Happy to answer questions!
    • aunty_helen39 minutes ago
      Thanks so much. 27b is a favourite model and last night my dev ran some benchmarks to achieve 133tks about 3.2x which changes the economics.
    • jacquesm46 minutes ago
      Super well done, I wished all mods took your approach. Patched drivers are a nuisance, especially if you have more than one kind of card. Thank you.<p>edit: now do the 4090 ;)
      • Zagitta39 minutes ago
        Yeah I hate the patched drivers too, I have a CMP170 as well I want to see if I can find a way to get fully working the same way without or minimal driver patching.<p>4000s is WIP, forks has already unlocked it but I&#x27;m doing some refactoring to better support different families and after that I&#x27;ll port it over :-)
        • jacquesm28 minutes ago
          Can&#x27;t wait, I have two 48G modded ada 4090&#x27;s and 4 stock Blackwell 4000&#x27;s (though I doubt those will be as easy). The 4090&#x27;s alone would be an amazing thing to have boosted, they&#x27;re my main workhorses and effectively any improvement there will immediately make my days more productive. If I can help out with testing, my email is in my profile.
          • Zagitta12 minutes ago
            Blackwell and hopper have a whole new boot process so those are unlikely to fall over anytime soon from what I&#x27;ve seen.<p>If you can&#x27;t wait for 4090 someone has a fork with a seemingly working unlock :D
            • jacquesm3 minutes ago
              Yes, but it&#x27;s pinned to a driver version that I unfortunately can not use. That&#x27;s precisely why I love your solution, it is the best way to do this.<p>I&#x27;m running 8 GPUs in a single box and that driver is a pretty essential part of getting this to work with P2P between as many cards as possible. The modded 4090 is a problem because the BAR1 it advertises (32G) is smaller than the VRAM so not all software is able to use it (you need two memory segments rather than a single 48G one to make this work). That driver is part of the solution for this problem.
  • jacquesm1 hour ago
    This one is real, but there are some caveats:<p>- you will need to run your card hotter than you might be comfortable with<p>- the real pay-off (on some cards, apparently, see downthread) requires increasing the maximum power to 450W<p>- This is well above what the stock cooler was designed for so a bit more cooling would help<p>What&#x27;s nice is that you can stack this mod on top of (or rather, below of, this one loads first) the p2p mod that has been out for a while, they don&#x27;t seem to interfere with each other.
    • Zagitta41 minutes ago
      It&#x27;s quite nuanced. In a nutshell the unlock just flips the 2 bits that halves how often the core can issue the specific instructions Nvidia locks to full rate on the professional and datacenter cards.<p>Obviously doing more compute requires more power but what it does is shift the card down on the frequency curve to keep the wattage in check. So you&#x27;re right that at stock power limits it hits a cap where the full issuing rate isn&#x27;t reached but it depends heavily on the exact workload how much juice is left.<p>The frequency curve also takes heat into account so in general you end up with a nice perf boost for a slightly hotter card.<p>I&#x27;ve been running this on my 2 3090s for a month now with no issues but they are also water cooled :-)
      • jacquesm30 minutes ago
        Ah, that&#x27;s a twist I didn&#x27;t see coming, all my GPUs are aircooled. I can see how with watercooling you&#x27;d be able to get more performance out of the GPU before hitting the limits.
    • Tiberium1 hour ago
      &gt; - you will need to run your card hotter than you might be comfortable with<p>Can you explain this one? On my GPU I didn&#x27;t have to change the power limit. Obviously the card might spend more time at max power usage, but it&#x27;s still within the limit.
      • jacquesm1 hour ago
        If you increase the power limit on the card you will be able to get much more mileage out of this modification. At 450W the difference is much, much larger but that is not something I&#x27;m comfortable with doing for longer runs. Note that the stock settings are already pretty extreme for that cooler, and that ambient temp and free airflow are going to be impacting the resulting GPU temp in a very direct way. I have my 3090&#x27;s in an external box (with its own separate PCIe backplane) so they can talk p2p and have &#x27;fresh air&#x27; rather than in the enclosure.
        • unsnap_biceps18 minutes ago
          Is your external box something you put together or is it a product you purchased?
        • Tiberium1 hour ago
          Yes, but you can get up to a 40-50% increase in some workloads even with the same power limit, and some cards have it locked anyway. I just felt like it was a litle misleading for you to mention the power in your original post, since the unlock works regardless of that.
          • jacquesm1 hour ago
            Interesting, I have 7 3090&#x27;s here of different plumage and they all require a power increase to get &gt; 25% gain with this modification, would you mind sharing the type of card you have and how it is cooled?<p>Obviously, if there are 3090&#x27;s out there that respond differently then I will be happy to retract that.
    • augment_me1 hour ago
      These number claim 240W locked power draw on 4070:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;JustAResearcher&#x2F;gpu-unlock-ada&#x2F;releases&#x2F;tag&#x2F;v1.1.1" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JustAResearcher&#x2F;gpu-unlock-ada&#x2F;releases&#x2F;t...</a>
      • jacquesm1 hour ago
        This is about the 30&#x27; series in principle, I don&#x27;t have a 4070 here to test with (I do have a couple of modded 4090&#x27;s) but I suspect that at 240W you are not getting the maximum out of that card. At the same time: that is probably pretty close to optimal in terms of tokens&#x2F;W.
  • Tiberium5 hours ago
    I&#x27;ve tested myself and the results are legit, this is incredible, even if a little risky (it relies on exploiting firmware): <a href="https:&#x2F;&#x2F;github.com&#x2F;Zagitta&#x2F;gpu-unlock&#x2F;blob&#x2F;main&#x2F;docs&#x2F;How%20Ampere%20was%20unlocked.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Zagitta&#x2F;gpu-unlock&#x2F;blob&#x2F;main&#x2F;docs&#x2F;How%20A...</a><p>&gt; Unfortunately for Nvidia the booter is vulnerable to a classic buffer overflow that writes straight into the stack which gives us the ability to execute code via Return Oriented Programming (ROP).<p>Repo for RTX 4090 and 4070 Ti Super: <a href="https:&#x2F;&#x2F;github.com&#x2F;JustAResearcher&#x2F;gpu-unlock-ada" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JustAResearcher&#x2F;gpu-unlock-ada</a>
    • jacquesm25 minutes ago
      Those work but don&#x27;t play nice with other such mods, in contrast to TFA. They require a pinned version of the driver.
  • Scene_Cast21 hour ago
    Really interesting.<p>On the other hand, this only applies to a limited set of workloads (training is often memory bandwidth bound for example).<p>I also wonder how this affects power consumption.
    • kingstnap1 hour ago
      Training is compute bound.<p>If its memory bandwidth bound you need to raise your batch sizes to leverage more parallelism.
    • Zagitta48 minutes ago
      It&#x27;s also useful for prefill in inference, VLLM sees up to 30% boost depending on the exact kernels and prefill size
  • superkuh1 hour ago
    Uh, no. This headline is wrong. It&#x27;s FP32 unlocked from being halved, not 16 bit ops. And to be clear, over the last week I&#x27;ve looked many places and I&#x27;ve not seen <i>any</i> reports of this unlock being applied to any 3xxx card except the 3090&#x2F;3090ti series. Even if it might apply more generally in <i>theory</i>.
    • Zagitta1 hour ago
      It&#x27;s the FP&#x2F;BF16 FMA to FP32 instructions.<p>And also it does work on most 3000 series cards as they all run the same GA102 booter that&#x27;s vulnerable :-) There are some reports of cards with weird vbios layouts having issues but i&#x27;ll try to get that fixed
    • augment_me1 hour ago
      The repo has fp16 numbers.<p>Also this one for 4070s shows that its for fp8 as well:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;JustAResearcher&#x2F;gpu-unlock-ada&#x2F;releases&#x2F;tag&#x2F;v1.1.1" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JustAResearcher&#x2F;gpu-unlock-ada&#x2F;releases&#x2F;t...</a>
      • Tuna-Fish1 minute ago
        it&#x27;s the widening (for example: fp16 * fp16 = fp32) instructions, which are useful on some loads.
    • Tiberium1 hour ago
      The repo has a lot of reports of people applying it to other 3xxx card, see <a href="https:&#x2F;&#x2F;github.com&#x2F;Zagitta&#x2F;gpu-unlock&#x2F;issues" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Zagitta&#x2F;gpu-unlock&#x2F;issues</a><p>There&#x27;s at least 3080 Ti, 3070 Ti, 3070, 3060