Skip to content

Commit

Permalink
SD quick fix export (#160)
Browse files Browse the repository at this point in the history
fix export

Co-authored-by: Jingya Huang <[email protected]>
  • Loading branch information
JingyaHuang and JingyaHuang authored Aug 5, 2023
1 parent 424ec34 commit c675fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/neuron/modeling_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def _from_transformers(
task = TasksManager.infer_task_from_model(cls.auto_model_class)

# mandatory shapes
input_shapes = normalize_stable_diffusion_input_shapes(task, kwargs_shapes)
input_shapes = normalize_stable_diffusion_input_shapes(kwargs_shapes)

# Get compilation arguments
auto_cast_type = None if auto_cast is None else auto_cast_type
Expand Down

0 comments on commit c675fc0

Please sign in to comment.