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 json
import os
......
# SPDX-License-Identifier: Apache-2.0
"""Test hashing of cache blocks.
Run `pytest tests/test_cache_block_hashing.py`.
......
# SPDX-License-Identifier: Apache-2.0
from dataclasses import asdict
import pytest
......
# SPDX-License-Identifier: Apache-2.0
import vllm
......
# SPDX-License-Identifier: Apache-2.0
from typing import List
import pytest
......
# SPDX-License-Identifier: Apache-2.0
import json
import logging
import os
......
# SPDX-License-Identifier: Apache-2.0
import random
from typing import Tuple
from unittest.mock import patch
......
# SPDX-License-Identifier: Apache-2.0
"""Containing tests that check for regressions in vLLM's behavior.
It should include tests that are reported by users and making sure they
......
# SPDX-License-Identifier: Apache-2.0
"""Tests for the SamplingParams class.
"""
from vllm import SamplingParams
......
# SPDX-License-Identifier: Apache-2.0
import pytest
import torch
......
# SPDX-License-Identifier: Apache-2.0
import pytest
from vllm.model_executor.layers.sampler import SamplerOutput
......
# SPDX-License-Identifier: Apache-2.0
import multiprocessing as mp
import os
import shutil
......
# SPDX-License-Identifier: Apache-2.0
import asyncio
import os
import socket
......
# SPDX-License-Identifier: Apache-2.0
from copy import deepcopy
import os
......
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Dict, Generator, List, Optional
import pytest
......
# SPDX-License-Identifier: Apache-2.0
"""
This test file includes some cases where it is inappropriate to
only get the `eos_token_id` from the tokenizer as defined by
......
# SPDX-License-Identifier: Apache-2.0
import pytest
import os
from transformers import PreTrainedTokenizerBase
......
# SPDX-License-Identifier: Apache-2.0
import asyncio
import os
import sys
......
# SPDX-License-Identifier: Apache-2.0
import pytest
import pytest_asyncio
# from huggingface_hub import snapshot_download
......
# SPDX-License-Identifier: Apache-2.0
import os
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