Commit 66b809cc authored by zhuwenwen's avatar zhuwenwen
Browse files

Merge tag 'v0.7.2' into v0.7.2-dev

parents 37b63c24 0408efc6
# SPDX-License-Identifier: Apache-2.0
import gc import gc
import json import json
import os import os
......
# 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`.
......
# SPDX-License-Identifier: Apache-2.0
from dataclasses import asdict from dataclasses import asdict
import pytest import pytest
......
# SPDX-License-Identifier: Apache-2.0
import vllm import vllm
......
# SPDX-License-Identifier: Apache-2.0
from typing import List from typing import List
import pytest import pytest
......
# SPDX-License-Identifier: Apache-2.0
import json import json
import logging import logging
import os import os
......
# 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
......
# 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
......
# SPDX-License-Identifier: Apache-2.0
"""Tests for the SamplingParams class. """Tests for the SamplingParams class.
""" """
from vllm import SamplingParams from vllm import SamplingParams
......
# SPDX-License-Identifier: Apache-2.0
import pytest import pytest
import torch import torch
......
# 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
......
# SPDX-License-Identifier: Apache-2.0
import multiprocessing as mp import multiprocessing as mp
import os import os
import shutil import shutil
......
# SPDX-License-Identifier: Apache-2.0
import asyncio import asyncio
import os import os
import socket import socket
......
# SPDX-License-Identifier: Apache-2.0
from copy import deepcopy from copy import deepcopy
import os import os
......
# 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
......
# 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
......
# SPDX-License-Identifier: Apache-2.0
import pytest import pytest
import os import os
from transformers import PreTrainedTokenizerBase from transformers import PreTrainedTokenizerBase
......
# SPDX-License-Identifier: Apache-2.0
import asyncio import asyncio
import os import os
import sys import sys
......
# 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
......
# SPDX-License-Identifier: Apache-2.0
import os import os
import pytest import pytest
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment