Skip to content

Commit

Permalink
[neo] Fix calib_size dtype bug (deepjavalibrary#2397)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ys committed Sep 18, 2024
1 parent 70d6bdd commit f8831a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serving/docker/partition/partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def autofp8_quantize(self):
# If using dynamic activation scales, a calibration dataset is not required
examples = []
else:
calib_size = self.properties.get("option.calib_size", 512)
calib_size = int(self.properties.get("option.calib_size", 512))
# Tokenize dataset for calibrating static activation scales
ds = load_dataset("abisee/cnn_dailymail",
"3.0.0",
Expand Down

0 comments on commit f8831a5

Please sign in to comment.