File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,25 @@ conda run -p "$TEMP_ENV_DIR/env" pip install "$WHEEL_FILE"
100100conda run -p " $TEMP_ENV_DIR /env" pip install torch==" 2.9.0.dev20250801" --index-url " https://download.pytorch.org/whl/nightly/cpu"
101101conda run -p " $TEMP_ENV_DIR /env" pip install --pre torchao --index-url " https://download.pytorch.org/whl/nightly/cpu"
102102
103+ # ----------------------------
104+ # Check .so files in the wheel
105+ # ----------------------------
106+ echo " Checking for .so files inside the wheel..."
107+ WHEEL_SO_FILES=$( unzip -l " $WHEEL_FILE " | awk ' {print $4}' | grep " executorch/backends/qualcomm/python" || true)
108+ if [ -z " $WHEEL_SO_FILES " ]; then
109+ echo " WARNING: No .so files found in wheel under executorch/backends/qualcomm/python"
110+ else
111+ echo " Wheel contains the following .so files:"
112+ echo " $WHEEL_SO_FILES "
113+ fi
114+
115+ # ----------------------------
116+ # Check installed .so files in conda env
117+ # ----------------------------
118+ echo " Checking installed executorch/backends/qualcomm/python contents in conda env..."
119+ ENV_SO_DIR=" $TEMP_ENV_DIR /env/lib/python3.10/site-packages/executorch/backends/qualcomm/python"
120+ ls -l " $ENV_SO_DIR " || echo " Folder does not exist!"
121+
103122# Run import tests
104123conda run -p " $TEMP_ENV_DIR /env" python -c " import executorch; print('executorch imported successfully')"
105124conda run -p " $TEMP_ENV_DIR /env" python -c " import executorch.backends.qualcomm; print('executorch.backends.qualcomm imported successfully')"
You can’t perform that action at this time.
0 commit comments