Skip to content

Commit

Permalink
add details
Browse files Browse the repository at this point in the history
  • Loading branch information
fxmarty committed Oct 16, 2023
1 parent eb9f110 commit 260565d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions optimum/exporters/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,10 @@ class TasksManager:
"text-generation-with-past",
"text2text-generation",
"text2text-generation-with-past",
"text-classification",
"question-answering",
# text-classification and question-answering can be supported, but the ONNX export is currently broken due to a regression in PyTorch 2.1.
# Reference: https://github.com/pytorch/pytorch/issues/110597.
# "text-classification",
# "question-answering",
onnx="BartOnnxConfig",
),
# BEiT cannot be used with the masked image modeling autoclass, so this task is excluded here
Expand Down

0 comments on commit 260565d

Please sign in to comment.