Skip to content

Conversation

@v0i0
Copy link
Contributor

@v0i0 v0i0 commented Mar 31, 2025

No description provided.

@v0i0 v0i0 requested review from borisfom and mariogeiger March 31, 2025 07:23
@v0i0
Copy link
Contributor Author

v0i0 commented Mar 31, 2025

i don't get why those pipelines are failing, any input @mariogeiger ?

@mariogeiger
Copy link
Collaborator

i don't get why those pipelines are failing, any input @mariogeiger ?

Oh crap sorry about that. On the CI I've installed a version of cuequivariance-ops that is compatible with the "advanced batching" but not with main. Let me switch back

@mariogeiger
Copy link
Collaborator

cuequivariance-torch (ubuntu-latest, 3.10) is failing because you don't have an escape mechanism to run the tests on cpu. The simplest fist is to skip the tests when there are no GPU available.

@mariogeiger
Copy link
Collaborator

I changed the cuequivariance-ops packages in the CI, now cuequivariance-torch (self-hosted, 3.12) is failing with a different error

@v0i0
Copy link
Contributor Author

v0i0 commented Mar 31, 2025

@mariogeiger looks like the remaining failure is not even in code i changed. do you know what's going on?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment on lines 95 to 101
if operand_extent is None:
(operand_extent,) = list(o.get_dims(0))
else:
torch._assert(
operand_extent == list(o.get_dims(0))[0],
"all operands must have the same extent",
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if operand_extent is None:
(operand_extent,) = list(o.get_dims(0))
else:
torch._assert(
operand_extent == list(o.get_dims(0))[0],
"all operands must have the same extent",
)
if operand_extent is None:
(operand_extent,) = o.segment_shape
else:
torch._assert(
(operand_extent,) == o.segment_shape,
"all operands must have the same extent",
)

Sorry my bad, this is nicer. (segment_shape is a property that exist only if all_same_segment_shape() is true.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

)


class SegmentedPolynomial(nn.Module):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a docstring?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@mariogeiger mariogeiger merged commit 6762a1d into NVIDIA:main Apr 3, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants