Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

[Optimization] Accelerate dgl create block by bypassing sanity check #221

Merged
merged 3 commits into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion python/pylibwholegraph/pylibwholegraph/torch/gnn_model.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023, NVIDIA CORPORATION.
# Copyright (c) 2019-2024, NVIDIA CORPORATION.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand Down Expand Up @@ -162,6 +162,7 @@ def create_sub_graph(
),
num_src_nodes=target_gid.size(0),
num_dst_nodes=target_gid_1.size(0),
node_count_check=False,
)
return block
elif framework_name == "cugraph":
Expand Down
Loading