Skip to content

Commit

Permalink
fix(api): disable internal fp16 for VAE encoder (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Mar 27, 2023
1 parent 33f5992 commit 73e9cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/convert/diffusion/diffusers.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def convert_diffusion_diffusers(
"sample": {0: "batch", 1: "channels", 2: "height", 3: "width"},
},
opset=ctx.opset,
half=ctx.half,
half=False, # https://github.com/ssube/onnx-web/issues/290
)

# VAE DECODER
Expand Down

0 comments on commit 73e9cf8

Please sign in to comment.