Skip to content

Commit e813c3f

Browse files
committed
add note that the dtype limit is for inference specifically
1 parent 3e2c93c commit e813c3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ This specification defines 3 categories of key: **MUST**, **SHOULD**, **CAN**
8989
| `encoder_layer` | **CAN** | (Specialty) for "clip skip" in Stable Diffusion models, or similar practice in other models like it, this can be applied where relevant to identify that a non-standard layer of an encoder model should be used (so for example value `2` in an SD model indicates `clip_skip=2` should be used). | `2` |
9090
| `preprocessor` | **CAN** | (Specialty) for "ControlNet" or similar model-adapter types that require preprocessing, this is an indicator of the preprocessing type, as a simple text identifier. Should not identify exact tool (eg "MiDaS"), just the broad type (eg "depth"). | `depth`, `canny` |
9191
| `is_negative_embedding` | **CAN** | (Specialty) for "Textual-Inversion" or similar input-embedding types that modify prompts, this can be `true` to indicate that the embedding is meant for Negative Prompts, or `false` to indicate it's meant for (Positive) Prompts. A UI implementation may use this key to apply embeddings correctly with less user-intervention. | `true`, `false` |
92-
| `unet_dtype` | **CAN** | (Specialty) for UNet based models that have special DType requirements (eg incompatible with fp16 but works with bf16), a comma-separated list of known-good types. Inference engines are recommended to ensure a compatible type is used when this is specified. | `bf16,fp32` |
93-
| `vae_dtype` | **CAN** | (Specialty) for latent models with a VAE that has special DType requirements (eg incompatible with fp16 but works with bf16), a comma-separated list of known-good types. Inference engines are recommended to ensure a compatible type is used when this is specified. | `bf16,fp32` |
92+
| `unet_dtype` | **CAN** | (Specialty) for UNet based models that have special DType requirements (eg incompatible with fp16 but works with bf16) for inference, a comma-separated list of known-good types. Inference engines are recommended to ensure a compatible type is used when this is specified. | `bf16,fp32` |
93+
| `vae_dtype` | **CAN** | (Specialty) for latent models with a VAE that has special DType requirements (eg incompatible with fp16 but works with bf16) for inference, a comma-separated list of known-good types. Inference engines are recommended to ensure a compatible type is used when this is specified. | `bf16,fp32` |
9494

9595
#### Text-Prediction Models
9696

0 commit comments

Comments
 (0)