-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add final evaluation #84
Conversation
5b9f7f2
to
832f13a
Compare
832f13a
to
8122f5b
Compare
adaf720
to
891f726
Compare
updated_lines.append(new_line) | ||
|
||
if changed: | ||
with open(file_path, "w", encoding="utf-8") as file: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MichaelClifford the "utf-8" to fix the check_printable
error, 🙏
55dfafd
to
64c9224
Compare
bc44932
to
6aa2b1b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few nits. Haven't test run the code though. 🙂
eval/final/components.py
Outdated
if gpu_count > 0: | ||
command = [ | ||
sys.executable, | ||
"-m", | ||
"vllm.entrypoints.openai.api_server", | ||
"--model", | ||
model_path, | ||
"--tensor-parallel-size", | ||
str(gpu_count), | ||
] | ||
else: | ||
command = [ | ||
sys.executable, | ||
"-m", | ||
"vllm.entrypoints.openai.api_server", | ||
"--model", | ||
model_path, | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit, making this less repetitive
if gpu_count > 0: | |
command = [ | |
sys.executable, | |
"-m", | |
"vllm.entrypoints.openai.api_server", | |
"--model", | |
model_path, | |
"--tensor-parallel-size", | |
str(gpu_count), | |
] | |
else: | |
command = [ | |
sys.executable, | |
"-m", | |
"vllm.entrypoints.openai.api_server", | |
"--model", | |
model_path, | |
] | |
command = [ | |
sys.executable, | |
"-m", | |
"vllm.entrypoints.openai.api_server", | |
"--model", | |
model_path, | |
] | |
if gpu_count > 0: | |
command += [ | |
"--tensor-parallel-size", | |
str(gpu_count), | |
] |
Signed-off-by: Sébastien Han <[email protected]>
Signed-off-by: Michael Clifford <[email protected]>
Signed-off-by: sallyom <[email protected]>
It used to be `/data/generated`. Signed-off-by: Sébastien Han <[email protected]>
The shell from the python executor will interpret the content of the backtick. Signed-off-by: Sébastien Han <[email protected]>
Signed-off-by: Sébastien Han <[email protected]>
- do not print final eval scores in logs - use the correct model location for final push - fix job/cr watch - add progress bar for download/upload - add a few globale variables for eval steps - handle the case where pods are removed but the job exists Signed-off-by: Sébastien Han <[email protected]>
THe functions from the helper are embedded into the components themselves. So they are left unused now. Signed-off-by: Sébastien Han <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
8ff3780 feat: add final evaluation
113078c wip:final eval
fd52c08 update sdg generated line in knowledge-yaml
fc7067b fix typo on task generate
339ae90 fix: do not use backticks
5e74166 fix: add final details to push model to S3
a28d739 bulk: mt-bench eval, final eval and trained model push to S3
0885fa5 chore: remove helpers directory
commit 8ff3780
Author: Sébastien Han [email protected]
Date: Thu Oct 10 17:39:25 2024 +0200
commit 113078c
Author: Michael Clifford [email protected]
Date: Thu Oct 10 20:04:04 2024 -0400
commit fd52c08
Author: sallyom [email protected]
Date: Fri Oct 11 13:21:38 2024 -0400
commit fc7067b
Author: Sébastien Han [email protected]
Date: Mon Oct 14 09:40:50 2024 +0200
commit 339ae90
Author: Sébastien Han [email protected]
Date: Mon Oct 14 09:41:33 2024 +0200
commit 5e74166
Author: Sébastien Han [email protected]
Date: Mon Oct 14 09:43:24 2024 +0200
commit a28d739
Author: Sébastien Han [email protected]
Date: Mon Oct 14 23:00:15 2024 +0200
commit 0885fa5
Author: Sébastien Han [email protected]
Date: Tue Oct 15 17:12:32 2024 +0200