Skip to content

Commit b56f4e5

Browse files
authored
Fix qnn wheel package build (#15054)
As title
1 parent 7efe09c commit b56f4e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.ci/scripts/test_wheel_package_qnn.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,12 @@ PY
158158

159159
# Install torchao based on the pinned PyTorch version
160160
"$PIPBIN" install torch=="${TORCH_VERSION}.${NIGHTLY_VERSION}" --index-url "https://download.pytorch.org/whl/nightly/cpu"
161+
"$PIPBIN" install wheel
161162

162163
# Install torchao based on the pinned commit from third-party/ao submodule
163164
pushd "$REPO_ROOT/third-party/ao" > /dev/null
164-
USE_CPP=0 "$PYBIN" setup.py develop
165+
export USE_CPP=0
166+
"$PIPBIN" install . --no-build-isolation
165167
popd > /dev/null
166168

167169
echo "=== [$LABEL] Import smoke tests ==="

0 commit comments

Comments
 (0)