a-r-r-o-w HF staff commited on
Commit
102080d
1 Parent(s): 2844d07

Update vae config to remove unused parameters

Browse files

Hey!

These parameters are no longer supported in the Diffusers VAE implementation. They weren't used to begin with, but made its way into the codebase after reviews. They've now been remove which causes the following warning is raised when running inference with CogVideoX-2b:

```
The config attributes {'mid_block_add_attention': True, 'sample_size': 256} were passed to AutoencoderKLCogVideoX, but are not expected and will be ignored. Please verify your config.json configuration file.
```

This PR will get rid of the warning. Thanks!

cc

@zRzRzRzRzRzRzR

Files changed (1) hide show
  1. vae/config.json +0 -2
vae/config.json CHANGED
@@ -20,11 +20,9 @@
20
  "latents_mean": null,
21
  "latents_std": null,
22
  "layers_per_block": 3,
23
- "mid_block_add_attention": true,
24
  "norm_eps": 1e-06,
25
  "norm_num_groups": 32,
26
  "out_channels": 3,
27
- "sample_size": 256,
28
  "scaling_factor": 1.15258426,
29
  "shift_factor": null,
30
  "temporal_compression_ratio": 4,
 
20
  "latents_mean": null,
21
  "latents_std": null,
22
  "layers_per_block": 3,
 
23
  "norm_eps": 1e-06,
24
  "norm_num_groups": 32,
25
  "out_channels": 3,
 
26
  "scaling_factor": 1.15258426,
27
  "shift_factor": null,
28
  "temporal_compression_ratio": 4,