Skip to content

Commit

Permalink
Merge branch 'dmlc:master' into add-igb-to-sage
Browse files Browse the repository at this point in the history
  • Loading branch information
BowenYao18 committed Aug 26, 2024
2 parents 81ba919 + 0331009 commit 10c86e6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions docs/source/api/python/dgl.graphbolt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ collection of features.
TorchBasedFeature
TorchBasedFeatureStore
DiskBasedFeature
cpu_cached_feature
CPUCachedFeature
gpu_cached_feature
GPUCachedFeature


Expand Down Expand Up @@ -186,6 +184,8 @@ Utilities
:toctree: ../../generated/
:nosignatures:

cpu_cached_feature
gpu_cached_feature
fused_csc_sampling_graph
load_from_shared_memory
from_dglgraph
Expand All @@ -195,9 +195,10 @@ Utilities
seed
index_select
expand_indptr
indptr_edge_ids
add_reverse_edges
exclude_seed_edges
compact_csc_format
unique_and_compact
unique_and_compact_csc_formats

numpy_save_aligned
2 changes: 1 addition & 1 deletion python/dgl/graphbolt/impl/cpu_cached_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def read_async(self, ids: torch.Tensor):
-------
A generator object.
The returned generator object returns a future on
``read_async_num_stages(ids.device)``th invocation. The return result
``read_async_num_stages(ids.device)``\ th invocation. The return result
can be accessed by calling ``.wait()``. on the returned future object.
It is undefined behavior to call ``.wait()`` more than once.
Expand Down
2 changes: 1 addition & 1 deletion python/dgl/graphbolt/impl/gpu_cached_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def read_async(self, ids: torch.Tensor):
-------
A generator object.
The returned generator object returns a future on
``read_async_num_stages(ids.device)``th invocation. The return result
``read_async_num_stages(ids.device)``\ th invocation. The return result
can be accessed by calling ``.wait()``. on the returned future object.
It is undefined behavior to call ``.wait()`` more than once.
Expand Down
4 changes: 2 additions & 2 deletions python/dgl/graphbolt/impl/torch_based_feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def read_async(self, ids: torch.Tensor):
-------
A generator object.
The returned generator object returns a future on
``read_async_num_stages(ids.device)``th invocation. The return result
``read_async_num_stages(ids.device)``\ th invocation. The return result
can be accessed by calling ``.wait()``. on the returned future object.
It is undefined behavior to call ``.wait()`` more than once.
Expand Down Expand Up @@ -434,7 +434,7 @@ def read_async(self, ids: torch.Tensor):
-------
A generator object.
The returned generator object returns a future on
``read_async_num_stages(ids.device)``th invocation. The return result
``read_async_num_stages(ids.device)``\ th invocation. The return result
can be accessed by calling ``.wait()``. on the returned future object.
It is undefined behavior to call ``.wait()`` more than once.
Expand Down

0 comments on commit 10c86e6

Please sign in to comment.