←back to thread

548 points nsagent | 1 comments | | HN request time: 0s | source
Show context
MuffinFlavored ◴[] No.44566235[source]
Is this for Mac's with NVIDIA cards in them or Apple Metal/Apple Silicon speaking CUDA?... I can't really tell.

Edit: looks like it's "write once, use everywhere". Write MLX, run it on Linux CUDA, and Apple Silicon/Metal.

replies(4): >>44566248 #>>44566337 #>>44566338 #>>44566984 #
MBCook ◴[] No.44566337[source]
Seems you already found the answer.

I’ll note Apple hasn’t shipped an Nvidia card in a very very long time. Even on the Mac pros before Apple Silicon they only ever sold AMD cards.

My understanding from rumors is that they had a falling out over the problems with the dual GPU MacBook Pros and the quality of drivers.

I have no idea if sticking one in on the PCI bus let you use it for AI stuff though.

replies(3): >>44566465 #>>44566488 #>>44567041 #
kmeisthax ◴[] No.44566465[source]
On Apple Silicon, writing to memory on a PCIe / Thunderbolt device will generate an exception. ARM spec says you're allowed to write to devices as if they were memory but Apple enforces that all writes to external devices go through a device memory mapping[0]. This makes using an external GPU on Apple Silicon[1] way more of a pain in the ass, if not impossible. AFAIK nobody's managed to write an eGPU driver for Apple Silicon, even with Asahi.

[0] https://developer.arm.com/documentation/102376/0200/Device-m...

[1] Raspberry Pi 4's PCIe has the same problem AFAIK

replies(2): >>44566723 #>>44567278 #
1. saagarjha ◴[] No.44567278{3}[source]
Writing to device memory does not generate an exception.