Live data from Hacker News

Hacked Nvidia 4090 GPU driver to enable P2P

github.com

121–130 of 365 posts

Re: Hacked Nvidia 4090 GPU driver to enable P2P

#121

Earlier quoted context omitted.

It doesn't sound like you gave serious thought to the arguments. The AGI doesn't need to hack robots. It has superhuman persuasion, by definition; it can "hack" (enough of) the humans to achieve its goals.

Then it's just a matter of evolution in action. And while it doesn't take a God to start evolution, it would take a God to stop it.

You might be OK with suddenly dying along with all your friends and family, but I am not even if it is "evolution in action".

Re: Hacked Nvidia 4090 GPU driver to enable P2P

#122

What does P2P mean in this context? I Googled it and it sounds like it means "peer to peer", but what does that mean in the context of a graphics card?

The correct term, and the one most people would have used in the past, is "bus mastering."

Re: Hacked Nvidia 4090 GPU driver to enable P2P

#123
post #64

Earlier quoted context omitted.

I consider the burden of proof to fall on those proclaiming AGI to be an existential threat, and so far I have not seen any convincing arguments. Maybe at some point in the future we will have many anthropomorphic robots and an AGI could hack them all and orchestrate a robot uprising, but at that point the robots would be the actual problem. Similarly, if an AGI could blow up nuclear power plants, so could well-funde…

It doesn't sound like you gave serious thought to the arguments. The AGI doesn't need to hack robots. It has superhuman persuasion, by definition; it can "hack" (enough of) the humans to achieve its goals.

AI mind control abilities are also on the level of an extraordinary claim, that requires extraordinary evidence.

It's on the level of "we better regulate wooden sticks so Voldemort doesn't use the imperious curse on us!".

That's how I treat such claims. I treat them the same as someone literally talking about magic from Harry potter.

There isn't nothing that would make me believe that. But it requires actual evidence and not thought experiments.

Re: Hacked Nvidia 4090 GPU driver to enable P2P

#124
post #96

Earlier quoted context omitted.

6 GPUs because they want fast storage and it uses PCIe lanes. Besides the goal was to run a 70b FP16 model (requiring roughly 140GB VRAM). 6*24GB = 144GB

That calculation is incorrect. You need to fit both the model (140GB) and the KV cache (5GB at 32k tokens FP8 with flash attention 2) * batch size into VRAM. If the goal is to run a FP16 70B model as fast as possible, you would want 8 GPUs with P2P, for a total of 192GB VRAM. The model is then split across all 8 GPUs with 8-way tensor parallelism, letting you make use of the full 8TB/s memory bandwidth on every itera…

I’ve got a few 4090s that I’m planning on doing this with. Would appreciate even the smallest directional tip you can provide on splitting the model that you believe is likely to work.

Re: Hacked Nvidia 4090 GPU driver to enable P2P

#125
post #3

Was it George himself, or a person working for a bounty that was set up by tinycorp? Also, a question for those knowledgeable about the PCI subsys: it looked like something NVIDIA didn't care about, rather than something they actively wanted to prevent, no?

PCI devices have always been able to read and write to the shared address space (subject to IOMMU); most frequently used for DMA to system RAM, but not limited to it.

So, poking around to configure the device to put the whole VRAM in the address space is reasonable, subject to support for resizable BAR or just having a fixed size large enough BAR. And telling one card to read/write from an address that happens to be mapped to a different card's VRAM is also reasonable.

I'd be interested to know if PCI-e switching capacity will be a bottleneck, or if it'll just be the point to point links and VRAM that bottlenecks. Saving a bounce through system RAM should help in either case though.

Re: Hacked Nvidia 4090 GPU driver to enable P2P

#126

Earlier quoted context omitted.

Then it's just a matter of evolution in action. And while it doesn't take a God to start evolution, it would take a God to stop it.

You might be OK with suddenly dying along with all your friends and family, but I am not even if it is "evolution in action".

Historically governments haven't needed computers or AI to do that. They've always managed just fine.

Punched cards helped, though, I guess...

Re: Hacked Nvidia 4090 GPU driver to enable P2P

#127
post #72
post #64

Earlier quoted context omitted.

I consider the burden of proof to fall on those proclaiming AGI to be an existential threat, and so far I have not seen any convincing arguments. Maybe at some point in the future we will have many anthropomorphic robots and an AGI could hack them all and orchestrate a robot uprising, but at that point the robots would be the actual problem. Similarly, if an AGI could blow up nuclear power plants, so could well-funde…

You say you have not seen any arguments that convince you. Is that just not having seen many arguments or having seen a lot of arguments where each chain contained some fatal flaw? Or something else?

[deleted]

Re: Hacked Nvidia 4090 GPU driver to enable P2P

#128

So assuming you utilized this with (4) x 4090s is there a theoretical comparative to performance vs the A6000 / other professional lines?

I believe this is mostly for memory capacities. PCIe access between GPUs is slower than soldered RAM on a single GPU

Re: Hacked Nvidia 4090 GPU driver to enable P2P

#129

Earlier quoted context omitted.

That calculation is incorrect. You need to fit both the model (140GB) and the KV cache (5GB at 32k tokens FP8 with flash attention 2) * batch size into VRAM. If the goal is to run a FP16 70B model as fast as possible, you would want 8 GPUs with P2P, for a total of 192GB VRAM. The model is then split across all 8 GPUs with 8-way tensor parallelism, letting you make use of the full 8TB/s memory bandwidth on every itera…

I’ve got a few 4090s that I’m planning on doing this with. Would appreciate even the smallest directional tip you can provide on splitting the model that you believe is likely to work.

The split is done automatically by the inference engine if you enable tensor parallelism. TensorRT-LLM, vLLM and aphrodite-engine can all do this out of the box. The main thing is just that you need either 4 or 8 GPUs for it to work on current models.

Re: Hacked Nvidia 4090 GPU driver to enable P2P

#130

Earlier quoted context omitted.

Is this the same guy that hacked the PS3?

Yes, but he spent several years in self-driving cars ( https://comma.ai ), which while interesting is also a space that a lot of players are in, so it's not the same as seeing him back to doing stuff that's a little more out there, especially as pertains to IP.

Did he abandon this effort? That would be pretty sad bec he was approaching the problem from a very different perspective.
Post reply on HN