Running RFdiffusion on Intel macbook pro without Nvidia GPU #66
Replies: 10 comments 6 replies
-
I think that cuda versions are only needed if you want to use NVIDIA GPUs to speed things up. I think (but have not tested) that you can simply adjust the installation scripts such that they use the CPU versions of the packages. (That is, edit SE3nv.yml to remove the |
Beta Was this translation helpful? Give feedback.
-
So, if you remove the CUDA-specific code, add code for the inference script to run on mps instead of Cuda/CPU, the script progresses. However, this is as far as I've got:
Can't seem to figure my way past this one. I have the pytorch nightly builds with MPS enabled comp. I can run many ML models, including ProteinMPNN. However, this SE3transformer seems to want NVTX model, which does not work outside of CUDA. Pretty strange. So not sure how to move forward here. |
Beta Was this translation helpful? Give feedback.
-
Removing all the nvtx_range code within the SE3transformer code and then rebuilding, (which is in a 'with' statement, and seems to be primarily for profiling GPU calls), it made it farther and now I get another error. Gonna leave it here for anyone else trying to get this working.
|
Beta Was this translation helpful? Give feedback.
-
SE3transformer was rewritten by nivida... last thing they'll want to make sure is that it works on CPU :P reverting to the original SE3transformer might help: |
Beta Was this translation helpful? Give feedback.
-
Just saw the 'intel' part. You may have a lot more luck here than my for my M1!! |
Beta Was this translation helpful? Give feedback.
-
Any updates on this since Sep 13? Trying to run RFdiffusion on M1 Max chip |
Beta Was this translation helpful? Give feedback.
-
@jadolfbr Check this fork. looks super good in testing of |
Beta Was this translation helpful? Give feedback.
-
Any updates on trying to get a CPU-only version to work? I made it as far as installing the software on my intel macbook pro and editing the cuda and nvtx-dependent code throughout the codebase to rely on CPUs. However I still get the following error:
|
Beta Was this translation helpful? Give feedback.
-
Awesome @YaoYinYing ! Will try this out! |
Beta Was this translation helpful? Give feedback.
-
Out of curiosity. Does anyone know how the performance of the CPU only version of RFdiffusion compares with the GPU enabled version? |
Beta Was this translation helpful? Give feedback.
-
Hi all,
May I check if it is possible to run the code in this repo on a Intel Macbook without Nvidia GPU? I installed Pytorch but this error keeps coming up:
I installed Pytorch like this:
I searched Nvidia's website for CUDA tookit 11.1 but it seesm like there isn't an option for Mac.
If it is possible, may I know how I can install the missing packages?
Greatly appreciate any help! Thank you!
Beta Was this translation helpful? Give feedback.
All reactions