Closed eaidova closed 1 month ago
Thanks @eaidova ! Opened huggingface/optimum#2066 to remove
CLIPModelPatcher
direclty in optimum (shouldn't be needed for onnx), would that works for you ?
@echarlaix thanks, but are you sure that it is not need? as I understand @IlyasMoutawwakil met integration issue for onnx export that is why it was added
@echarlaix thanks, but are you sure that it is not need? as I understand @IlyasMoutawwakil met integration issue for onnx export that is why it was added
Actually might be needed for diffusers model, let's merge this PR for now and we can always revert changes if updated in optimum
the specific onnx error was https://github.com/pytorch/pytorch/issues/135615 and it was fixed in latest pytorch (not sure if stable or nightly)
What does this PR do?
Fixes # (issue)
Before submitting