Skip to content

Commit

Permalink
fix the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbalin committed Sep 19, 2024
1 parent 50cdf78 commit 38e8dd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/python/pytorch/graphbolt/test_dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,12 @@ def test_gpu_sampling_DataLoader(
if asynchronous:
bufferer_cnt += 2 * num_layers + 1 # _preprocess stage has 1.
if cooperative:
bufferer_cnt += 3 * num_layers + 1
bufferer_cnt += 3 * num_layers
if enable_feature_fetch:
bufferer_cnt += 1 # feature fetch has 1.
if cooperative:
# _preprocess stage and each sampling layer.
bufferer_cnt += 3
# _preprocess stage.
bufferer_cnt += 4
datapipe_graph = traverse_dps(dataloader)
bufferers = find_dps(
datapipe_graph,
Expand Down

0 comments on commit 38e8dd3

Please sign in to comment.