Skip to content

Commit

Permalink
removing device kwargs since not used
Browse files Browse the repository at this point in the history
  • Loading branch information
apbose committed Apr 4, 2024
1 parent 7ce66ea commit e099dbb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions py/torch_tensorrt/dynamo/conversion/ops_evaluators.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def aten_ops_rand(
kwargs: Dict[str, Argument],
name: str,
) -> Union[TRTTensor, Sequence[TRTTensor]]:
device = kwargs.get("device", None)
return np.random.rand(*args)


Expand All @@ -87,7 +86,6 @@ def aten_ops_randn(
kwargs: Dict[str, Argument],
name: str,
) -> Union[TRTTensor, Sequence[TRTTensor]]:
device = kwargs.get("device", None)
return np.random.randn(*args)


Expand Down Expand Up @@ -119,5 +117,4 @@ def aten_ops_randperm(
kwargs: Dict[str, Argument],
name: str,
) -> Union[TRTTensor, Sequence[TRTTensor]]:
device = kwargs.get("device", None)
return np.random.permutation(*args)

0 comments on commit e099dbb

Please sign in to comment.