Unverified Commit fc004d4d authored by jthomson04's avatar jthomson04 Committed by GitHub
Browse files

fix: Fix TRT-LLM container build when using a custom pip wheel (#1825)

parent 3c6fc6fd
...@@ -424,13 +424,15 @@ else ...@@ -424,13 +424,15 @@ else
fi fi
fi fi
cd "$NIXL_DIR" || exit pushd "$NIXL_DIR" || exit
if ! git checkout ${NIXL_COMMIT}; then if ! git checkout ${NIXL_COMMIT}; then
echo "ERROR: Failed to checkout NIXL commit ${NIXL_COMMIT}. The cached directory may be out of date." echo "ERROR: Failed to checkout NIXL commit ${NIXL_COMMIT}. The cached directory may be out of date."
echo "Please delete $NIXL_DIR and re-run the build script." echo "Please delete $NIXL_DIR and re-run the build script."
exit 1 exit 1
fi fi
popd
BUILD_CONTEXT_ARG+=" --build-context nixl=$NIXL_DIR" BUILD_CONTEXT_ARG+=" --build-context nixl=$NIXL_DIR"
# Add NIXL_COMMIT as a build argument to enable caching # Add NIXL_COMMIT as a build argument to enable caching
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment