402 points · by harshgupta · 8y ago · 192 comments
There's also an eGPU subreddit and I wrote a sticky on U series chips, PCIe lanes and Thunderbolt 3 https://www.reddit.com/r/eGPU/comments/7vb0gg/u_series_chips... which is more interesting for PCs than Mac.
What I'd like to see is a Mac with a nice big fat Nvidia GPU. Why can't I buy a Mac with a 1080 ti? My suspicion is that Apple wants to get into the GPU game themselves, and bring some of the expertise from their mobile GPU team to laptops and desktops.
That'd be great, if they actually released something competitive. So far, they haven't, and Mac users, who would love to pay for better technology, are left out in the cold as a result.
My suspicion is that they barely even want GPUs, which they seem to see as annoying sources of heat and noise, getting in the way of their ultimate vision of an imac so thin you could use it as a kitchen knife.
(I wish I were kidding about this, but I am not.)
https://developer.apple.com/metal/
https://techcrunch.com/2017/09/12/the-new-iphone-8-has-a-cus...
(I wish I were kidding about this, but I am not.)
Ok... so we had a bunch of the new MBPs at work and kept having keyboard issues (like 50% of the team complained about the keyboards and had keys that stuck within the first 3 months). I brought one machine in to the Apple Store and was scolded for eating while using the computer. "Hey Guys, I'm sorry that humans weren't in your target audience focus groups -- the new butterfly keys are amazing!" Wasn't even my machine... just doing a favor for a friend. Ugh.
Or is this a misunderstanding on my part
The fail0verflow guys bridged PCI-E over a 115200 baud UART and it still worked.
Eh, desktop and mobile GPUs are radically different beasts. My thought is that since they write their own drivers, and they obviously don't have the resources they once had in the MacOS team (see all of the crap High Sierra went through), they simply can't support more than a few SKUs.
They said the upcoming Mac Pro will be "modular", which I think is a clear sign it will have external GPUs, or certainly will lean heavily in the direction of encouraging users with a heavy GPU workload in that direction.
And they seem to generally "dislike" putting discrete GPUs in laptops, going all the way back to the Titanium G4 days.
Much of Apple's own discussions on the eGPU feature at WWDC/the marketing blurb for their own eGPU devkit refer to VR a lot too. Apple added VR support to Final Cut Pro at roughly the same time as well.
> And they seem to generally "dislike" putting discrete GPUs in laptops, going all the way back to the Titanium G4 days.
Not so sure I'd agree with this - every single Titanium PowerBook model ever made had a discrete GPU. Even the iBooks had dedicated GPUs. It wasn't until the adoption of Intel processors that integrated GPUs was even an option for Apple really.
As well as ML development, which is a pain w/o a local CUDA-compliant GPU. Yes, you could do it on the cloud, but sometimes it is easier to do ad-hoc stuff locally without having to spin up GPU machines and remember to spin them down.
I use OS X for all software development except CUDA at the moment. This is huge.
Because it is. High end AR/VR is exclusively DirectX Wintel 64 based. There's pretty much no exception except for the toy implementation of things like Samsung Gear. Google abandoned Tango, and Daydream is on life support. Apple's ecosystem will remain irrelevant until they release their own hardware.
https://www.pcper.com/reviews/Graphics-Cards/External-Graphi...
If, by "worried", you mean: they went out of their way to smite and thrash the organic core of their customer base, ignored their most basic requests, and deleted five years from their product lifecycle (nobody used the trashcan mac pro) ... then yes, I suppose they might be worried.
Maybe they noticed how many copies of High Sierra are running on firmware-modded 2009/2010 mac pros ?
At this point, I'm just waiting on an updated MacBook Pro 15in (ready to buy in again, but too far into the current MBP product cycle. Might as well wait it out) and that Sonnet box and calling it a day.
Against everything I hold right and proper, I installed Windows 10 with Boot Camp. I only ever got the external display to work once, and couldn't repeat it.
I wound up just moving the RX580 to my aging PC as an upgrade.
I REALLY want to live in this world, but it's going to take natively-developed games to get there. But hey, they're coming. I'm buying them, and, often, not even playing them; just trying to send the message.
Developers have been starting to leave the platform because there aren't any MBPs that can be used to create VR content. While I agree that they will likely release something, their hand was also forced here.
For those devices, even current hardware is good enough. It is no point being able to produce VR with a level of detail that an iPhone is not able to cope with.
“Development of ArchiCAD started in 1982 for the original Apple Macintosh.”
Developers have also been leaving the platform because they can’t buy a Mac laptop with physical function keys without making other performance sacrifices.
The Tibook g4 had a discrete GPU. Not having one wasn't even an option until Intel's integrated doodads got good enough.
Does iOS show any signs of supporting external GPUs?
"As part of doing a new Mac Pro — it is, by definition, a modular system — we will be doing a pro display as well. Now you won’t see any of those products this year [2017]; we’re in the process of that. We think it’s really important to create something great for our pro customers who want a Mac Pro modular system, and that’ll take longer than this year to do."
Ever since hwtools (supplier of expresscard/mini pcie breakout boards) said they were not allowed to release a thunderbolt version, it was clear to me that this generation, the dma-exposing peripheral interface was finally meant for external graphics processing. And who, oh who could be the prime customer?
... Who seems to have the slowest product pipeline in the world, blocking technology adoption for years?
Not too many candidates :)
Seems to be limited to AMD GPUs at this time.
eGPUs are supported on MacBook Pro notebooks released in 2016 and later1, iMac computers introduced in 2017 and later, and iMac Pro.
2010, 2012, 2013 + 2014 MacBook Pro’s to name a few instances
Meanwhile, the past few generations of graphics gear in Apple computers has been a pretty wide range of AMD stuff. Vega, Polaris, FirePro have all been represented in the last 5 or so years. All they had to do was modify the driver to be able to read from the TB3 PCIe device rather than just an internal one.
[0]: https://appleinsider.com/articles/18/03/14/thunderbolt-thund...
I would checkout: https://egpu.io/forums/mac-setup/wip-nvidia-egpu-support-for...
A lot of people have put in a lot of work to make it as easy as possible to setup. I would just make sure you setup things one at a time and don't immediately jump to trying to get TF or pytorch to work after installing the drivers/ following any sort of guide. Verify your Cuda installation first by building the sample programs and running them. (see http://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x...)
Other than that maybe checkout: https://gist.github.com/jganzabal/8e59e3b0f59642dd0b5f2e4de0... https://gist.github.com/smitshilu/53cf9ff0fd6cdb64cca69a7e28...
The main thing is just getting the GPU drivers setup, after that installing tensorflow requires some modifications to the source (relatively trivial find and replace), and I don't think you have to do anything special for the latest version of pytorch.
Other tips:
1. Make sure you're using a thunderbolt 3 cable with whatever egpu you have, other cables will not work even if they're usb c. (USB 3.1 != Thunderbolt 3 != USB C) Read about the differences.
2. I would recommend the AKITO Node enclosure as it seems like most people use it and the community is really small already so if you aren't it might be more difficult to debug issues, but I wouldn't say you couldn't use something else.
3. You'll want to have a docker container that has the CPU version of tensorflow/whatever so you can use that when you don't have the GPU readily available as tensorflow won't work if you installed it with GPU support and your GPU isn't there.
4. If you're trying to use Nvidia-Docker I'm not sure if anyone has gotten that to work on mac because device binding isn't supported on mac for docker. You might be able to get this to work by modifying the docker VM but I'm not sure.
Now they seem to be realizing they're losing that segment of the market to PC side of things, and that people in that segment are often thought leaders. If content creators have PCs, content usually ends up working the best on a PC.
Note: As of version 1.2, TensorFlow no longer provides GPU support on macOS.
Will eGPU support help change that?
Although, it is possible to compile TensorFlow from source with CUDA support for macOS. You have to make a few tweaks to the source code and symlink some libraries.
It doesn't let you hot plug your eGPU into your computer (you have to restart for it to work) but for officially supported eGPUs you're now able to do that.
I've trained various models using a Titan XP and it's so awesome to be able to maintain the portability of your laptop and still get all of that power. A large benefit is also not having to move training data around between servers and other machines if you have it on an external drive or just on your laptop.
After you get everything up and running there isn't that much maintenance or anything you have to do regularly to keep it working. The speedup is incredible and it was definitely worth it for me personally, however it's not a walk in the park to get it set up initially.
There are beta NVIDIA drivers (http://www.nvidia.com/download/driverResults.aspx/131833/en-...) for macOS, but your mileage will vary.
The reason for that is Apple hasn't shipped a iMac/MacBook Pro with an NVIDIA card in years, which is especially annoying for DL work.
What is a good GPU for a budget for someone that just wants to experiment with GPU's like OpenCL or some machine or deep learning?
If I didn't have a budget what would a better card be? :-)
AMD got the following models (mid-range, kinda high-end): RX 540-580 and Rx Vega 56 and 64. The RX580 got an MSRP of around $200, but you can only get them for $400+. Same problem for the other models.
Nvidia got the following ones (mid-range, high-end): GTX 1050-1080 and Ti models meaning a boost in power. You might be able to pick up a GTX 1060 for $200-300 which is still more than the $200 MSRP, but that's what you can get.
So the main thing that would worry me is to have a monitor that is capable, far longer than the GPU that’s integrated within it. Like a inverse Mac Pro - where currently the internals are sound for the majority of use cases - with the exception of the GPUs which are quite poor performers at that price point.
Now we seem to be in pretty good shape to accomplish such a solution - the technologies are there with thunderbolt 3 offering enough performance now to accommodate a high end GPU with not too much performance loss.
Edit: 1.0.13.4 is not a version of macOS.
Here is a nice comparison of the eGPU enclosures available today: https://egpu.io/external-gpu-buyers-guide-2018/
My personal recommendations are the Akitio Node Standard/Pro or Sonnet Breakaway Box 350/550/650. These companies are reputable companies in the Thunderbolt hardware realm.
Note that I am not affiliated with any of the companies mentioned above.
However, as seen here [1], people have managed to use other GPU cases, with NVidia cards.
https://egpu.io/forums/mac-setup/pcie-slot-dgpu-vs-thunderbo...