Open
Conversation
Errors: results and regeneration + Initial benchmark automation
zemerov
commented
Aug 2, 2024
| export PORT="$vllm_port" | ||
| export HF_CACHE="$hf_cache" | ||
|
|
||
| docker run --runtime nvidia --gpus '"device=0,1,2,3,4,5,6,7"' \ |
Collaborator
Author
There was a problem hiding this comment.
Добавить возможность задавать список device
There was a problem hiding this comment.
Вообще оставить один device (который можно задавать), так как с такими параметрами vllm использует только одну карточку
zemerov
commented
Aug 2, 2024
| clean_env "$model_type" | ||
|
|
||
| vllm_port=$(get_param_from_string "$var_values" "vllm_port") | ||
| hf_cache="/nfs/$(whoami)/hf_cache" |
Collaborator
Author
There was a problem hiding this comment.
Можно вынести директорию к кэшем куда-нибудь наверх, чтобы можно было руками её прописать
zemerov
commented
Aug 2, 2024
| turns = [] | ||
| for j in range(len(question["turns"])): | ||
| conv.append({"role": "user", "content": question["turns"][j]["content"]}) | ||
| if api_type == "anthropic": |
Collaborator
Author
There was a problem hiding this comment.
Вернуть api_type для антропиков, добавить расчет токенов для этого типа апи
zemerov
commented
Aug 2, 2024
| @@ -0,0 +1,143 @@ | |||
| # -*- coding: utf-8 -*- | |||
| import sys | |||
| import yaml | |||
Collaborator
Author
There was a problem hiding this comment.
Добавить pyyaml в requirements.txt
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.