Jedrzej Kosinski
aeb3c77ae9
Cube3D: route VAE decode through managed comfy.sd.VAE.decode
...
Stop fighting ComfyUI's model management. VAEDecodeCube was manually
calling load_models_gpu + .to(vae.device) and the VAE forced
disable_offload=True because it bypassed the managed decode path.
Now CubeShapeVAE.decode(samples) is the entry point that comfy.sd.VAE.decode
calls, so loading/device/dtype are handled automatically (like Hunyuan3Dv2):
- removed disable_offload=True (let the offload system manage weights)
- removed manual load_models_gpu + .to(device) from the node
- process_output set to identity (default clamps [0,1] in-place and would
destroy the occupancy isosurface)
- decode() pre-inverts VAE.decode's trailing movedim(1,-1) so the node
receives grid logits unchanged (parity preserved)
- memory_used_decode sized by num_tokens (shape[-1]) for the new latent layout
Amp-Thread-ID: https://ampcode.com/threads/T-019ec361-addb-70d8-a74b-438ce8a1e096
Co-authored-by: Amp <amp@ampcode.com >
2026-06-14 23:28:22 -07:00
..
2024-12-20 16:24:55 -05:00
2026-05-04 20:20:40 +03:00
2026-05-25 19:23:29 -07:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-08 01:02:55 -04:00
2026-05-27 20:43:33 -04:00
2026-06-04 19:29:41 -07:00
2026-06-10 07:47:34 +08:00
2026-06-09 23:36:56 +08:00
2026-05-27 20:43:33 -04:00
2026-05-19 00:13:48 -04:00
2026-05-25 23:01:51 -07:00
2026-06-01 22:07:48 -07:00
2026-02-19 19:20:02 -08:00
2026-06-09 00:30:28 +08:00
2026-05-19 00:13:48 -04:00
2026-05-08 01:02:55 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-06-14 23:28:22 -07:00
2026-05-27 20:43:33 -04:00
2026-06-05 10:04:10 +03:00
2026-06-03 16:03:32 -07:00
2026-06-10 09:28:24 +08:00
2026-05-08 01:02:55 -04:00
2026-02-19 19:20:02 -08:00
2025-10-03 13:24:42 -07:00
2026-05-27 20:43:33 -04:00
2026-06-11 16:38:06 -07:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-08 01:02:55 -04:00
2026-06-05 12:30:58 -07:00
2026-05-27 20:43:33 -04:00
2026-03-27 21:06:38 -04:00
2026-05-27 20:43:33 -04:00
2026-01-22 18:36:58 -08:00
2026-02-28 16:50:18 -05:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-06-03 08:41:44 -07:00
2026-05-04 17:37:25 -07:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-06-05 19:01:57 -07:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-08 01:02:55 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-08 01:02:55 -04:00
2026-05-27 20:43:33 -04:00
2026-06-01 18:15:04 -07:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-14 18:36:17 -07:00
2026-05-27 20:43:33 -04:00
2025-08-06 04:07:04 -04:00
2026-05-18 11:46:40 -07:00
2026-05-27 20:43:33 -04:00
2026-06-10 09:28:24 +08:00
2026-05-19 00:13:48 -04:00
2026-05-25 20:03:37 -07:00
2026-02-21 19:51:21 -05:00
2026-05-19 00:13:48 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-25 19:23:29 -07:00
2026-05-08 01:02:55 -04:00
2026-05-08 01:02:55 -04:00
2026-06-02 12:40:49 -07:00
2026-01-22 18:36:58 -08:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-02-15 02:12:30 -08:00
2026-06-09 01:05:10 +08:00
2026-05-27 20:43:33 -04:00
2026-05-19 00:13:48 -04:00
2026-05-08 01:02:55 -04:00
2026-05-19 00:13:48 -04:00
2026-06-05 12:30:58 -07:00
2026-06-11 16:17:04 +08:00
2026-05-27 20:43:33 -04:00
2026-05-19 00:13:48 -04:00
2026-05-27 20:43:33 -04:00
2026-02-19 19:20:02 -08:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-20 10:25:49 +08:00
2025-09-26 14:13:05 -07:00
2026-05-08 01:02:55 -04:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-05-08 01:02:55 -04:00
2026-06-09 23:07:47 -04:00
2026-06-01 18:08:20 -07:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-06-13 16:05:25 +03:00
2026-05-27 20:43:33 -04:00
2026-06-09 18:24:09 +03:00
2026-05-27 20:43:33 -04:00
2026-05-27 20:43:33 -04:00
2026-01-22 18:36:58 -08:00
2026-02-19 19:20:02 -08:00
2026-05-05 19:59:04 -07:00