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

Commit

Permalink
[Optimization] Accelerate dgl create block by bypassing sanity check (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou9402 authored Nov 21, 2024
1 parent 6e77c99 commit f82c3e7
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit f82c3e7

Please sign in to comment.