-
Notifications
You must be signed in to change notification settings - Fork 22.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About 2 minor bug fixes on CUDA macOSX 10.13.6 #46803
Comments
@osalpekar I tried to figure out how to submit a minor merge for the bug. Anyway, submit patch here. |
@llv22 would you mind opening a pull request for your patch? |
By the way, CUDA on OS X is an unsupported configuration (we're happy to take your fixes, but we won't be testing these continuously) |
@ezyang actually I tried with create new branch from master and can't push this branch to torch to create pull request. Is it caused by some missing rights? or we can have another process to make pull request ready? |
Make a fork of PyTorch, and then push your branch to that fork and then open a PR from that branch |
🐛 Bug
During building pytorch 1.7 on macOSX 10.13.6, cuda 10.1(update2), Xcode 10.1(clang 1000.11.45.5), I found the following two bugs and adjusted code accordingly on my local mac. Just update information to you in case that you need to fix as well.
To Reproduce
Using "MAGMA_HOME="/usr/local/lib/magma-cu101" MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ USE_OPENMP=OFF USE_FBGEMM=OFF python setup.py bdist_wheel" to build pytorch on 1.7 branch
Steps to reproduce the behavior:
"ModuleNotFoundError: No module named 'peachpy.x86_64.avx’"
My code changes
https://github.com/pytorch/pytorch/blob/master/cmake/External/nnpack.cmake#51, add following codes:
https://github.com/pytorch/pytorch/blob/master/torch/csrc/jit/codegen/cuda/kernel_cache.cpp#L48
int64_t refers to third_party/eigen/Eigen/src/Core/util/Meta.h
Environment
conda
,pip
, source): sourcecc @malfet @seemethere @walterddr @ngimel
The text was updated successfully, but these errors were encountered: