You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
petals/src/petals/cli
Alexander Borzunov 26ebbfe8f0
Support macOS (#477)
This PR makes both clients and servers work on macOS. Specifically, it:

- Follows https://github.com/learning-at-home/hivemind/pull/586 to run a macOS-compatible `p2pd` binary (both x86-64 and ARM64 are supported)
- Fixes forking issues and tests on macOS, Python 3.10+
- Introduces basic support for serving model blocks on Apple M1/M2 GPUs (torch.mps)
- Increases max number of open files by default (it's not enough on Linux and is really small on macOS)
10 months ago
..
__init__.py Make Petals a pip-installable package (attempt 2) (#102) 2 years ago
run_dht.py Test Llama, rebalancing, throughput eval, and all CLI scripts (#452) 10 months ago
run_prod_server.sh Make server use smart defaults (#115) 2 years ago
run_server.py Support macOS (#477) 10 months ago