Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
ff73deeb
Unverified
Commit
ff73deeb
authored
Apr 11, 2023
by
Yih-Dar
Committed by
GitHub
Apr 11, 2023
Browse files
Remove 2 failing ONNX conversion tests (#22660)
fix Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
06b05d45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/onnx/features.py
src/transformers/onnx/features.py
+2
-2
No files found.
src/transformers/onnx/features.py
View file @
ff73deeb
...
...
@@ -267,7 +267,7 @@ class FeaturesManager:
onnx_config_cls
=
"models.deberta_v2.DebertaV2OnnxConfig"
,
),
"deit"
:
supported_features_mapping
(
"default"
,
"image-classification"
,
"masked-im"
,
onnx_config_cls
=
"models.deit.DeiTOnnxConfig"
"default"
,
"image-classification"
,
onnx_config_cls
=
"models.deit.DeiTOnnxConfig"
),
"detr"
:
supported_features_mapping
(
"default"
,
...
...
@@ -515,7 +515,7 @@ class FeaturesManager:
"vision2seq-lm"
,
onnx_config_cls
=
"models.vision_encoder_decoder.VisionEncoderDecoderOnnxConfig"
),
"vit"
:
supported_features_mapping
(
"default"
,
"image-classification"
,
"masked-im"
,
onnx_config_cls
=
"models.vit.ViTOnnxConfig"
"default"
,
"image-classification"
,
onnx_config_cls
=
"models.vit.ViTOnnxConfig"
),
"whisper"
:
supported_features_mapping
(
"default"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment