-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Building with MKL fails on OSX #9828
Comments
@TaoLv @ashokei, please take look this compatibility issue. @marcoabreu I see there is NO OSX build and test in Jenkin. |
This is planned and we're currently in the ordering process for Mac Pros.
Unfortunately, Apple does not cooperate with Nvidia at the moment and thus
no computers with Nvidia GPUs are available. My plan is to either drop GPU
support on Mac or installing the GPU manually.
If we go for the GPU solution, this will mean that the setup is not
scalable and thus would run during nightly instead of during PRs. If we
decide to drop GPU, we could look for cloud solutions since we would only
need an Intel CPU.
Am 20.02.2018 2:07 vorm. schrieb "PatricZhao" <[email protected]>:
… @TaoLv <https://github.com/taolv> @ashokei <https://github.com/ashokei>,
please take look this compatibility issue.
@marcoabreu <https://github.com/marcoabreu> I see there is *NO* OSX build
and test in Jenkin.
It will be risk w/o build and testing.
Is it possible to set up an OSX environment for CI process?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9828 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARxB63TnC4K3NOZv7GJsnwnmW_8sIeizks5tWhrQgaJpZM4SK0rI>
.
|
I just spoke to @KellenSunderland and he pointed out that our Clang-Job in CI should have caught this error. Problem there being that we have been using OpenBLAS https://github.com/apache/incubator-mxnet/blob/master/Jenkinsfile#L235 instead of MKLDNN. We could create another job that uses MKLDNN instead. A OSX environment for CI would only be necessary if we would like to do runtime tests or run on Apple BLAS. Experience has shown that most Mac failures are caught by using Clang as compiler, thus reducing the urgency for actual Mac tests. |
@marcoabreu
|
Exactly, this is what we are considering. But on the other hand I'm afraid
that we don't have many (if any) people running MXNet on a GPU using a
Macintosh, so it might not be necessary to support that hardware
combination at all.
Am 20.02.2018 9:59 nachm. schrieb "Devran Ünal" <[email protected]>:
… @marcoabreu <https://github.com/marcoabreu>
Not sure, if I follow, but if it's the case, that you need a macOS +
NVIDIA GPU, then you have one of those options to get the desired
configuration:
- A Mac with Thunderbolt 3 (MacBook Pro, iMac, iMac Pro) + eGPU (with
NVIDIA GPU)
- A Mac with Thunderbolt 2 (Mac mini, Mac Pro, MacBook Air) + eGPU
(with NVIDIA GPU)
- PC (Hackintosh) with NVIDIA GPU
- Or of course, as you mentioned, an old Mac Pro (the cheese grater
model, prior the trash can)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9828 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARxB66BjjD2Wq3cCm2Fwx6og-hj-q49Pks5tWzHIgaJpZM4SK0rI>
.
|
I would, if it worked together with Turi Create (https://github.com/apple/turicreate) :) It would make so much sense, since you get perfect usable ML-Core files for Xcode with Turi Create - on the same machine with the same OS. Well, at least in theory. For now, I have to boot to Ubuntu, create my model, save it somewhere, boot macOS, test in Xcode, boot Ubuntu to make some changes, save ... and boot macOS, ... And Apple announced support for eGPUs with High Sierra at WWDC last year. Please let me know, if I can help / test out something. |
@marcoabreu regarding MKL-DNN, it's nice to create a new Clang-Job with MKL blas. |
Update: This bug is fixed in MKL-DNN and the patch will be ready in the official branch soon. |
@sbodenstein You can manually update mkldnn submodule to the newest one and then build again. |
@sbodenstein Please update your mkldnn to the latest version to see if the compilation issue is addressed. If so, we will submit a seperated PR to update mkldnn version in mxnet. Thanks. |
@marcoabreu could you help close this issue? The fix has been merged and Clang-MKLDNN tests are enabled. |
Description
When building MXNet on OSX with the flag
USE_MKLDNN=1
in theconfig.m
file, I get a build failure.Environment info (Required)
Build info (Required if built from source)
MXNet commit hash:
f33591f37da73965e50446704d6b1a73331df2c0
Error Message:
The text was updated successfully, but these errors were encountered: