4 Commits
Author SHA1 Message Date
Archerkattri b1aa628d60 wip: release readiness pass 2026-09-15 12:45:17 -04:00
Krishi Attri 0acf03d365 fix: publish registry releases only from version tags 2026-07-25 00:43:17 +00:00
Krishi Attri 7f976ff603 fix: handle lazy/GGUF flow models in HiCacheModelPatch (issue #1)
pipeline.models[key] is None at patch time for GGUF Trellis2 pipelines
(Aero-Ex/ComfyUI-Trellis2-GGUF) that lazy-load the flow DiT inside the
sampler. nn.Module.__setattr__ only routes real Modules into _modules, so
self.inner = None became a plain __dict__ attribute that nn.Module.__getattr__
never searches, and the fallback raised 'object has no attribute inner'.

- store inner via _set_inner: real Modules stay registered submodules, None/
  lazy placeholders are kept as a plain attribute; __getattr__ resolves both
- clear errors when a compute step / attribute access hits an unloaded model
- bind_inner(model) to attach the real DiT once it materializes
- _LazyPatchDict binds the model transparently when the sampler assigns it
  into pipeline.models[key] (TRELLIS repos), so the cache survives lazy load
2026-07-24 03:01:25 +00:00
Archerkattri 77c7cd5c12 ComfyUI-TRELLIS-HiCache v0.1.0: training-free HiCache acceleration for TRELLIS
Model-level forecast patch on both flow DiTs (sparse-structure + SLaT) via
hicache-pp. GPU-validated on TRELLIS-image-large/RTX 5090: interval=2 gives
2.1x at 0.59% Chamfer (near-lossless), interval=3 gives 2.5x. Handles TRELLIS'
1->0 schedule and split guidance-interval CFG (two parallel forecast states);
SLaT SparseTensor forecast on .feats with layout rebuild. 8 standalone unit
tests + an end-to-end GPU validation harness.
2026-06-11 16:45:52 +00:00