8 ms·
Is there any Docker alternative on Mac that can utilize the MPS device in a container? ML stuff is many times slower in a container on my Mac than running outsi
by yeldarb 2y ago
Is there any Docker alternative on Mac that can utilize the MPS device in a container? ML stuff is many times slower in a container on my Mac than running outside
- habitue 2y agoThe issue you're running into is that to run docker on mac, you have to run it in a vm. Docker is fundamentally a linux technology, so first emulate x86_64 linux, then run the container. That's going to be slow. There are native macos containers, but they arent very popular
- AbuAssar 2y agoDocker can run ARM64 linux kernel, no need to emulate x86
- majormajor 2y agoYou still pay the VM penalty, though it's a lot less bad than it used to be. And the Arm MacBooks are fast enough that IME they generally compare well against Intel Linux laptops even then now. But it sounds like first-class GPU access (not too surprisingly) isn't there yet.
- fl0id 2y agoPodman-Desktop can do it