Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoin committed Jul 18, 2024
1 parent b4f830d commit af8f5a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auto_fp8/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def quantize(self, dataset: Optional[Dataset] = None):
model=self.model,
dataset=dataset,
recipe=recipe,
num_calibration_samples=dataset.shape[0],
)

def save_quantized(self, save_directory: str):
Expand Down

0 comments on commit af8f5a0

Please sign in to comment.