Skip to content

Commit

Permalink
Fix text-generation test
Browse files Browse the repository at this point in the history
  • Loading branch information
regisss committed May 7, 2024
1 parent ed927ff commit 7953cce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_text_generation_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def _test_text_generation(
env_variables["QUANT_CONFIG"] = os.path.join(
path_to_example_dir, "text-generation/quantization_config/maxabs_measure_include_outputs.json"
)
command = [x for y in command for x in re.split(pattern, y) if x]
subprocess.run(command, env=env_variables)
env_variables["QUANT_CONFIG"] = os.path.join(
path_to_example_dir, "text-generation/quantization_config/maxabs_quant.json"
Expand Down

0 comments on commit 7953cce

Please sign in to comment.