-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequirements.txt
More file actions
33 lines (28 loc) · 970 Bytes
/
requirements.txt
File metadata and controls
33 lines (28 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# TensorRT Diffusion Model Optimization Pipeline
# Core dependencies for NVIDIA T4 GPU optimization on Google Colab
#
# NOTE: On Google Colab, PyTorch 2.7.x is built against CUDA 12.6.
# torch-tensorrt must be pinned to match PyTorch version to avoid ABI mismatch.
#
# Google Colab install (PyTorch 2.7.x + CUDA 12.6):
# pip install torch-tensorrt==2.7.0 --extra-index-url https://download.pytorch.org/whl/cu128
# pip install tensorrt tensorrt-lean
# pip install nvidia-modelopt>=0.15.0
#
# For local development with CUDA 12.8+:
# pip install torch-tensorrt --extra-index-url https://download.pytorch.org/whl/cu128
# pip install tensorrt nvidia-modelopt>=0.15.0
# NVIDIA Model Optimizer for INT8 PTQ
nvidia-modelopt>=0.15.0
# Diffusion model support
diffusers>=0.25.0
transformers>=4.36.0
accelerate>=0.25.0
# Image processing
Pillow>=9.0.0
# Numerical computing
numpy>=1.26.0
# Development dependencies
pytest>=7.0
hypothesis>=6.0
pytest-benchmark>=4.0