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: Antoni Baum <[email protected]>
- Loading branch information
Showing
10 changed files
with
159 additions
and
64 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
deployment_config: | ||
autoscaling_config: | ||
min_replicas: 2 | ||
initial_replicas: 2 | ||
max_replicas: 2 | ||
target_num_ongoing_requests_per_replica: 1.0 | ||
metrics_interval_s: 10.0 | ||
look_back_period_s: 30.0 | ||
smoothing_factor: 1.0 | ||
downscale_delay_s: 300.0 | ||
upscale_delay_s: 90.0 | ||
ray_actor_options: | ||
resources: | ||
accelerator_type_cpu: 0.01 | ||
model_config: | ||
model_id: OpenAssistant/falcon-40b-sft-top1-560 | ||
max_input_words: 800 | ||
initialization: | ||
s3_mirror_config: | ||
bucket_uri: s3://large-dl-models-mirror/models--OpenAssistant--falcon-40b-sft-top1-560/main-safetensors/ | ||
initializer: | ||
type: DeepSpeed | ||
dtype: float16 | ||
from_pretrained_kwargs: | ||
trust_remote_code: true | ||
use_kernel: true | ||
max_tokens: 1536 | ||
pipeline: default | ||
generation: | ||
max_batch_size: 8 | ||
generate_kwargs: | ||
do_sample: true | ||
max_new_tokens: 512 | ||
min_new_tokens: 16 | ||
temperature: 0.4 | ||
top_p: 0.9 | ||
repetition_penalty: 1.02 | ||
return_token_type_ids: false | ||
prompt_format: "<|prefix_begin|>Below are a series of dialogues between various people and an AI assistant. The AI tries to be helpful, polite, honest, sophisticated, emotionally aware, and humble-but-knowledgeable. The assistant is happy to help with almost anything, and will do its best to understand exactly what is needed. It also tries to avoid giving false or misleading information, and it caveats when it isn't entirely sure about the right answer. That said, the assistant is practical and really does its best, and doesn't let caution get too much in the way of being useful.<|prefix_end|><|prompter|>{instruction}<|endoftext|><|assistant|>" | ||
stopping_sequences: ["<|prompter|>", "<|assistant|>", "<|endoftext|>"] | ||
scaling_config: | ||
num_workers: 2 | ||
num_gpus_per_worker: 1 | ||
num_cpus_per_worker: 8 | ||
resources_per_worker: | ||
accelerator_type_a100: 0.01 |
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,47 @@ | ||
deployment_config: | ||
autoscaling_config: | ||
min_replicas: 1 | ||
initial_replicas: 1 | ||
max_replicas: 8 | ||
target_num_ongoing_requests_per_replica: 1.0 | ||
metrics_interval_s: 10.0 | ||
look_back_period_s: 30.0 | ||
smoothing_factor: 1.0 | ||
downscale_delay_s: 300.0 | ||
upscale_delay_s: 90.0 | ||
ray_actor_options: | ||
resources: | ||
accelerator_type_cpu: 0.01 | ||
model_config: | ||
model_id: OpenAssistant/falcon-7b-sft-top1-696 | ||
max_input_words: 800 | ||
initialization: | ||
s3_mirror_config: | ||
bucket_uri: s3://large-dl-models-mirror/models--OpenAssistant--falcon-7b-sft-top1-696/main-safetensors/ | ||
initializer: | ||
type: DeviceMap | ||
dtype: bfloat16 | ||
from_pretrained_kwargs: | ||
trust_remote_code: true | ||
torch_compile: | ||
backend: inductor | ||
mode: max-autotune | ||
pipeline: default | ||
generation: | ||
max_batch_size: 4 | ||
generate_kwargs: | ||
do_sample: true | ||
max_new_tokens: 512 | ||
min_new_tokens: 16 | ||
temperature: 0.4 | ||
top_p: 0.9 | ||
repetition_penalty: 1.02 | ||
return_token_type_ids: false | ||
prompt_format: "<|prefix_begin|>Below are a series of dialogues between various people and an AI assistant. The AI tries to be helpful, polite, honest, sophisticated, emotionally aware, and humble-but-knowledgeable. The assistant is happy to help with almost anything, and will do its best to understand exactly what is needed. It also tries to avoid giving false or misleading information, and it caveats when it isn't entirely sure about the right answer. That said, the assistant is practical and really does its best, and doesn't let caution get too much in the way of being useful.<|prefix_end|><|prompter|>{instruction}<|endoftext|><|assistant|>" | ||
stopping_sequences: ["<|prompter|>", "<|assistant|>", "<|endoftext|>"] | ||
scaling_config: | ||
num_workers: 1 | ||
num_gpus_per_worker: 1 | ||
num_cpus_per_worker: 8 | ||
resources_per_worker: | ||
accelerator_type_a10: 0.01 |
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