Add requirements_cu13.txt and update install.sh for proper CUDA 13 fallback support

This commit is contained in:
huchukato
2026-02-27 09:29:11 +01:00
parent d79c94d934
commit aef3576a58
4 changed files with 20 additions and 1 deletions
Vendored
BIN
View File
Binary file not shown.
+2
View File
@@ -43,6 +43,8 @@ if [ "$CUDA_MAJOR" = "13" ]; then
echo "🚀 Installing CUDA 13 requirements (RTX 50 series)"
echo "📦 Installing base dependencies + CUDA 13 TensorRT..."
pip install -r requirements.txt
echo "📦 Installing CUDA 13 specific TensorRT packages..."
pip install -r requirements_cu13.txt
elif [ "$CUDA_MAJOR" = "12" ]; then
echo "🔧 Installing CUDA 12 requirements (RTX 30/40 series)"
echo "📦 Installing base dependencies + CUDA 12 TensorRT..."
+1 -1
View File
@@ -18,4 +18,4 @@ tqdm
#
# Manual installation files are provided for reference only:
# - requirements_cu12.txt (CUDA 12 specific)
# - requirements_cu13.txt (CUDA 13 specific, if needed in future)
# - requirements_cu13.txt (CUDA 13 specific)
+17
View File
@@ -0,0 +1,17 @@
# CUDA 13 specific packages (RTX 50 series, CUDA 13.x)
#
# NOTE: This file is for REFERENCE ONLY - manual installation
# The recommended method is AUTO-INSTALLATION via the node:
# - Just install requirements.txt and restart ComfyUI
# - The node will auto-detect CUDA and install TensorRT automatically
#
# Use this file ONLY if auto-installation fails or for manual setup
#
# Installation order for MANUAL setup only:
# 1. pip install -r requirements.txt (base dependencies)
# 2. pip install -r requirements_cu13.txt (CUDA 13 specific TensorRT)
#
tensorrt_cu13==10.15.1.29
tensorrt_cu13_bindings==10.15.1.29
tensorrt_cu13_libs==10.15.1.29
cuda-toolkit>=13.0.0,<13.1.0