News for hackers. Stuff that matters.
Re:Tinygrad: Hacked 4090 driver to enable P2P by andersa on Friday April 12, 2024 @03:57PM (#40017012)
That is very interesting if tinygrad can support it! Every other library I've seen had the limitation on dividing the heads, so I'd (perhaps incorrectly) assumed that it's a general problem for inference.
Re:Tinygrad: Hacked 4090 driver to enable P2P by spmurrayzzz on Saturday April 13, 2024 @12:10PM (#40024066)
There are some interesting hacks you can do like replicating the K/V weights by some factor which allows them to be evenly divisible by whatever number of gpus you have. Obviously there is a memory cost there, but it does work.
Re:Tinygrad: Hacked 4090 driver to enable P2P by Emerson1 on Saturday April 27, 2024 @03:42AM (#40178101)
how could you go about testing this on say llama3 70b with two 4090s - vllm supports tensor parallelism, would the expectation be that inference would be faster with p2p? How would you update the nvidia driver tho? Thanks any thought appreciated