Commit 6e5ae42
Update ComfyUI to v0.7.0 with PyTorch optimizations (#16)
* feat: Update ComfyUI to v0.7.0 with latest dependencies
- ComfyUI: 0.6.0 → 0.7.0 (released 2025-12-31)
- Frontend package: 1.34.9 → 1.37.1
- Manager: 4.0.2 → 4.0.4
- Workflow templates: 0.7.59 → 0.7.65
- Workflow templates core: 0.3.43 → 0.3.65
- Workflow templates media API: 0.3.22 → 0.3.34
- Workflow templates media video: 0.3.19 → 0.3.22
- Workflow templates media image: 0.3.36 → 0.3.47
- Workflow templates media other: 0.3.47 → 0.3.63
- KJNodes: 2025-12-21 → 2025-12-28
- WanVideoWrapper: 2025-12-24 → 2025-12-31
* fix: Add ultralytics and improve ComfyUI-Manager package handling
- Add ultralytics for Impact Subpack's UltralyticsDetectorProvider node
- Create PEP 405 compliant venv structure for mutable package installs
- Add version constraints to prevent Manager from overriding vendored packages
- Set UV_CONSTRAINT alongside PIP_CONSTRAINT for uv compatibility
* fix: Update to latest nixpkgs and fix compatibility issues
- Update nixpkgs from April 2025 to December 2025
- Migrate from legacy darwin.apple_sdk.frameworks.Metal to apple-sdk_14
- Disable failing imageio test_process_termination (exit code 6 vs 2)
* fix: Increase file descriptor limit for aiohttp/grpc DNS resolver
The nixpkgs update brought aiohttp 3.13.2 which uses grpc/c-ares for
async DNS resolution. This consumes significantly more file descriptors
per connection. Combined with ComfyUI-Manager's concurrent HTTP requests
during startup, this exhausts the default macOS limit of 256 FDs.
Add ulimit -n 10240 to the launcher to prevent "Too many open files"
errors on both macOS and Linux.
* fix: Filter Rust build artifacts from Cachix push
Skip Cargo.lock, Cargo.toml, and .cargo-checksum.json files when
pushing build dependencies. These intermediate files cause upload
retries and aren't useful for cache consumers who pull pre-built
packages.
* fix: Add allowUnsupportedSystem for nixpkgs badPlatforms workaround
Work around nixpkgs-unstable issues where certain packages are marked
in meta.badPlatforms even though they work:
- cudnn 9.13.0 for CUDA 12.8 on x86_64-linux
- kornia-rs on aarch64-linux
Added allowUnsupportedSystem = true to:
- mkCudaPkgs helper (CUDA builds)
- pkgsLinuxX86 (x86_64 Docker images)
- pkgsLinuxArm64 (aarch64 Docker images)
See: NixOS/nixpkgs#458799
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: Disable cuda_compat on x86_64-linux to fix CUDA build
cuda_compat is only available for aarch64-linux (Jetson devices) but was
incorrectly being pulled into the dependency tree on x86_64-linux builds.
This adds an overlay to set cuda_compat = null on x86_64-linux systems,
preventing the build failure "variable $src or $srcs should point to source".
Combined with allowUnsupportedSystem for the cudnn badPlatforms workaround,
CUDA builds now work correctly on x86_64-linux.
See: NixOS/nixpkgs#458799
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat: Use pre-built PyTorch CUDA wheels to avoid OOM during builds
Switch from compiling PyTorch from source to using pre-built wheels
from pytorch.org for CUDA builds. This provides:
- Fast builds (~2GB download vs hours of compilation)
- Low memory usage (no 30-60GB RAM requirement)
- All GPU architectures (Pascal through Hopper) in one package
- CUDA 12.4 runtime bundled in wheels
Also removes architecture-specific packages (cuda-sm61, etc.) since
the wheel-based approach supports all architectures universally.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: Use PyTorch 2.5.1 on macOS to fix MPS crash on macOS 26
PyTorch 2.9.x in nixpkgs has MPS bugs on macOS 26 (Tahoe) that cause
trace trap crashes during SDXL inference. Pin to 2.5.1 pre-built
wheels from pytorch.org for macOS Apple Silicon.
- Add darwinArm64 wheel pins in nix/versions.nix
- Add macOS-specific torch/torchvision/torchaudio overrides
- Exclude kornia on macOS (Cargo build issues unrelated to torch)
Fixes: pytorch/pytorch#167679
* fix: Address PR review feedback
- Use exact version pinning (==) for vendored packages instead of >=
- Add comment explaining kornia exclusion on macOS with issue reference
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: Exclude kornia on aarch64-linux due to badPlatforms
- kornia-rs has aarch64-linux in badPlatforms, causing CI failures
- Also improve Cachix filter regex to be more defensive
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: Remove obsolete cudaArch/cudaCapabilities from NixOS module
The wheel-based CUDA approach supports all GPU architectures in a single
package, so architecture-specific options are no longer needed.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent b3baf8a commit 6e5ae42
File tree
11 files changed
+755
-687
lines changed- nix
- modules
- scripts
11 files changed
+755
-687
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | 21 | | |
24 | | - | |
25 | 22 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 23 | | |
33 | 24 | | |
34 | | - | |
| 25 | + | |
35 | 26 | | |
36 | 27 | | |
37 | 28 | | |
| |||
56 | 47 | | |
57 | 48 | | |
58 | 49 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 50 | + | |
64 | 51 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
77 | 56 | | |
78 | 57 | | |
79 | | - | |
80 | 58 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 59 | | |
91 | 60 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 61 | + | |
99 | 62 | | |
100 | 63 | | |
101 | 64 | | |
| |||
292 | 255 | | |
293 | 256 | | |
294 | 257 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
306 | 262 | | |
307 | 263 | | |
308 | 264 | | |
| |||
343 | 299 | | |
344 | 300 | | |
345 | 301 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
390 | 318 | | |
391 | 319 | | |
392 | 320 | | |
| |||
490 | 418 | | |
491 | 419 | | |
492 | 420 | | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | 421 | | |
510 | 422 | | |
511 | 423 | | |
| |||
524 | 436 | | |
525 | 437 | | |
526 | 438 | | |
527 | | - | |
| 439 | + | |
528 | 440 | | |
529 | 441 | | |
530 | 442 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments