mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-24 20:31:19 +08:00
ruff
Signed-off-by: qli88 <qiang.li2@amd.com>
This commit is contained in:
parent
23b4fd1715
commit
c810903fc9
@ -96,6 +96,7 @@ class TestTwoTokenBadWord:
|
|||||||
|
|
||||||
def test_two_token_bad_word(self, vllm_runner):
|
def test_two_token_bad_word(self, vllm_runner):
|
||||||
# TODO: Remove once graph mode is fixed for distilbert/distilgpt2 on ROCm.
|
# TODO: Remove once graph mode is fixed for distilbert/distilgpt2 on ROCm.
|
||||||
|
|
||||||
eager_mode = current_platform.is_rocm()
|
eager_mode = current_platform.is_rocm()
|
||||||
|
|
||||||
with vllm_runner(self.MODEL, dtype="half", enforce_eager=eager_mode) as llm:
|
with vllm_runner(self.MODEL, dtype="half", enforce_eager=eager_mode) as llm:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user