Skip to content

Commit

Permalink
update trt-llm
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Jan 13, 2024
1 parent 6c293fe commit f74ca07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimum_benchmark/backends/tensorrt_llm/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
class TRTLLMBackend(Backend):
NAME = "tensorrt-llm"

def __init__(self, model: str, task: str, device: str, hub_kwargs: Dict[str, Any]) -> None:
super().__init__(model, task, device, hub_kwargs)
def __init__(self, model: str, task: str, library: str, device: str, hub_kwargs: Dict[str, Any]):
super().__init__(model, task, library, device, hub_kwargs)
self.validate_device()
self.validate_model_type()

Expand Down

0 comments on commit f74ca07

Please sign in to comment.