Skip to content

Commit d16c855

Browse files
committed
skeleton for xl, flux
1 parent 7e7af59 commit d16c855

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

tests/remote/test_remote_decode.py

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,46 @@ class RemoteAutoencoderKLSDv1Tests(
152152
scaling_factor = 0.18215
153153
shift_factor = None
154154
processor_cls = VaeImageProcessor
155+
156+
157+
class RemoteAutoencoderKLSDXLTests(
158+
RemoteAutoencoderKLMixin,
159+
unittest.TestCase,
160+
):
161+
shape = (
162+
1,
163+
4,
164+
128,
165+
128,
166+
)
167+
out_hw = (
168+
1024,
169+
1024,
170+
)
171+
endpoint = ""
172+
dtype = torch.float16
173+
scaling_factor = 0.13025
174+
shift_factor = None
175+
processor_cls = VaeImageProcessor
176+
177+
178+
class RemoteAutoencoderKLFluxTests(
179+
RemoteAutoencoderKLMixin,
180+
unittest.TestCase,
181+
):
182+
# TODO: packed
183+
shape = (
184+
1,
185+
16,
186+
128,
187+
128,
188+
)
189+
out_hw = (
190+
1024,
191+
1024,
192+
)
193+
endpoint = ""
194+
dtype = torch.bfloat16
195+
scaling_factor = 0.3611
196+
shift_factor = 0.1159
197+
processor_cls = VaeImageProcessor

0 commit comments

Comments
 (0)