-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
[misc][plugin] add plugin system implementation #7426
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 26 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
7d25c1a
add plugin via entrypoints
youkaichao dc33035
add
youkaichao 239e96e
use
youkaichao be7df65
update
youkaichao 0632fb7
add model
youkaichao a2e1280
update
youkaichao a936ebc
use name
youkaichao 5266296
update
youkaichao efd04f1
update tests
youkaichao 06dddb7
update
youkaichao 01248da
update
youkaichao 3b2adc8
update
youkaichao 93cb2cf
update
youkaichao b66400a
update
youkaichao a20a5bf
update server oot test
youkaichao 8b9af15
update dummy args
youkaichao a560633
re-loadable
youkaichao eeff503
Merge branch 'main' into entrypoint_plugin
youkaichao e197d35
skip spell check for dummy model
youkaichao 0074563
Merge branch 'entrypoint_plugin' of github.com:youkaichao/vllm into e…
youkaichao bd828b7
add vllm/plugins
youkaichao 0b181e4
Merge branch 'main' into entrypoint_plugin
youkaichao 6ba403c
Merge branch 'main' into entrypoint_plugin
youkaichao ae533fe
add files
youkaichao d69641a
lint
youkaichao aa57613
update
youkaichao 5b5b06a
download script every time
youkaichao 63193e8
remove model files
youkaichao 7f64ac2
avoid too many downloads
youkaichao 4457c32
Merge branch 'main' into entrypoint_plugin
youkaichao f9cd434
lint
youkaichao b03ab18
change to VLLM_PLUGINS
youkaichao d524219
revert changes
youkaichao 2f07344
add tests
youkaichao f8797e5
add distributed tests
youkaichao b3099c2
add distributed tests
youkaichao 3ad4c8e
add distributed tests
youkaichao 18d2724
Merge branch 'main' into entrypoint_plugin
youkaichao 27b77d8
add distributed tests
youkaichao e9471d2
Merge branch 'entrypoint_plugin' of github.com:youkaichao/vllm into e…
youkaichao 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "_name_or_path": "facebook/opt-125m", | ||
| "activation_dropout": 0.0, | ||
| "activation_function": "relu", | ||
| "architectures": [ | ||
| "MyOPTForCausalLM" | ||
| ], | ||
| "attention_dropout": 0.0, | ||
| "bos_token_id": 2, | ||
| "do_layer_norm_before": true, | ||
| "dropout": 0.1, | ||
| "eos_token_id": 2, | ||
| "ffn_dim": 3072, | ||
| "hidden_size": 768, | ||
| "init_std": 0.02, | ||
| "layerdrop": 0.0, | ||
| "max_position_embeddings": 2048, | ||
| "model_type": "opt", | ||
| "num_attention_heads": 12, | ||
| "num_hidden_layers": 12, | ||
| "pad_token_id": 1, | ||
| "prefix": "</s>", | ||
| "torch_dtype": "float16", | ||
| "transformers_version": "4.21.0.dev0", | ||
| "use_cache": true, | ||
| "vocab_size": 50272, | ||
| "word_embed_proj_dim": 768 | ||
| } | ||
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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "_from_model_config": true, | ||
| "bos_token_id": 2, | ||
| "eos_token_id": 2, | ||
| "pad_token_id": 1, | ||
| "transformers_version": "4.27.0.dev0" | ||
| } |
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.