forked from intel/llm-on-ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Inference] Fix auth token and add models starcoder and llama2 (intel#39
) * add starcoder and enable llama2 * nit * nit * revert * add token * dedup * add token to from_pretrained * pass auth token to from_pretrained * nit * add auth tokens * lint * fix lint * nit * deepspeed not support starcoder * nit * remove from ci * remove direct auth token * add back ci workflow temporarily * remove from ci * add load environment and enable 2 models again * add dir * add load environment and enable 2 models again * change proxy * revert proxy * change proxy * revert proxy * remove 2 models from ci --------- Signed-off-by: Yizhong Zhang <[email protected]>
- Loading branch information
Showing
6 changed files
with
63 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
port: 8000 | ||
name: starcoder | ||
route_prefix: /starcoder | ||
cpus_per_worker: 24 | ||
gpus_per_worker: 0 | ||
deepspeed: false | ||
workers_per_group: 2 | ||
ipex: | ||
enabled: false | ||
precision: bf16 | ||
device: "cpu" | ||
model_description: | ||
model_id_or_path: bigcode/starcoder | ||
tokenizer_name_or_path: bigcode/starcoder | ||
chat_processor: ChatModelGptJ | ||
prompt: | ||
intro: '' | ||
human_id: '' | ||
bot_id: '' | ||
stop_words: [] | ||
config: | ||
use_auth_token: '' |
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