Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
66b809cc
Commit
66b809cc
authored
Feb 08, 2025
by
zhuwenwen
Browse files
Merge tag 'v0.7.2' into v0.7.2-dev
parents
37b63c24
0408efc6
Changes
1000
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
36 additions
and
0 deletions
+36
-0
tests/tensorizer_loader/test_tensorizer.py
tests/tensorizer_loader/test_tensorizer.py
+2
-0
tests/test_cache_block_hashing.py
tests/test_cache_block_hashing.py
+1
-0
tests/test_config.py
tests/test_config.py
+2
-0
tests/test_embedded_commit.py
tests/test_embedded_commit.py
+2
-0
tests/test_inputs.py
tests/test_inputs.py
+2
-0
tests/test_logger.py
tests/test_logger.py
+2
-0
tests/test_logits_processor.py
tests/test_logits_processor.py
+2
-0
tests/test_regression.py
tests/test_regression.py
+1
-0
tests/test_sampling_params.py
tests/test_sampling_params.py
+1
-0
tests/test_scalartype.py
tests/test_scalartype.py
+2
-0
tests/test_sequence.py
tests/test_sequence.py
+2
-0
tests/test_sharded_state_loader.py
tests/test_sharded_state_loader.py
+2
-0
tests/test_utils.py
tests/test_utils.py
+2
-0
tests/tokenization/test_cached_tokenizer.py
tests/tokenization/test_cached_tokenizer.py
+2
-0
tests/tokenization/test_detokenize.py
tests/tokenization/test_detokenize.py
+2
-0
tests/tokenization/test_get_eos.py
tests/tokenization/test_get_eos.py
+1
-0
tests/tokenization/test_tokenizer.py
tests/tokenization/test_tokenizer.py
+2
-0
tests/tokenization/test_tokenizer_group.py
tests/tokenization/test_tokenizer_group.py
+2
-0
tests/tool_use/conftest.py
tests/tool_use/conftest.py
+2
-0
tests/tool_use/test_chat_completion_request_validations.py
tests/tool_use/test_chat_completion_request_validations.py
+2
-0
No files found.
Too many changes to show.
To preserve performance only
1000 of 1000+
files are displayed.
Plain diff
Email patch
tests/tensorizer_loader/test_tensorizer.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
gc
import
gc
import
json
import
json
import
os
import
os
...
...
tests/test_cache_block_hashing.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
"""Test hashing of cache blocks.
"""Test hashing of cache blocks.
Run `pytest tests/test_cache_block_hashing.py`.
Run `pytest tests/test_cache_block_hashing.py`.
...
...
tests/test_config.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
from
dataclasses
import
asdict
from
dataclasses
import
asdict
import
pytest
import
pytest
...
...
tests/test_embedded_commit.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
vllm
import
vllm
...
...
tests/test_inputs.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
from
typing
import
List
from
typing
import
List
import
pytest
import
pytest
...
...
tests/test_logger.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
json
import
json
import
logging
import
logging
import
os
import
os
...
...
tests/test_logits_processor.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
random
import
random
from
typing
import
Tuple
from
typing
import
Tuple
from
unittest.mock
import
patch
from
unittest.mock
import
patch
...
...
tests/test_regression.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
"""Containing tests that check for regressions in vLLM's behavior.
"""Containing tests that check for regressions in vLLM's behavior.
It should include tests that are reported by users and making sure they
It should include tests that are reported by users and making sure they
...
...
tests/test_sampling_params.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
"""Tests for the SamplingParams class.
"""Tests for the SamplingParams class.
"""
"""
from
vllm
import
SamplingParams
from
vllm
import
SamplingParams
...
...
tests/test_scalartype.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
pytest
import
pytest
import
torch
import
torch
...
...
tests/test_sequence.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
pytest
import
pytest
from
vllm.model_executor.layers.sampler
import
SamplerOutput
from
vllm.model_executor.layers.sampler
import
SamplerOutput
...
...
tests/test_sharded_state_loader.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
multiprocessing
as
mp
import
multiprocessing
as
mp
import
os
import
os
import
shutil
import
shutil
...
...
tests/test_utils.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
asyncio
import
asyncio
import
os
import
os
import
socket
import
socket
...
...
tests/tokenization/test_cached_tokenizer.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
from
copy
import
deepcopy
from
copy
import
deepcopy
import
os
import
os
...
...
tests/tokenization/test_detokenize.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
from
typing
import
Any
,
Dict
,
Generator
,
List
,
Optional
from
typing
import
Any
,
Dict
,
Generator
,
List
,
Optional
import
pytest
import
pytest
...
...
tests/tokenization/test_get_eos.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
"""
"""
This test file includes some cases where it is inappropriate to
This test file includes some cases where it is inappropriate to
only get the `eos_token_id` from the tokenizer as defined by
only get the `eos_token_id` from the tokenizer as defined by
...
...
tests/tokenization/test_tokenizer.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
pytest
import
pytest
import
os
import
os
from
transformers
import
PreTrainedTokenizerBase
from
transformers
import
PreTrainedTokenizerBase
...
...
tests/tokenization/test_tokenizer_group.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
asyncio
import
asyncio
import
os
import
os
import
sys
import
sys
...
...
tests/tool_use/conftest.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
pytest
import
pytest
import
pytest_asyncio
import
pytest_asyncio
# from huggingface_hub import snapshot_download
# from huggingface_hub import snapshot_download
...
...
tests/tool_use/test_chat_completion_request_validations.py
View file @
66b809cc
# SPDX-License-Identifier: Apache-2.0
import
os
import
os
import
pytest
import
pytest
...
...
Prev
1
…
19
20
21
22
23
24
25
26
27
…
50
Next
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