-
Notifications
You must be signed in to change notification settings - Fork 32.2k
add uniform processors for altclip + chinese_clip #31198
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
Merged
Merged
Changes from all commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
b85036f
add initial design for uniform processors + align model
molbap 1336931
add uniform processors for altclip + chinese_clip
molbap bb8ac70
fix mutable default :eyes:
molbap cd8c601
add configuration test
molbap f00c852
handle structured kwargs w defaults + add test
molbap 693036f
protect torch-specific test
molbap 766da3a
fix style
molbap 844394d
fix
molbap 7d860a0
rebase
molbap 7cb9925
update processor to generic kwargs + test
molbap ad4cbf7
fix style
molbap def56cd
add sensible kwargs merge
molbap 2e6b7e1
update test
molbap c19bbc6
fix assertEqual
molbap 3c38119
move kwargs merging to processing common
molbap 81ae819
rework kwargs for type hinting
molbap ce4abcd
just get Unpack from extensions
molbap 3acdf28
run-slow[align]
molbap 404239f
handle kwargs passed as nested dict
molbap 603be40
add from_pretrained test for nested kwargs handling
molbap 71c9d6c
[run-slow]align
molbap 26383c5
update documentation + imports
molbap 4521f4f
update audio inputs
molbap b96eb64
protect audio types, silly
molbap 9c5c01c
try removing imports
molbap 3ccb505
make things simpler
molbap 142acf3
simplerer
molbap 60a5730
move out kwargs test to common mixin
molbap be6c141
[run-slow]align
molbap 84135d7
skip tests for old processors
molbap ce967ac
[run-slow]align, clip
molbap f78ec52
!$#@!! protect imports, darn it
molbap 52fd5ad
[run-slow]align, clip
molbap 8f21abe
Merge branch 'main' into uniform_processors_1
molbap d510030
[run-slow]align, clip
molbap b2f0336
fix conflicts
molbap 40c8a0b
update common processor testing
molbap 2e19860
add altclip
molbap 06b7ae2
add chinese_clip
molbap 2e58518
add pad_size
molbap aa7a68c
[run-slow]align, clip, chinese_clip, altclip
molbap f0ca955
remove duplicated tests
molbap 7f61246
fix
molbap fd43bcd
update doc
molbap b2cd7c9
improve documentation for default values
molbap bcbd646
add model_max_length testing
molbap 39c1587
Raise if kwargs are specified in two places
molbap 1f73bdf
fix
molbap 934e612
Merge branch 'uniform_processors_1' into uniform_processors_2
molbap ee57813
Merge branch 'main' into uniform_processors_2
molbap bab441f
Merge branch 'main' into uniform_processors_2
molbap 4fd60cf
match defaults
molbap 34d0b61
force padding
molbap 10d727b
fix tokenizer test
molbap 986ed9f
clean defaults
molbap 3c265d1
move tests to common
molbap 24bef68
remove try/catch block
molbap 82e72cf
deprecate kwarg
molbap 5485a5c
format
molbap 8ad6587
add copyright + remove unused method
molbap 76fff78
Merge branch 'main' into uniform_processors_2
molbap e447062
[run-slow]altclip, chinese_clip
molbap 0ee79aa
clean imports
molbap 4cfd018
fix version
molbap 520240b
clean up deprecation
molbap 823ce00
fix style
molbap 134b589
add corner case test on kwarg overlap
molbap 9978621
resume processing - add Unpack as importable
molbap 182a9ec
Merge branch 'main' into uniform_processors_2
molbap 514aae9
Merge branch 'main' into uniform_processors_2
molbap f5e2326
add tmpdirname
molbap 357e8ff
fix altclip
molbap 402445b
fix up
molbap 8212d8e
Merge branch 'main' into uniform_processors_2
molbap eb6a933
add back crop_size to specific tests
molbap 468541c
Merge branch 'main' into uniform_processors_2
molbap 1e950e3
generalize tests to possible video_processor
molbap ae2e605
add back crop_size arg
molbap 4b3c4f3
fixup overlapping kwargs test for qformer_tokenizer
molbap 5f50aeb
remove copied from
molbap de5980a
fixup chinese_clip tests values
molbap 61e2664
fixup tests - qformer tokenizers
molbap 58211f5
[run-slow] altclip, chinese_clip
molbap 416e10a
remove prepare_image_inputs
molbap 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
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.