Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
diffusers
Commits
bbd2f9d4
Unverified
Commit
bbd2f9d4
authored
Jul 12, 2024
by
Aryan
Committed by
GitHub
Jul 12, 2024
Browse files
[tests] fix typo in pag tests (#8845)
* fix typo in pag tests * fix typo
parent
d704b3bf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
tests/pipelines/pag/test_pag_controlnet_sd.py
tests/pipelines/pag/test_pag_controlnet_sd.py
+1
-1
tests/pipelines/pag/test_pag_controlnet_sdxl.py
tests/pipelines/pag/test_pag_controlnet_sdxl.py
+1
-1
tests/pipelines/pag/test_pag_sd.py
tests/pipelines/pag/test_pag_sd.py
+1
-1
tests/pipelines/pag/test_pag_sdxl.py
tests/pipelines/pag/test_pag_sdxl.py
+1
-1
No files found.
tests/pipelines/pag/test_pag_controlnet_sd.py
View file @
bbd2f9d4
...
...
@@ -173,7 +173,7 @@ class StableDiffusionControlNetPAGPipelineFastTests(
del
inputs
[
"pag_scale"
]
assert
(
"pag_scale"
not
in
inspect
.
signature
(
pipe_sd
.
__call__
).
parameters
),
f
"`pag_scale` should not be a call parameter of the base pipeline
{
pipe_sd
.
__c
a
lss__
.
__name__
}
."
),
f
"`pag_scale` should not be a call parameter of the base pipeline
{
pipe_sd
.
__cl
a
ss__
.
__name__
}
."
out
=
pipe_sd
(
**
inputs
).
images
[
0
,
-
3
:,
-
3
:,
-
1
]
# pag disabled with pag_scale=0.0
...
...
tests/pipelines/pag/test_pag_controlnet_sdxl.py
View file @
bbd2f9d4
...
...
@@ -193,7 +193,7 @@ class StableDiffusionXLControlNetPAGPipelineFastTests(
del
inputs
[
"pag_scale"
]
assert
(
"pag_scale"
not
in
inspect
.
signature
(
pipe_sd
.
__call__
).
parameters
),
f
"`pag_scale` should not be a call parameter of the base pipeline
{
pipe_sd
.
__c
a
lss__
.
__name__
}
."
),
f
"`pag_scale` should not be a call parameter of the base pipeline
{
pipe_sd
.
__cl
a
ss__
.
__name__
}
."
out
=
pipe_sd
(
**
inputs
).
images
[
0
,
-
3
:,
-
3
:,
-
1
]
# pag disabled with pag_scale=0.0
...
...
tests/pipelines/pag/test_pag_sd.py
View file @
bbd2f9d4
...
...
@@ -157,7 +157,7 @@ class StableDiffusionPAGPipelineFastTests(
del
inputs
[
"pag_scale"
]
assert
(
"pag_scale"
not
in
inspect
.
signature
(
pipe_sd
.
__call__
).
parameters
),
f
"`pag_scale` should not be a call parameter of the base pipeline
{
pipe_sd
.
__c
a
lss__
.
__name__
}
."
),
f
"`pag_scale` should not be a call parameter of the base pipeline
{
pipe_sd
.
__cl
a
ss__
.
__name__
}
."
out
=
pipe_sd
(
**
inputs
).
images
[
0
,
-
3
:,
-
3
:,
-
1
]
# pag disabled with pag_scale=0.0
...
...
tests/pipelines/pag/test_pag_sdxl.py
View file @
bbd2f9d4
...
...
@@ -170,7 +170,7 @@ class StableDiffusionXLPAGPipelineFastTests(
del
inputs
[
"pag_scale"
]
assert
(
"pag_scale"
not
in
inspect
.
signature
(
pipe_sd
.
__call__
).
parameters
),
f
"`pag_scale` should not be a call parameter of the base pipeline
{
pipe_sd
.
__c
a
lss__
.
__name__
}
."
),
f
"`pag_scale` should not be a call parameter of the base pipeline
{
pipe_sd
.
__cl
a
ss__
.
__name__
}
."
out
=
pipe_sd
(
**
inputs
).
images
[
0
,
-
3
:,
-
3
:,
-
1
]
# pag disabled with pag_scale=0.0
...
...
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