-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
LLAMA_METAL=1 and LLAMA_MPI=1 incompatible? #2166
Comments
The original PR was not designed to work with both, but this would be a great addition. Probably we should have a compile-time message that you need to choose one or the other. |
Would it be possible to have a cli switch that toggled between the 2? |
Actually I fixed that with the last commit before merging The problem in OP is that the way the Makefile is currently written is wrong. Once you use the flags in a command, they cannot be modified, so all commands have to be at the end. Will need some work to fix this In any case, you can simply use |
Fixes ggerganov#2166 by moving commands after the CFLAGS are changed.
Fixes #2166 by moving commands after the CFLAGS are changed.
"Each process will use roughly an equal amount of RAM", is there any way to specify ratio of split ram? I have two mac one is 32gb and another is 16gb, wanna test on 65B model which requires about 40gb. @ggerganov |
You can try to launch 2 nodes on the 32GB mac and one node on the 16GB mac |
Fixes ggerganov/llama.cpp#2166 by moving commands after the CFLAGS are changed.
When following the instructions for MPI (#2099) I get a build error.
If I run make again it finishes and produces a functional main that is capable of mpi. But the resulting binary claims it wasn't built with GPU support so it ignores
--n-gpu-layers
. Example:I tried to figure this out but I'm not that great with make (and gcc and etc). If I build with either LLAMA_METAL or LLAMA_MPI it works. It's when they're both together that it errors out.
I'm on macOS 13 and the latest commit (5656d10). I've got mpich installed with homebrew.
The text was updated successfully, but these errors were encountered: