Skip to content

Porting MPI PR to Darwin OpenMPI#2168

Open
chadbrewbaker wants to merge 1 commit into
ggml-org:masterfrom
chadbrewbaker:mpi-osx
Open

Porting MPI PR to Darwin OpenMPI#2168
chadbrewbaker wants to merge 1 commit into
ggml-org:masterfrom
chadbrewbaker:mpi-osx

Conversation

@chadbrewbaker

Copy link
Copy Markdown
Contributor

Added a few lines to get #2099 working on Darwin OpenMPI. Builds but I haven't tested.

@chadbrewbaker

Copy link
Copy Markdown
Contributor Author

Is this the correct benchmark or should I be looking at examples/babyllama?

mpirun -np 4 benchmark-matmult

@evanmiller

Copy link
Copy Markdown
Contributor

A CI target would be very welcome here

@chadbrewbaker

chadbrewbaker commented Jul 11, 2023

Copy link
Copy Markdown
Contributor Author

A CI target would be very welcome here

Agreed. AFAIK the macOS-latest GitHub runner is x86 not M1/M2.

I have a M1 Pro with 16G RAM and a M1 Air with 16G RAM to test with.

  • Check localhost MPI is giving same output for np=1, ...., np=8 for (baby llama with pinned PRNG?)
  • Add Metal acceleration
  • Test on two M1/M2s with MPI over SSH.
  • (Stretch goal) cmake build.
  • (Stretch goal) get it building under Zig. https://ziglang.org/download/

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

Successfully merging this pull request may close these issues.

2 participants