Skip to content

Commit

Permalink
Update optimum/onnxruntime/modeling_diffusion.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ella Charlaix <[email protected]>
  • Loading branch information
IlyasMoutawwakil and echarlaix authored Oct 3, 2024
1 parent 15c94bc commit 2e242e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/onnxruntime/modeling_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ def prepare_onnx_outputs(

@abstractmethod
def forward(self, *args, **kwargs):
pass
raise NotImplementedError

def __call__(self, *args, **kwargs):
return self.forward(*args, **kwargs)
Expand Down

0 comments on commit 2e242e5

Please sign in to comment.