Skip to content

Commit 90ae17c

Browse files
committed
Fix autoawq build failure by pinning to version with wheels
The nightly pipeline was failing when pip tried to build autoawq==0.2.8 from source, which requires torch to be available during the build process. With torch==2.8.0, pip's dependency resolver was selecting autoawq==0.2.8 which needs to build from source. Pinning to autoawq==0.2.9 ensures pip uses the pre-built wheel, avoiding the build-time torch dependency issue. This is cleaner than using --no-build-isolation and maintains proper build isolation. Note: autoawq is used in partition.py for AWQ quantization. Fixes: ModuleNotFoundError: No module named 'torch' during autoawq build
1 parent bfe6b3e commit 90ae17c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serving/docker/lmi-container-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ scipy==1.16.0
2323
onnx==1.19.0
2424
sentence_transformers
2525
onnxruntime-gpu==1.20.0
26-
autoawq
26+
autoawq==0.2.9
2727
tokenizers
2828
pydantic==2.11.7
2929
optimum==1.23.2

0 commit comments

Comments
 (0)