Skip to content

Conversation

akhilg-nv
Copy link
Collaborator

No description provided.

in_channels: int,
out_channels: int,
kernel_dims: Sequence[int],
in_channels: Union[int, DimensionSize],
Copy link
Collaborator

Choose a reason for hiding this comment

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

How would this work? TRT expects the channel dimension to be known at build-time.

Copy link
Collaborator

@yizhuoz004 yizhuoz004 Aug 14, 2025

Choose a reason for hiding this comment

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

I think it has to be a known constant because the in_channels decides the weight's shape. You should be able to get a static number for it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Then we'd probably want to explicitly evaluate it in the user code.

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.

3 participants