Skip to content

Commit

Permalink
Debug model_args concat
Browse files Browse the repository at this point in the history
  • Loading branch information
afierka-intel committed Oct 26, 2024
1 parent ce6a87a commit c3e9d9f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .jenkins/lm-eval-harness/test_lm_eval_correctness.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ def launch_lm_eval(eval_config, is_fp8=False):
f"trust_remote_code={trust_remote_code}"
print(f"MODEL_ARGS: {model_args}\tTYPE: {type(model_args)}")
if is_fp8:
model_args += ",quantization=inc," \
"kv_cache_dtype=fp8_inc,", \
tmp_args = ",quantization=inc," \
"kv_cache_dtype=fp8_inc," \
"weights_load_device=cpu"
print(f"TMP_ARGS: {tmp_args}\tTYPE: {type(tmp_args)}")
model_args += tmp_args
print(f"FP8_MODEL_ARGS: {model_args}\tTYPE: {type(model_args)}")
kwargs = {}
if 'fewshot_as_multiturn' in eval_config:
Expand Down

0 comments on commit c3e9d9f

Please sign in to comment.