mirror of
https://github.com/mudler/LocalAI.git
synced 2026-01-22 13:22:03 -05:00
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
|
||||
|
||||
# Copy CUDA target directory for runtime compilation support
|
||||
if [ -d "/usr/local/cuda/targets" ]; then
|
||||
mkdir -p "$TARGET_LIB_DIR/../cuda"
|
||||
cp -arfL /usr/local/cuda/targets "$TARGET_LIB_DIR/../cuda/" 2>/dev/null || true
|
||||
fi
|
||||
# if [ -d "/usr/local/cuda/targets" ]; then
|
||||
# mkdir -p "$TARGET_LIB_DIR/../cuda"
|
||||
# cp -arfL /usr/local/cuda/targets "$TARGET_LIB_DIR/../cuda/" 2>/dev/null || true
|
||||
# fi
|
||||
|
||||
echo "CUDA libraries packaged successfully"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user