Install & Compatibility
Where this runs
tested against v0.4.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
py 3.9
✕ build_error
✕ build_error
103MB installed
● package 103MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ComfyEnvConfig
✓ from comfy_env import ComfyEnvConfig
✗ from comfy_env import ComfyEnvManager
CUDAEnvironment
✓ from comfy_env import CUDAEnvironment
SubprocessWorker
✓ from comfy_env import SubprocessWorker
Basic usage: resolve CUDA wheel and use process isolation.
from comfy_env import ComfyEnvManager, isolation_context
# Resolve CUDA wheel for current environment
manager = ComfyEnvManager()
wheel_path = manager.resolve_cuda_wheel()
print(f"Resolved wheel: {wheel_path}")
# Run code in isolated subprocess
with isolation_context():
# Your isolated code here
pass
comfy-env --version
Upgrade
Version history
0.4.1latest on PyPI · released May 19, 2026
Audit
Dependencies
torchoptionalCUDA wheel resolution requires torch to detect CUDA version