Skip to content

Commit

Permalink
[Inference] integrate deepseek-coder-33b-instruct. (#190)
Browse files Browse the repository at this point in the history
* Support new mode: deepseek-coder-33b-instruct.

* Update Action config for deepseek-coder-33b-instruct.

* Small fix

* Config device use lowercase letters
  • Loading branch information
yao531441 authored Apr 18, 2024
1 parent 37257e5 commit f536304
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/workflow_inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
name: inference
strategy:
matrix:
model: [ gpt-j-6b, gpt2, bloom-560m, opt-125m, mpt-7b, mistral-7b-v0.1, mpt-7b-ipex-llm, neural-chat-7b-v3-1, CodeLlama-7b-hf, falcon-7b, starcoder, llama-2-7b-chat-hf, llama-2-7b-chat-hf-vllm, gemma-2b]
model: [ gpt-j-6b, gpt2, bloom-560m, opt-125m, mpt-7b, mistral-7b-v0.1, mpt-7b-ipex-llm, neural-chat-7b-v3-1, CodeLlama-7b-hf, falcon-7b, starcoder, llama-2-7b-chat-hf, llama-2-7b-chat-hf-vllm, gemma-2b, deepseek-coder-33b-instruct]
isPR:
- ${{inputs.ci_type == 'pr'}}

Expand Down
25 changes: 25 additions & 0 deletions llm_on_ray/inference/models/deepseek-coder-33b-instruct.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
port: 8000
name: deepseek-coder-33b-instruct
route_prefix: /deepseek-coder-33b-instruct
num_replicas: 1
cpus_per_worker: 24
gpus_per_worker: 0
deepspeed: false
workers_per_group: 2
device: cpu
ipex:
enabled: false
precision: bf16
model_description:
model_id_or_path: deepseek-ai/deepseek-coder-33b-instruct
tokenizer_name_or_path: deepseek-ai/deepseek-coder-33b-instruct
chat_processor: ChatModelGptJ
prompt:
intro: ''
human_id: ''
bot_id: ''
stop_words: ['<|EOT|>', "<human>"]




0 comments on commit f536304

Please sign in to comment.