Is CUDA on MAC really stable for now?
 
Notifications
Clear all

Is CUDA on MAC really stable for now?  

 of  2
  RSS

Mo Sha
(@mo_sha)
New Member
Joined: 2 years ago
 

Hi bros,

I am suffering a freezing issue on CUDA workloads. My GPU is 1080ti and OS ver is 10.13.3, and both GPU and CUDA drivers are up-to-date. The GPU works quite good on both OpenGL and OpenCL stress tests. And it also works well on playing World of Warcraft on Mac (it is pretty cool!)

However, it will cause freezes when CUDA applications, i.e., tensorflow or pytorch, are executed. My OS will be freezing (static display, and repeating sound) in a random time after CUDA workloads run. Typically, the time is about several hours.

I have explored quite a while about such issue. I noticed that there are a lot of guys are facing similar failures when they use CUDA on Mac. The applications are of wide kinds, such as Image/Video editing (Adobe kit or others) and deep learning tasks. However, I can also find many posts mention that the authors can use CUDA very well on Mac.

 
I was wondering whether there are some guys here can confirm that you can use CUDA completely stable with a high-pressure workload. Is any deep learning guy here are using tensorflow with Cuda on Mac on your egpu or even Hackintosh?
 
Thanks!

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
Chippy McChipset
(@chippy-mcchipset)
Reputable Member
Joined: 3 years ago
 

Literally no NVIDIA setup on Apple eGPU is stable. Each new set of web drivers is an "adventure," where they might be stable (no crashing) but very slow, or perform well but crash often. Or you could have a driver that's working reasonably well and is stable, and as soon as you change the OS version, it stops working. That's the general use driver and CUDA drivers AFAIK. 

Until Apple starts building in some support for NVIDIA via eGPU (i.e. building Thunderbolt-aware drivers and bundling them into the OS) things will probably remain this way.

Thunderbolt 3 Macs, Sonnet and OWC eGPUs, 4K Displays, etc


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 3 years ago
 

Well,
on the contrary, I often use CUDA and never had problems:
MXNet, Mathematica, Matlab, blender...

fr34k's macOS-eGPU.sh on GitHub or on eGPU.io

2016 15'' MacBook Pro + GTX1080Ti@32Gbps-TB3 (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
Mo Sha
(@mo_sha)
New Member
Joined: 2 years ago
 
Posted by: fr34k

Well,
on the contrary, I often use CUDA and never had problems:
MXNet, Mathematica, Matlab, blender...

Thanks for your reply. Can you share some details like os, gpu driver, and cuda driver version?

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
psonice
(@psonice)
Estimable Member
Joined: 3 years ago
 

10.3.3, Nvidia driver 387.10.10.10.25.161, CUDA 9.0 (driver 387.128) working fine for me. Use it for Tensorflow.

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 3 years ago
 

You may want to take a look into my signature 😆

fr34k's macOS-eGPU.sh on GitHub or on eGPU.io

2016 15'' MacBook Pro + GTX1080Ti@32Gbps-TB3 (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


itsage liked
ReplyQuote
Mo Sha
(@mo_sha)
New Member
Joined: 2 years ago
 

May I double check that if your task will keep executing over days. My OS will be freezing after 10+ hours.

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
psonice
(@psonice)
Estimable Member
Joined: 3 years ago
 

I've not had anything that needed to run that long (if it gets slow I tend to optimise it to hell instead of waiting - makes for far better productivity I find.)

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
Chippy McChipset
(@chippy-mcchipset)
Reputable Member
Joined: 3 years ago
 
Posted by: fr34k

Well,
on the contrary, I often use CUDA and never had problems:
MXNet, Mathematica, Matlab, blender...

You mean your setup remains stable as you change driver built and/or OS build numbers?

Thunderbolt 3 Macs, Sonnet and OWC eGPUs, 4K Displays, etc


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 3 years ago
 

@mo_sha
@chippy-mcchipset
Well I'm in it since .1 and had renders running for 48hrs (yes one pic!), NN training for 7d straight (other stuff too but not as long) and never had any problems with any versions (.1≥X≥.3).

fr34k's macOS-eGPU.sh on GitHub or on eGPU.io

2016 15'' MacBook Pro + GTX1080Ti@32Gbps-TB3 (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
 of  2