Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-harmonics
Commits
f72a48dd
Commit
f72a48dd
authored
Jul 21, 2025
by
Boris Bonev
Browse files
fixing more issues from merge
parent
828f2ba3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
torch_harmonics/distributed/distributed_convolution.py
torch_harmonics/distributed/distributed_convolution.py
+3
-8
No files found.
torch_harmonics/distributed/distributed_convolution.py
View file @
f72a48dd
...
@@ -76,7 +76,7 @@ def _split_distributed_convolution_tensor_s2(
...
@@ -76,7 +76,7 @@ def _split_distributed_convolution_tensor_s2(
):
):
"""
"""
Splits a pre-computed convolution tensor along the latitude dimension for distributed processing.
Splits a pre-computed convolution tensor along the latitude dimension for distributed processing.
This function takes a convolution tensor that was generated by the serial routine and filters
This function takes a convolution tensor that was generated by the serial routine and filters
it to only include entries corresponding to the local latitude slice assigned to this process.
it to only include entries corresponding to the local latitude slice assigned to this process.
The filtering is done based on the polar group rank and the computed split shapes.
The filtering is done based on the polar group rank and the computed split shapes.
...
@@ -100,11 +100,6 @@ def _split_distributed_convolution_tensor_s2(
...
@@ -100,11 +100,6 @@ def _split_distributed_convolution_tensor_s2(
Filtered values corresponding to the local latitude slice
Filtered values corresponding to the local latitude slice
"""
"""
assert
len
(
in_shape
)
==
2
assert
len
(
out_shape
)
==
2
kernel_size
=
filter_basis
.
kernel_size
nlat_in
,
nlon_in
=
in_shape
nlat_in
,
nlon_in
=
in_shape
nlat_out
,
nlon_out
=
out_shape
nlat_out
,
nlon_out
=
out_shape
...
@@ -154,7 +149,7 @@ class DistributedDiscreteContinuousConvS2(DiscreteContinuousConv):
...
@@ -154,7 +149,7 @@ class DistributedDiscreteContinuousConvS2(DiscreteContinuousConv):
groups: Optional[int]
groups: Optional[int]
Number of groups
Number of groups
grid_in: Optional[str]
grid_in: Optional[str]
Grid type for the input tensor
Grid type for the input tensor
grid_out: Optional[str]
grid_out: Optional[str]
Grid type for the output tensor
Grid type for the output tensor
bias: Optional[bool]
bias: Optional[bool]
...
@@ -327,7 +322,7 @@ class DistributedDiscreteContinuousConvTransposeS2(DiscreteContinuousConv):
...
@@ -327,7 +322,7 @@ class DistributedDiscreteContinuousConvTransposeS2(DiscreteContinuousConv):
groups: Optional[int]
groups: Optional[int]
Number of groups
Number of groups
grid_in: Optional[str]
grid_in: Optional[str]
Grid type for the input tensor
Grid type for the input tensor
grid_out: Optional[str]
grid_out: Optional[str]
Grid type for the output tensor
Grid type for the output tensor
bias: Optional[bool]
bias: Optional[bool]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment