Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
6febc08b
"doc/git@developer.sourcefind.cn:OpenDAS/ktransformers.git" did not exist on "4d1d561d28e04beb56f2c75b4ddaaf20d787ba07"
Unverified
Commit
6febc08b
authored
Aug 02, 2025
by
Bernd Doser
Committed by
GitHub
Aug 02, 2025
Browse files
Fix type of force_upcast to bool (#12046)
parent
9a2eaed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/autoencoders/autoencoder_kl.py
src/diffusers/models/autoencoders/autoencoder_kl.py
+1
-1
No files found.
src/diffusers/models/autoencoders/autoencoder_kl.py
View file @
6febc08b
...
@@ -90,7 +90,7 @@ class AutoencoderKL(ModelMixin, ConfigMixin, FromOriginalModelMixin, PeftAdapter
...
@@ -90,7 +90,7 @@ class AutoencoderKL(ModelMixin, ConfigMixin, FromOriginalModelMixin, PeftAdapter
shift_factor
:
Optional
[
float
]
=
None
,
shift_factor
:
Optional
[
float
]
=
None
,
latents_mean
:
Optional
[
Tuple
[
float
]]
=
None
,
latents_mean
:
Optional
[
Tuple
[
float
]]
=
None
,
latents_std
:
Optional
[
Tuple
[
float
]]
=
None
,
latents_std
:
Optional
[
Tuple
[
float
]]
=
None
,
force_upcast
:
float
=
True
,
force_upcast
:
bool
=
True
,
use_quant_conv
:
bool
=
True
,
use_quant_conv
:
bool
=
True
,
use_post_quant_conv
:
bool
=
True
,
use_post_quant_conv
:
bool
=
True
,
mid_block_add_attention
:
bool
=
True
,
mid_block_add_attention
:
bool
=
True
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment