Skip to content

Fix paddings order in _pad_dense_tensor #800

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

areiner222
Copy link

For tensors of dim==3, I believe the order of the padding is incorrect (this became evident when testing examples with EmebddingOps). I've updated the pad_diff to apply to the sequence axis.

Goals ⚽

Enable 3d tensors when max_sequence_length in the MerlinDataLoader is set (applies to using EmbeddingOps for pretrained embeddings)

For tensors of dim==3, I believe the order of the padding is incorrect (this became evident when testing examples with EmebddingOps). I've updated the pad_diff to apply to the sequence axis.
Copy link

copy-pr-bot bot commented Mar 25, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

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.

1 participant