Skip to content

Commit 3399f8f

Browse files
committed
Relax onnxruntime requirement for conversion (huggingface#12)
1 parent a65808b commit 3399f8f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

scripts/convert.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ def quantize(models_name_or_path, model_type):
142142
model_output=model,
143143
per_channel=True,
144144
reduce_range=True, # should be the same as per_channel
145-
activation_type=QuantType.QUInt8,
146145

147146
weight_type=weight_type,
148147
optimize_model=False,

scripts/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
torch
22
transformers
33
optimum[onnxruntime]>=1.7.1
4-
onnxruntime==1.10.0
4+
onnxruntime
55
tqdm

0 commit comments

Comments
 (0)