Skip to content

Commit

Permalink
remove address checking
Browse files Browse the repository at this point in the history
  • Loading branch information
liuanji committed Jan 9, 2024
1 parent fbd191b commit a9b2cf9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/pyjuice/utils/kernel_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ def wrapper(*args, **kwargs):
if "batch_size" in kwargs:
signature_list.append(("batch_size", kwargs["batch_size"]))

for i, arg in enumerate(args):
if isinstance(arg, torch.Tensor):
signature_list.append((i, id(arg)))

grid_length = len(grid)
grid0, grid1, grid2 = grid[0], grid[1] if grid_length > 1 else 1, grid[2] if grid_length > 2 else 1

Expand Down

0 comments on commit a9b2cf9

Please sign in to comment.