-
Notifications
You must be signed in to change notification settings - Fork 1
/
mistralai--Mistral-7B-Instruct-v0.1_a10g_tp1.yaml
52 lines (52 loc) · 1.68 KB
/
mistralai--Mistral-7B-Instruct-v0.1_a10g_tp1.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
deployment_config:
autoscaling_config:
min_replicas: 1
initial_replicas: 1
max_replicas: 100
target_num_ongoing_requests_per_replica: 20
metrics_interval_s: 10.0
look_back_period_s: 30.0
smoothing_factor: 0.6
downscale_delay_s: 300.0
upscale_delay_s: 15.0
max_concurrent_queries: 64
ray_actor_options:
resources:
"accelerator_type:A10G": 0.001
engine_config:
model_id: mistralai/Mistral-7B-Instruct-v0.1
hf_model_id: mistralai/Mistral-7B-Instruct-v0.1
type: VLLMEngine
engine_kwargs:
trust_remote_code: true
max_num_batched_tokens: 16384
max_num_seqs: 64
gpu_memory_utilization: 0.95
num_tokenizer_actors: 2
enable_cuda_graph: true
# Spec decoding models currently don't support logprobs
max_log_probs: 0
spec_decode_skip_kv_regeneration: true
spec_decode_disable_by_queue_size: 16
enable_prompt_lookup: true
num_speculative_tokens: 7
max_ngram_size: 3
enable_json_logits_processors: true
max_total_tokens: 16384
generation:
prompt_format:
system: "{instruction} + "
assistant: "{instruction}</s> "
trailing_assistant: ""
user: "[INST] {system}{instruction} [/INST]"
system_in_user: true
default_system_message: "Always assist with care, respect, and truth. Respond with utmost utility yet securely. Avoid harmful, unethical, prejudiced, or negative content. Ensure replies promote fairness and positivity."
stopping_sequences: ["<unk>"]
scaling_config:
num_workers: 1
num_gpus_per_worker: 1
num_cpus_per_worker: 8
placement_strategy: "STRICT_PACK"
resources_per_worker:
"accelerator_type:A10G": 0.001
standalone_function_calling_model: true