Skip to content

Commit 1a1817a

Browse files
committed
update ip-adapter-test
1 parent f54a897 commit 1a1817a

File tree

3 files changed

+72
-72
lines changed

3 files changed

+72
-72
lines changed

tests/pipelines/animatediff/test_animatediff.py

+27-27
Original file line numberDiff line numberDiff line change
@@ -141,33 +141,33 @@ def test_ip_adapter_single(self):
141141
if torch_device == "cpu":
142142
expected_pipe_slice = np.array(
143143
[
144-
0.5541,
145-
0.5802,
146-
0.5074,
147-
0.4583,
148-
0.4729,
149-
0.5374,
150-
0.4051,
151-
0.4495,
152-
0.4480,
153-
0.5292,
154-
0.6322,
155-
0.6265,
156-
0.5455,
157-
0.4771,
158-
0.5795,
159-
0.5845,
160-
0.4172,
161-
0.6066,
162-
0.6535,
163-
0.4113,
164-
0.6833,
165-
0.5736,
166-
0.3589,
167-
0.5730,
168-
0.4205,
169-
0.3786,
170-
0.5323,
144+
0.55489814,
145+
0.57733,
146+
0.5055906,
147+
0.45875436,
148+
0.47063118,
149+
0.5364321,
150+
0.40426704,
151+
0.44867495,
152+
0.44591445,
153+
0.5281508,
154+
0.6315466,
155+
0.62435544,
156+
0.54455715,
157+
0.477045,
158+
0.5789583,
159+
0.58372897,
160+
0.41623285,
161+
0.60586095,
162+
0.65277576,
163+
0.41136372,
164+
0.6803191,
165+
0.5731553,
166+
0.3580435,
167+
0.5695902,
168+
0.42043707,
169+
0.3784843,
170+
0.53030723,
171171
]
172172
)
173173
return super().test_ip_adapter_single(expected_pipe_slice=expected_pipe_slice)

tests/pipelines/animatediff/test_animatediff_video2video.py

+18-18
Original file line numberDiff line numberDiff line change
@@ -143,24 +143,24 @@ def test_ip_adapter_single(self):
143143
if torch_device == "cpu":
144144
expected_pipe_slice = np.array(
145145
[
146-
0.4947,
147-
0.4780,
148-
0.4340,
149-
0.4666,
150-
0.4028,
151-
0.4645,
152-
0.4915,
153-
0.4101,
154-
0.4308,
155-
0.4581,
156-
0.3582,
157-
0.4953,
158-
0.4466,
159-
0.5348,
160-
0.5863,
161-
0.5299,
162-
0.5213,
163-
0.5017,
146+
0.4848796,
147+
0.48586836,
148+
0.443857,
149+
0.4659326,
150+
0.40280268,
151+
0.46792588,
152+
0.48351467,
153+
0.4108287,
154+
0.43699834,
155+
0.4561751,
156+
0.35249728,
157+
0.49432203,
158+
0.44738623,
159+
0.5392915,
160+
0.5923746,
161+
0.53159416,
162+
0.52147824,
163+
0.5025812,
164164
]
165165
)
166166
return super().test_ip_adapter_single(expected_pipe_slice=expected_pipe_slice)

tests/pipelines/pia/test_pia.py

+27-27
Original file line numberDiff line numberDiff line change
@@ -144,33 +144,33 @@ def test_ip_adapter_single(self):
144144
if torch_device == "cpu":
145145
expected_pipe_slice = np.array(
146146
[
147-
0.5609,
148-
0.5756,
149-
0.4830,
150-
0.4420,
151-
0.4547,
152-
0.5129,
153-
0.3779,
154-
0.4042,
155-
0.3772,
156-
0.4450,
157-
0.5710,
158-
0.5536,
159-
0.4835,
160-
0.4308,
161-
0.5578,
162-
0.5578,
163-
0.4395,
164-
0.5440,
165-
0.6051,
166-
0.4651,
167-
0.6258,
168-
0.5662,
169-
0.3988,
170-
0.5108,
171-
0.4153,
172-
0.3993,
173-
0.4803,
147+
0.56209797,
148+
0.5758661,
149+
0.48313263,
150+
0.4432918,
151+
0.4548767,
152+
0.51363844,
153+
0.37824085,
154+
0.404838,
155+
0.37794176,
156+
0.44477728,
157+
0.5720737,
158+
0.55278736,
159+
0.48393112,
160+
0.43125585,
161+
0.5575704,
162+
0.55773294,
163+
0.44008094,
164+
0.5437152,
165+
0.6051959,
166+
0.4654531,
167+
0.62552464,
168+
0.56681484,
169+
0.39887077,
170+
0.5120458,
171+
0.41586423,
172+
0.39992803,
173+
0.48050576,
174174
]
175175
)
176176
return super().test_ip_adapter_single(expected_pipe_slice=expected_pipe_slice)

0 commit comments

Comments
 (0)