chore(backends): do not bundle cuda target directory (#7982)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
committed by
GitHub
parent
3d12d5e70d
commit
271cc79709
@@ -148,10 +148,10 @@ package_cuda_libs() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Copy CUDA target directory for runtime compilation support
|
# Copy CUDA target directory for runtime compilation support
|
||||||
if [ -d "/usr/local/cuda/targets" ]; then
|
# if [ -d "/usr/local/cuda/targets" ]; then
|
||||||
mkdir -p "$TARGET_LIB_DIR/../cuda"
|
# mkdir -p "$TARGET_LIB_DIR/../cuda"
|
||||||
cp -arfL /usr/local/cuda/targets "$TARGET_LIB_DIR/../cuda/" 2>/dev/null || true
|
# cp -arfL /usr/local/cuda/targets "$TARGET_LIB_DIR/../cuda/" 2>/dev/null || true
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
echo "CUDA libraries packaged successfully"
|
echo "CUDA libraries packaged successfully"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user