-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
Description of problem:
The auto-round 0.9.5 package has multiple issues. The package seems to be used by model-opt (llmcompressor):
- the sdist contains shared libraries for Linux x86_64
- wheel build does not rebuild the shared libraries. Our downstream wheels ship the upstream binaries.
- the wheel claims to be a purelib wheel (py3-none-any), but it should be a platlib wheel.
Version numbers (base image, wheels, builder, etc):
auto-round 0.9.2 (newer versions are affected, too)
Steps to Reproduce:
wget https://files.pythonhosted.org/packages/93/d9/31771716f0fd331059c05dd9d81a6c033728521af2e574b21eaa81ad7cb0/auto_round-0.9.2.tar.gz wget https://console.redhat.com/api/pulp-content/public-rhai/rhoai/3.3/cuda12.9-ubi9/auto_round-0.9.2-8-py3-none-any.whl#sha256=da901abef194a1256e01a5bbed34e13697ea0c57ce484e93af72af6232aa 48ad unzip auto_round-0.9.2-8-py3-none-any.whl tar xf auto_round-0.9.2.tar.gz
Actual results:
$ tar tf auto_round-0.9.2.tar.gz | grep '\.so' auto_round-0.9.2/auto_round/alg_ext.abi3.so auto_round-0.9.2/auto_round/auto_scheme/default_alg.abi3.so $ find -name '*.so' | xargs sha512sum 651434441289f4d2a0e17230253a5355dfb39250a34f31868f29016b0f4d1758e2eea9d06909ecbfb885b48ad552477b6896c7dbee43b62e4d6ce3f15f0126d7 ./auto_round/alg_ext.abi3.so 9519c4dbc46acc93bb4fbb7b78e3a7f3213f2686cb0d18c49472d4f6fc227ac68e65c1c202c68250a3a3d69d8f354aa0b94f701cf1178301a648e3ff2c0b8bf5 ./auto_round/auto_scheme/default_alg.abi3.so 651434441289f4d2a0e17230253a5355dfb39250a34f31868f29016b0f4d1758e2eea9d06909ecbfb885b48ad552477b6896c7dbee43b62e4d6ce3f15f0126d7 ./auto_round-0.9.2/auto_round/alg_ext.abi3.so 9519c4dbc46acc93bb4fbb7b78e3a7f3213f2686cb0d18c49472d4f6fc227ac68e65c1c202c68250a3a3d69d8f354aa0b94f701cf1178301a648e3ff2c0b8bf5 ./auto_round-0.9.2/auto_round/auto_scheme/default_alg.abi3.so
Expected results:
- sdist must not contain shared libraries
- wheel build process must compile the shared libraries at build time
- the package must be a platlib package, e.g. "cp312-abi3-linux_x86_64"
Additional info: