Unverified Commit 88018fcf authored by Dhruv Nair's avatar Dhruv Nair Committed by GitHub
Browse files

Fix failing VAE tiling test (#7747)

update
parent 7404f1e9
...@@ -120,7 +120,7 @@ class SDFunctionTesterMixin: ...@@ -120,7 +120,7 @@ class SDFunctionTesterMixin:
inputs["return_dict"] = False inputs["return_dict"] = False
output_2 = pipe(**inputs)[0] output_2 = pipe(**inputs)[0]
assert np.abs(output_2 - output_1).max() < 5e-1 assert np.abs(to_np(output_2) - to_np(output_1)).max() < 5e-1
# test that tiled decode works with various shapes # test that tiled decode works with various shapes
shapes = [(1, 4, 73, 97), (1, 4, 97, 73), (1, 4, 49, 65), (1, 4, 65, 49)] shapes = [(1, 4, 73, 97), (1, 4, 97, 73), (1, 4, 49, 65), (1, 4, 65, 49)]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment