Commit Graph

58 Commits

Author SHA1 Message Date
John Pollock
7d98cc1305 Fix Trellis seeded sparse batch semantics 2026-04-20 14:29:07 -05:00
John Pollock
49c1adeed6 Fix Trellis PR review regressions 2026-04-20 12:15:49 -05:00
John Pollock
c81ddf2349 Fix Trellis2 batched shape and texture semantics 2026-04-20 11:06:04 -05:00
John Pollock
9cfa8f2c01 Trellis2: inline batched mesh helpers 2026-04-19 23:47:57 -05:00
John Pollock
40219ab0fc Trellis2: share batched mesh helpers 2026-04-19 23:33:09 -05:00
John Pollock
c297a9f839 Trellis2: handle empty and batched texture paint paths 2026-04-19 23:23:24 -05:00
John Pollock
6d99b636c1 Trellis2/Hunyuan3d: preserve mesh tensor contract in batch mode 2026-04-19 22:55:38 -05:00
John Pollock
44043ee6e5 Trellis2/Hunyuan3d: n>1 batched cascade support
Mesh-producing nodes (VoxelToMeshBasic, VoxelToMesh, VaeDecodeShapeTrellis)
previously stacked per-batch vertex/face tensors with torch.stack, which
failed under batch>1 because per-item meshes have variable shapes. Store
per-item tensors as lists when shapes differ; keep stacked-tensor fast
path when shapes match. Update SaveGLB, PostProcessMesh, and
VaeDecodeTextureTrellis consumers to iterate per-item when input is a
list.

Trellis2Conditioning.execute previously collapsed batched image/mask
input to index 0, yielding identical conditioning for every batch item.
Loop over the batch and produce per-image cond_512/cond_1024/neg_cond
tensors stacked along the batch dim, matching the latent batch size.

batch_size=1 behavior is unchanged. batch_size>1 runs now emit one GLB
per batch item per SaveGLB node and carry per-image conditioning
through the structure/shape/texture cascade.
2026-04-19 22:03:53 -05:00
John Pollock
7c6b237fe8 Match Copilot image_size restore pattern 2026-04-19 21:05:07 -05:00
John Pollock
2ad1ca5531 Handle missing Trellis2 image_size restore state 2026-04-19 20:51:22 -05:00
John Pollock
d7416e5690 Guard full Trellis2 conditioning image_size restore 2026-04-19 20:49:42 -05:00
John Pollock
04099ef605 Restore Trellis2 clip vision image_size state 2026-04-19 19:53:30 -05:00
Yousef Rafat
a1364a7b00 small final change 2026-04-12 20:14:47 +02:00
Yousef Rafat
243691c258 texture fixes 2026-04-10 19:18:14 +02:00
Yousef Rafat
937faafe21 corrected simplification logic 2026-04-10 16:33:19 +02:00
Yousef Rafat
4e14d42da1 comfy ops + color support in postprocess 2026-04-10 16:12:23 +02:00
Yousef Rafat
ea255543e6 structure generation works 2026-04-10 14:24:07 +02:00
Yousef Rafat
2cb06431e8 fix for conditioning 2026-04-07 23:02:33 +02:00
Yousef Rafat
57b306464e texture generation works 2026-04-03 01:22:38 +02:00
Yousef Rafat
72640888ff wrong normalization for the texture node 2026-03-30 23:20:46 +02:00
Yousef Rafat
5559569735 .. 2026-03-27 20:52:23 +02:00
Yousef Rafat
22dcd81fb3 fixed color addition 2026-03-25 23:51:54 +02:00
Yousef Rafat
d2c37c222a pytorch -> scipy 2026-03-25 17:03:52 +02:00
Yousef Rafat
fe25190cae add color support for save mesh 2026-03-25 02:40:15 +02:00
Yousef Rafat
56e52e5d03 work on txt gen 2026-03-24 02:44:03 +02:00
Yousef Rafat
def8947e75 shape working 2026-03-20 18:37:11 +02:00
Yousef Rafat
5d2548822c . 2026-03-20 02:36:01 +02:00
Yousef Rafat
2d904b28da upscale node + simple node simplification 2026-03-11 22:50:17 +02:00
Yousef Rafat
011f624dd5 post-process rewrite + light texture model work 2026-03-11 20:11:58 +02:00
Yousef Rafat
44adb27782 working version 2026-03-10 22:27:10 +02:00
Yousef Rafat
7d444a4fcc resolution logit 2026-02-27 22:22:07 +02:00
Yousef Rafat
39270fdca9 removed unnecessary code + optimizations + progres 2026-02-25 23:54:03 +02:00
Yousef Rafat
f31c2e1d1d vae shape decode fixes 2026-02-25 04:26:33 +02:00
Yousef Rafat
a2c8a7aab5 . 2026-02-24 14:53:54 +02:00
Yousef Rafat
2a27c3b417 progressing 2026-02-23 01:40:56 +02:00
Yousef Rafat
c9f5c788a7 bunch of fixes 2026-02-22 23:47:49 +02:00
Yousef Rafat
253ee4c02c fixes 2026-02-22 01:25:10 +02:00
Yousef Rafat
1fde60b2bc debugging 2026-02-20 22:04:37 +02:00
Yousef Rafat
b3da8ed4c5 coderabbit 2 2026-02-20 21:13:13 +02:00
Yousef Rafat
c5a750205d . 2026-02-20 17:39:44 +02:00
Yousef Rafat
6191cd86bf trellis2conditioning and a hidden bug 2026-02-19 22:05:33 +02:00
Yousef Rafat
9243ae347b added conditioning 2026-02-19 02:01:26 +02:00
Yousef Rafat
ee2b66a2f2 small fixes 2026-02-19 00:48:26 +02:00
Yousef Rafat
0a49718194 .. 2026-02-18 21:54:05 +02:00
Yousef Rafat
ff04ef5558 fix run_conditioning 2026-02-18 21:52:40 +02:00
Yousef Rafat
c14317d6e0 postprocessing node fixes + model small fixes 2026-02-17 00:10:48 +02:00
Yousef Rafat
91fa563b21 rewriting conditioning logic + model code addition 2026-02-16 01:53:53 +02:00
Yousef Rafat
92aa058a58 . 2026-02-13 21:05:59 +02:00
Yousef Rafat
0e51bee64f more reliable detection 2026-02-13 00:10:25 +02:00
Yousef Rafat
8e90bdc1cc small error fixes 2026-02-12 00:30:51 +02:00