Skip to content

Commit

Permalink
Merge branch 'branch-24.06' into branch-24.06-merge-24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-rliu authored Mar 21, 2024
2 parents a7fd98d + fc89f9d commit 63fbc12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ repos:
- id: rapids-dependency-file-generator
args: ["--clean"]
- repo: https://github.com/rapidsai/pre-commit-hooks
rev: v0.0.1
rev: v0.0.3
hooks:
- id: verify-copyright
files: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,10 @@ def forward(
if edge_envelope is not None:
out = out * edge_envelope.view(-1, 1)

out = scatter_reduce(out, dst, dim=0, dim_size=num_dst_nodes, reduce=reduce)
dtype = out.dtype
out = scatter_reduce(
out.float(), dst, dim=0, dim_size=num_dst_nodes, reduce=reduce
).to(dtype)

if self.batch_norm:
out = self.batch_norm(out)
Expand Down

0 comments on commit 63fbc12

Please sign in to comment.