Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Panev <[email protected]>
  • Loading branch information
Kh4L committed Jul 7, 2023
1 parent da89da4 commit 84c7a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_geometric/sampler/neighbor_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def hook_func_with_nvtx(func_name):
def hooked_func(*args, **kwargs):
nvtx_handle = torch.cuda.nvtx.range_start(
f"[Sampler] {func_name} for {self}")
ret = func(**kwargs)
ret = func(*args, **kwargs)
torch.cuda.nvtx.range_end(nvtx_handle)
return ret

Expand Down

0 comments on commit 84c7a6d

Please sign in to comment.