-
Notifications
You must be signed in to change notification settings - Fork 31.9k
More V5 pipeline cleanup #43325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Rocketknight1
wants to merge
28
commits into
main
Choose a base branch
from
more_pipeline_cleanup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+446
−2,239
Open
More V5 pipeline cleanup #43325
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
31b815d
Rename the feature extraction pipelines and remove question-answering
Rocketknight1 351b04c
make style
Rocketknight1 d470c01
Remove more refs to the question-answering pipelines
Rocketknight1 4a8c9b1
Remove more refs to the question-answering pipelines
Rocketknight1 3da828f
More migration guide
Rocketknight1 781bafe
make fix-repo
Rocketknight1 b5a48dc
Correct the name imports in init.py
Rocketknight1 5394bdd
Cleanup lots of refs to the pipelines
Rocketknight1 c4b711b
make fix-repo
Rocketknight1 8eaeb4a
Remove a bunch of doc refs too
Rocketknight1 043b848
Remove from not_doctested.txt
Rocketknight1 858b3ba
More cleanup of the QA pipelines
Rocketknight1 3ab9a01
More cleanup of the QA pipelines
Rocketknight1 f5ada93
Catch more examples in the docs
Rocketknight1 2fa432f
Catch more examples in the docs
Rocketknight1 ff17963
Remove refs to the argumenthandler too
Rocketknight1 19c12a8
A few more refs to fill-mask
Rocketknight1 dbcb665
Remove references in the pipeline model mappings
Rocketknight1 0bb8bd3
Remove references in the pipeline model mappings
Rocketknight1 ffec3a5
Apply suggestions from code review
Rocketknight1 647a4f5
FeatureExtractionPipelineTests -> EmbeddingPipelineTests
Rocketknight1 4b881a8
Change run_task_tests() calls
Rocketknight1 d2bb313
Restore fill_mask.py
Rocketknight1 04b263f
Restore fillmaskpipeline tests
Rocketknight1 c492967
make fix-repo
Rocketknight1 521c40c
Revert a few more bits
Rocketknight1 2e09093
Restore FillMaskPipeline in pipelines/__init__
Rocketknight1 4b67a21
Revert more fill-mask changes
Rocketknight1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -140,10 +140,9 @@ | |
| "CsvPipelineDataFormat", | ||
| "DepthEstimationPipeline", | ||
| "DocumentQuestionAnsweringPipeline", | ||
| "FeatureExtractionPipeline", | ||
| "FillMaskPipeline", | ||
| "ImageClassificationPipeline", | ||
| "ImageFeatureExtractionPipeline", | ||
| "ImageEmbeddingPipeline", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should be able to build on top of #42564 for getting modality-specific embeddings, just as a note (to myself) |
||
| "ImageSegmentationPipeline", | ||
| "ImageTextToTextPipeline", | ||
| "ImageToImagePipeline", | ||
|
|
@@ -155,14 +154,13 @@ | |
| "PipedPipelineDataFormat", | ||
| "Pipeline", | ||
| "PipelineDataFormat", | ||
| "QuestionAnsweringPipeline", | ||
| "TableQuestionAnsweringPipeline", | ||
| "TextClassificationPipeline", | ||
| "TextEmbeddingPipeline", | ||
| "TextGenerationPipeline", | ||
| "TextToAudioPipeline", | ||
| "TokenClassificationPipeline", | ||
| "VideoClassificationPipeline", | ||
| "VisualQuestionAnsweringPipeline", | ||
| "ZeroShotAudioClassificationPipeline", | ||
| "ZeroShotClassificationPipeline", | ||
| "ZeroShotImageClassificationPipeline", | ||
|
|
@@ -648,10 +646,9 @@ | |
| from .pipelines import CsvPipelineDataFormat as CsvPipelineDataFormat | ||
| from .pipelines import DepthEstimationPipeline as DepthEstimationPipeline | ||
| from .pipelines import DocumentQuestionAnsweringPipeline as DocumentQuestionAnsweringPipeline | ||
| from .pipelines import FeatureExtractionPipeline as FeatureExtractionPipeline | ||
| from .pipelines import FillMaskPipeline as FillMaskPipeline | ||
| from .pipelines import ImageClassificationPipeline as ImageClassificationPipeline | ||
| from .pipelines import ImageFeatureExtractionPipeline as ImageFeatureExtractionPipeline | ||
| from .pipelines import ImageEmbeddingPipeline as ImageEmbeddingPipeline | ||
| from .pipelines import ImageSegmentationPipeline as ImageSegmentationPipeline | ||
| from .pipelines import ImageTextToTextPipeline as ImageTextToTextPipeline | ||
| from .pipelines import ImageToImagePipeline as ImageToImagePipeline | ||
|
|
@@ -663,14 +660,13 @@ | |
| from .pipelines import PipedPipelineDataFormat as PipedPipelineDataFormat | ||
| from .pipelines import Pipeline as Pipeline | ||
| from .pipelines import PipelineDataFormat as PipelineDataFormat | ||
| from .pipelines import QuestionAnsweringPipeline as QuestionAnsweringPipeline | ||
| from .pipelines import TableQuestionAnsweringPipeline as TableQuestionAnsweringPipeline | ||
| from .pipelines import TextClassificationPipeline as TextClassificationPipeline | ||
| from .pipelines import TextEmbeddingPipeline as TextEmbeddingPipeline | ||
| from .pipelines import TextGenerationPipeline as TextGenerationPipeline | ||
| from .pipelines import TextToAudioPipeline as TextToAudioPipeline | ||
| from .pipelines import TokenClassificationPipeline as TokenClassificationPipeline | ||
| from .pipelines import VideoClassificationPipeline as VideoClassificationPipeline | ||
| from .pipelines import VisualQuestionAnsweringPipeline as VisualQuestionAnsweringPipeline | ||
| from .pipelines import ZeroShotAudioClassificationPipeline as ZeroShotAudioClassificationPipeline | ||
| from .pipelines import ZeroShotClassificationPipeline as ZeroShotClassificationPipeline | ||
| from .pipelines import ZeroShotImageClassificationPipeline as ZeroShotImageClassificationPipeline | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.