Skip to content

Commit

Permalink
Merge pull request #8 from Alexei-V-Ivanov-AMD/main_20240517
Browse files Browse the repository at this point in the history
Main 20240517
  • Loading branch information
Alexei-V-Ivanov-AMD authored May 18, 2024
2 parents 2e32cf7 + 68b68c6 commit 1422420
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/spec_decode/e2e/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
import pytest
import ray
import torch
from pynvml import (nvmlDeviceGetHandleByIndex, nvmlDeviceGetMemoryInfo,
nvmlInit)
from vllm.utils import is_hip

if (not is_hip()):
from pynvml import (nvmlDeviceGetHandleByIndex, nvmlDeviceGetMemoryInfo,
nvmlInit)

from vllm import LLM
from vllm.engine.arg_utils import AsyncEngineArgs
Expand Down

0 comments on commit 1422420

Please sign in to comment.