Last active
July 26, 2024 01:40
-
-
Save mzbac/0f846e762ede4cb1b2372dc24ae4b264 to your computer and use it in GitHub Desktop.
mxl-sharding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install `pip install mlx-sharding` | |
For shard node: | |
Run `mlx-sharding-server --model mlx-community/DeepSeek-Coder-V2-Lite-Instruct-4bit-mlx --start-layer 14 --end-layer 27` | |
For primary node: | |
Run `mlx-sharding-api --model mlx-community/DeepSeek-Coder-V2-Lite-Instruct-4bit-mlx --start-layer 0 --end-layer 14 --llm-shard-addresses <your shard node address>` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment