Files
EnragedAntelope-comfy-modelopt/pyproject.toml
T
2026-04-26 14:04:05 -04:00

74 lines
1.9 KiB
TOML

[project]
name = "comfy-modelopt"
version = "0.6.3"
description = "NVIDIA ModelOpt integration for ComfyUI - Native quantization with real weights (INT8/FP8/MXFP8/INT4/NVFP4)"
readme = "README.md"
requires-python = ">=3.10,<3.14"
license = {text = "MIT"}
authors = [
{name = "enragedantelope"}
]
keywords = ["comfyui", "nvidia", "modelopt", "tensorrt", "quantization", "stable-diffusion", "optimization"]
dependencies = [
# PyTorch is provided by the ComfyUI environment.
# Do NOT add it here — it would conflict with ComfyUI's pinned version.
"safetensors>=0.3.0",
"accelerate>=0.20.0",
"transformers>=4.30.0",
"diffusers>=0.20.0",
]
[project.optional-dependencies]
modelopt = [
"nvidia-modelopt[all]>=0.43.0",
]
tensorrt = [
"tensorrt>=8.6.0",
]
onnx = [
"onnx>=1.14.0",
"onnxruntime>=1.15.0",
]
all = [
"nvidia-modelopt[all]>=0.43.0",
"onnx>=1.14.0",
"onnxruntime>=1.15.0",
]
dev = [
"pytest>=7.0.0",
"black>=23.0.0",
"flake8>=6.0.0",
]
[project.urls]
Homepage = "https://github.com/EnragedAntelope/comfy-modelopt"
Documentation = "https://github.com/EnragedAntelope/comfy-modelopt/blob/main/docs/TECHNICAL_GUIDE.md"
Repository = "https://github.com/EnragedAntelope/comfy-modelopt"
"Bug Tracker" = "https://github.com/EnragedAntelope/comfy-modelopt/issues"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["nodes"]
[tool.black]
line-length = 100
target-version = ['py310', 'py311', 'py312', 'py313']
[tool.comfyui]
# ComfyUI Manager metadata
display_name = "NVIDIA ModelOpt"
description = "Quantize and optimize diffusion models with NVIDIA ModelOpt (INT8/FP8/INT4/NVFP4)"
author = "enragedantelope"
"version": "0.6.3"
node_list = [
"ModelOptUNetLoader",
"ModelOptQuantizeUNet",
"ModelOptCalibrationHelper",
"ModelOptSaveQuantized"
]
install_type = "git-clone"