Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions deepseek-r1-aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ model_name = hf_model_id.split("/")[-1].lower()
# Hub Model configuration
hub = {
"HF_MODEL_ID": model_id,
"HF_NUM_CORES": "24",
"HF_NUM_CORES": "16",
"HF_AUTO_CAST_TYPE": "bf16",
"MAX_BATCH_SIZE": "4",
"MAX_BATCH_SIZE": "8",
"MAX_INPUT_TOKENS": "3686",
"MAX_TOTAL_TOKENS": "4096",
}
Expand Down Expand Up @@ -263,17 +263,13 @@ docker run -p 8080:80 \
--device=/dev/neuron5 \
--device=/dev/neuron6 \
--device=/dev/neuron7 \
--device=/dev/neuron8 \
--device=/dev/neuron9 \
--device=/dev/neuron10 \
--device=/dev/neuron11 \
-e HF_BATCH_SIZE=4 \
-e HF_SEQUENCE_LENGTH=4096 \
-e HF_AUTO_CAST_TYPE="bf16" \
-e HF_NUM_CORES=24 \
-e HF_NUM_CORES=16 \
ghcr.io/huggingface/neuronx-tgi:latest \
--model-id deepseek-ai/DeepSeek-R1-Distill-Llama-70B \
--max-batch-size 4 \
--max-batch-size 8 \
--max-total-tokens 4096
```

Expand Down