lab4d icon indicating copy to clipboard operation
lab4d copied to clipboard

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

Open figure317 opened this issue 1 year ago • 2 comments

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

figure317 avatar Apr 26 '24 05:04 figure317

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 avatar Apr 27 '24 23:04 gengshan-y

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

gengshan-y avatar Apr 28 '24 00:04 gengshan-y