Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -85,12 +85,20 @@ docker exec -it flagos bash
|
|
| 85 |
### Start the Server
|
| 86 |
|
| 87 |
```bash
|
| 88 |
-
#建议按实际卡号调整
|
| 89 |
export VLLM_PLUGINS=fl
|
| 90 |
export TRITON_ALL_BLOCKS_PARALLEL=1
|
| 91 |
export USE_FLAGGEMS=1
|
| 92 |
export HIP_VISIBLE_DEVICES=2,3
|
| 93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
```
|
| 95 |
|
| 96 |
## Service Invocation
|
|
|
|
| 85 |
### Start the Server
|
| 86 |
|
| 87 |
```bash
|
|
|
|
| 88 |
export VLLM_PLUGINS=fl
|
| 89 |
export TRITON_ALL_BLOCKS_PARALLEL=1
|
| 90 |
export USE_FLAGGEMS=1
|
| 91 |
export HIP_VISIBLE_DEVICES=2,3
|
| 92 |
+
|
| 93 |
+
ulimit -n 2048 && nohup env VLLM_FL_FLAGOS_WHITELIST="arange_start,lt,where_self_out,argmax,zeros_like,bitwise_or_tensor,scatter,rsub_scalar,ones,cumsum,bitwise_and_tensor,resolve_neg,lt_scalar,sum_dim,add,diff,index,le,masked_fill,where_self,bitwise_not,gather,mul,zero_,nonzero,resolve_conj,cumsum_out,gt_scalar,softmax_out,softmax" vllm serve \
|
| 94 |
+
--model /data/Kimi-Linear-48B-A3B-Instruct-hygon-FlagOS \
|
| 95 |
+
--served-model-name kimi-linear-48b-a3b-instruct-flagos \
|
| 96 |
+
--host 0.0.0.0 \
|
| 97 |
+
--port 8000 \
|
| 98 |
+
--gpu-memory-utilization 0.90 \
|
| 99 |
+
--trust-remote-code \
|
| 100 |
+
--tensor-parallel-size 2 \
|
| 101 |
+
> kimi_flagos.log 2>&1 &
|
| 102 |
```
|
| 103 |
|
| 104 |
## Service Invocation
|