ComfyUI Node
Bernini-R Compile Model
Store torch.compile config on a Bernini-R model handle. Applied when the sampler loads the model.
Bernini-R Compile Model
- model_handle
- model_handle
◄compile_modenone►
◄fullgraphfalse►
◄dynamic_shapestrue►
◄purge_cachefalse►
CategoryBernini-R/Loaders
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| model_handle | BERNINI_MODEL_HANDLE | Bernini-R model handle | |
| compile_mode | COMBO | none | torch.compile mode. 'none' = eager, 'default' = trace w/ graph breaks, 'reduce-overhead' → auto-downgraded to 'default' on Windows |
| fullgraph | BOOLEAN | false | Require zero graph breaks (will likely fail with custom attention ops) |
| dynamic_shapes | BOOLEAN | true | Allow variable-length sequences in compiled graph |
| purge_cacheopt | BOOLEAN | false | Delete Bernini-R's isolated torch.compile cache before compiling (after a code update, or if compiled output looks stale) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| model_handle | BERNINI_MODEL_HANDLE | — |