Skip to content

Implement embedding bag convertor #2345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Christina-Young-NVIDIA opened this issue Sep 25, 2023 · 5 comments · Fixed by #2395 or #2677
Closed

Implement embedding bag convertor #2345

Christina-Young-NVIDIA opened this issue Sep 25, 2023 · 5 comments · Fixed by #2395 or #2677
Assignees
Labels
component: converters Issues re: Specific op converters feature request New feature or request

Comments

@Christina-Young-NVIDIA
Copy link
Collaborator

No description provided.

@narendasan
Copy link
Collaborator

  1. 1D input with DD-offsets (ITensor) -> TensorRT logic directly (ILoop)
  2. 2D input -> flattening, generating the offsets on the fly, then running 1D and reshape
  3. Undefined 2D behavior, unclear what happens in this case in PyT

@narendasan
Copy link
Collaborator

pytorch/pytorch#25469

@zewenli98
Copy link
Collaborator

TensorRT team just replied: "There's a known bug 4411383 where a network with DDS but not DS requires an optimization profile. For that bug, the easy way to avoid it in 9.2 was to enable profile sharing (PROFILE_SHARING_0806)."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment