This repository has been archived by the owner on May 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sihan Wang <[email protected]> Co-authored-by: shrekris-anyscale <[email protected]>
- Loading branch information
1 parent
ca95107
commit cbf88c2
Showing
75 changed files
with
3,096 additions
and
764 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
41 changes: 41 additions & 0 deletions
41
models/continuous_batching/mistralai--Mixtral-8-7b-Instruct-v01.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
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: 192 | ||
ray_actor_options: | ||
resources: | ||
accelerator_type_a100_80g_aws: 0.1 | ||
engine_config: | ||
model_id: mistralai/Mixtral-8x7B-Instruct-v0.1 | ||
hf_model_id: mistralai/Mixtral-8x7B-Instruct-v0.1 | ||
type: VLLMEngine | ||
engine_kwargs: | ||
trust_remote_code: true | ||
max_num_batched_tokens: 32768 | ||
max_num_seqs: 192 | ||
gpu_memory_utilization: 0.78 | ||
max_total_tokens: 32768 | ||
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: [] | ||
scaling_config: | ||
num_workers: 8 | ||
num_gpus_per_worker: 1 | ||
num_cpus_per_worker: 8 | ||
placement_strategy: "STRICT_PACK" | ||
resources_per_worker: | ||
accelerator_type_a100_80g_aws: 0.1 |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
39 changes: 39 additions & 0 deletions
39
models/continuous_batching/trtllm-meta-llama--Llama-2-70b-chat-hf.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
deployment_config: | ||
autoscaling_config: | ||
min_replicas: 1 | ||
initial_replicas: 1 | ||
max_replicas: 8 | ||
target_num_ongoing_requests_per_replica: 24 | ||
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_a10: 0.01 | ||
engine_config: | ||
model_id: meta-llama/Llama-2-70b-chat-hf | ||
type: TRTLLMEngine | ||
s3_mirror_config: | ||
bucket_uri: s3://trtllm-models/llama2-70b-tp2/ # Change to your own model s3 path | ||
# If you want to test with local file path, you can comment out s3_mirror_config section | ||
# and add following | ||
# model_local_path: <your local path> | ||
generation: | ||
prompt_format: | ||
system: "<<SYS>>\n{instruction}\n<</SYS>>\n\n" | ||
assistant: " {instruction} </s><s>" | ||
trailing_assistant: "" | ||
user: "[INST] {system}{instruction} [/INST]" | ||
system_in_user: true | ||
default_system_message: "" | ||
stopping_sequences: ["<unk>"] | ||
scaling_config: | ||
num_workers: 8 #mpi size | ||
num_gpus_per_worker: 1 | ||
num_cpus_per_worker: 8 | ||
placement_strategy: "STRICT_PACK" | ||
resources_per_worker: | ||
accelerator_type_a10: 0.01 |
39 changes: 39 additions & 0 deletions
39
models/continuous_batching/trtllm-meta-llama--Llama-2-7b-chat-hf.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
deployment_config: | ||
autoscaling_config: | ||
min_replicas: 1 | ||
initial_replicas: 1 | ||
max_replicas: 8 | ||
target_num_ongoing_requests_per_replica: 24 | ||
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_a10: 0.01 | ||
engine_config: | ||
model_id: meta-llama/Llama-2-7b-chat-hf | ||
type: TRTLLMEngine | ||
s3_mirror_config: | ||
bucket_uri: s3://trtllm-models/llama2-7b-tp2/ # Change to your own model s3 path | ||
# If you want to test with local file path, you can comment out s3_mirror_config section | ||
# and add following | ||
# model_local_path: <your local path> | ||
generation: | ||
prompt_format: | ||
system: "<<SYS>>\n{instruction}\n<</SYS>>\n\n" | ||
assistant: " {instruction} </s><s>" | ||
trailing_assistant: "" | ||
user: "[INST] {system}{instruction} [/INST]" | ||
system_in_user: true | ||
default_system_message: "" | ||
stopping_sequences: ["<unk>"] | ||
scaling_config: | ||
num_workers: 2 #mpi size | ||
num_gpus_per_worker: 1 | ||
num_cpus_per_worker: 8 | ||
placement_strategy: "STRICT_PACK" | ||
resources_per_worker: | ||
accelerator_type_a10: 0.01 |
Oops, something went wrong.