Skip to content

Commit

Permalink
remove cuda device assertion (EleutherAI#2680)
Browse files Browse the repository at this point in the history
  • Loading branch information
baberabb authored Feb 7, 2025
1 parent 8fe3435 commit a40fe42
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lm_eval/models/vllm_causallms.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def __init__(
"Please install vllm via `pip install lm-eval[vllm]` or `pip install -e .[vllm]`"
)

assert "cuda" in device or device is None, "vLLM only supports CUDA"
assert max_length is None or max_model_len is None, (
"Either max_length or max_model_len may be provided, but not both"
)
Expand Down

0 comments on commit a40fe42

Please sign in to comment.