Skip to content
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

[Bug/issue] Can training not be done on a MacBook Pro? #43

Open
figure317 opened this issue Apr 26, 2024 · 2 comments
Open

[Bug/issue] Can training not be done on a MacBook Pro? #43

figure317 opened this issue Apr 26, 2024 · 2 comments

Comments

@figure317
Copy link

figure317 commented Apr 26, 2024

I plan to conduct experiments using a MacBook Pro equipped with an M2 Pro and an Apple GPU. There are issues with CUDA, seemingly due to the quaternion library. Do you have any solutions or recommendations for resolving this?

스크린샷 2024-04-26 오후 2 21 13
@gengshan-y
Copy link
Contributor

Hi, did you run the last step in get started? Screenshot from 2024-04-27 19-53-23

Probably you want to manually install the quaternion library

cd lab4d/third_party/quaternion && pip install .

When doing so, you want to preappend CUDA_HOME=path-to-conda/envs/lab4d/ to the pip command

@gengshan-y
Copy link
Contributor

You might also want to check whether cudatoolkit-dev is installed

(ppr-diffphys) gengshany@dl:~/code/ppr-diffphys$ conda list cudatoolkit-dev
# packages in environment at /home/gengshany/miniconda3/envs/ppr-diffphys:
#
# Name                    Version                   Build  Channel
cudatoolkit-dev           11.7.0               h1de0b5d_6    conda-forge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants