-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fixing reproducibility of lmeval tests #1220
base: main
Are you sure you want to change the base?
Conversation
👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review. Note: This is required to complete the testing suite, please only add the label once the PR is code complete and local testing has been performed. |
87dcc4c
to
1f2ce00
Compare
Signed-off-by: Brian Dellabetta <bdellabe@redhat.com>
Signed-off-by: Brian Dellabetta <bdellabe@redhat.com>
Signed-off-by: Brian Dellabetta <bdellabe@redhat.com>
3429cc7
to
b91cd7b
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.
GG!
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.
rebase?
Signed-off-by: Brian Dellabetta <bdellabe@redhat.com>
2d2e220
b91cd7b
to
2d2e220
Compare
"compressed-tensors" | ||
if version_info.build_type == "release" | ||
else "compressed-tensors-nightly", | ||
"pillow", |
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.
Can we make this a dev dependency rather than a base dependency?
@@ -2,6 +2,7 @@ cadence: weekly | |||
model: Qwen/Qwen2-VL-2B-Instruct | |||
model_class: TraceableQwen2VLForConditionalGeneration | |||
scheme: FP8_DYNAMIC | |||
seed: 42 #compressed model is sensitive to random seed |
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
seed: 42 #compressed model is sensitive to random seed | |
seed: 42 # compressed model is sensitive to random seed |
@@ -73,6 +75,12 @@ def set_up(self): | |||
self.quant_type = eval_config.get("quant_type") | |||
self.save_dir = eval_config.get("save_dir") | |||
|
|||
seed = eval_config.get("seed", None) | |||
if seed is not None: |
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: use from transformers import set_seed
https://github.com/huggingface/transformers/blob/94ae1ba5b55e79ba766582de8a199d8ccf24a021/src/transformers/trainer_utils.py#L92
SUMMARY:
LM Eval weekly tests are failing, this resolves two issues
TEST PLAN:
no new src code