transformers
BatchFeature.to() supports non-tensor keys
#33918
Merged

BatchFeature.to() supports non-tensor keys #33918

Rocketknight1 merged 9 commits into main from fix_oneformer_pipeline
Rocketknight1
Rocketknight1 Rocketknight1 added run-slow
ydshieh
Rocketknight1
HuggingFaceDocBuilderDev
Rocketknight1 Fix issue in oneformer preprocessing
7065c5e8
Rocketknight1 [run slow] oneformer
9ddbdfad
Rocketknight1 [run_slow] oneformer
38660964
Rocketknight1 Make the same fixes in DQA and object detection pipelines
502972f6
Rocketknight1 Fix BatchFeature.to() instead
2547a908
Rocketknight1 Revert pipeline-specific changes
4d796f72
Rocketknight1 Rocketknight1 force pushed to 4d796f72 1 year ago
Rocketknight1 Rocketknight1 changed the title Fix issue in oneformer pipeline preprocessing BatchFeature.to() supports non-tensor keys 1 year ago
Rocketknight1
Rocketknight1
LysandreJik
LysandreJik approved these changes on 2024-10-07
LysandreJik
Rocketknight1 Add the same check in Pixtral's methods
01fe6a83
Rocketknight1 Add the same check in BatchEncoding
64956bf6
Rocketknight1
Rocketknight1 make sure torch is imported
8e7ff3a6
LysandreJik
LysandreJik approved these changes on 2024-10-08
Rocketknight1 Rocketknight1 merged fb360a6c into main 1 year ago
Rocketknight1 Rocketknight1 deleted the fix_oneformer_pipeline branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone