Clarify legacy requirements_cu12.txt usage and improve installation documentation

This commit is contained in:
huchukato
2026-02-21 09:16:45 +01:00
parent 3cdf12ab66
commit 24d5aa80af
2 changed files with 12 additions and 17 deletions
+3 -15
View File
@@ -66,28 +66,16 @@ install.bat
python install.py
```
**Manual requirements:**
**Manual requirements files:**
```bash
# For CUDA 13 (RTX 50 series)
pip install -r requirements.txt
# For CUDA 12 (RTX 30/40 series)
# For CUDA 12 (RTX 30/40 series) - LEGACY METHOD
pip install -r requirements_cu12.txt
```
### ⚠️ CUDA Version Selection
This node defaults to **CUDA 13** (RTX 50 series, driver 580+).
**For CUDA 12 (RTX 30/40 series):**
```bash
pip install -r requirements_cu12.txt
```
**For CUDA 13 (Default):**
```bash
pip install -r requirements.txt
```
> **💡 Note:** The `requirements_cu12.txt` is provided as a legacy fallback method. The automatic installation is strongly recommended as it handles CUDA detection and package installation seamlessly.
### 📦 CUDA Toolkit Required
+9 -2
View File
@@ -1,5 +1,12 @@
# Legacy: CUDA 12 (RTX 30/40 series, CUDA 12.x)
# For CUDA 13, use requirements.txt instead
# LEGACY: Manual installation for CUDA 12 (RTX 30/40 series, CUDA 12.x)
#
# NOTE: This file is provided for manual installation only.
# The recommended method is to use the automatic installation:
# - Clone the repo and restart ComfyUI (auto-detects CUDA and installs appropriate packages)
# - Or run: python install.py
#
# For CUDA 13, the node will auto-install tensorrt_cu13 packages
# For CUDA 12, the node will auto-install these tensorrt-cu12 packages
tensorrt-cu12==10.13.3.9
tensorrt-cu12-libs==10.13.3.9
tensorrt-cu12-bindings==10.13.3.9