Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
pitt-liang committed Oct 21, 2024
1 parent 5c3d0e0 commit db6e229
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/integration/test_model/test_model_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,11 @@ def test_custom_args(self):
job.algorithm_spec.code_dir.location_value.bucket,
session.oss_bucket.bucket_name,
)

def test_compression(self):
model = RegisteredModel(model_name="qwen2-0.5b-instruct", model_provider="pai")
compress_recipe = model.model_recipe(
recipe_type=ModelRecipeType.COMPRESSION,
method='Quantization:MinMax-8Bit'
recipe_type=ModelRecipeType.COMPRESSION, method="Quantization:MinMax-8Bit"
)
compress_recipe.run()
self.assertIsNotNone(compress_recipe.latest_job.output_path())

0 comments on commit db6e229

Please sign in to comment.