Skip to content

Commit 186602d

Browse files
authored
Update backends-coreml.md
1 parent a1fce54 commit 186602d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/backends-coreml.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,9 @@ embedding_config = IntxWeightOnlyConfig(
201201
weight_dtype=torch.int8,
202202
granularity=PerAxis(0),
203203
)
204-
qunatize_(
204+
quantize_(
205205
eager_model,
206+
embedding_config,
206207
lambda m, fqn: isinstance(m, torch.nn.Embedding),
207208
)
208209

0 commit comments

Comments
 (0)