Skip to content

Commit de2bd23

Browse files
committed
docs: note C++ compiler requirement in changelog fragment
The vendored kmeans1d is JIT-compiled via torch.utils.cpp_extension, which needs a C++ toolchain on the host at runtime; previously this requirement rode in transitively via the coremltools wheel, so it's worth calling out now that coremltools is optional.
1 parent c88f1c9 commit de2bd23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

changelog.d/31.changed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Replace the coremltools-based 1D k-means used by palettization with a vendored C++ core (copied byte-for-byte from coremltools) that is JIT-compiled at runtime via `torch.utils.cpp_extension`. `coremltools` is no longer a runtime dependency (it is now an optional dependency, installable via the `coreml` extra).
1+
Replace the coremltools-based 1D k-means used by palettization with a vendored C++ core (copied byte-for-byte from coremltools) that is JIT-compiled at runtime via `torch.utils.cpp_extension`. `coremltools` is no longer a runtime dependency (it is now an optional dependency, installable via the `coreml` extra). This requires a C++ compiler to be available on the host at runtime.

0 commit comments

Comments
 (0)