Skip to content

Fix paddings order in _pad_dense_tensor#800

Open
areiner222 wants to merge 1 commit intoNVIDIA-Merlin:mainfrom
areiner222:patch-1
Open

Fix paddings order in _pad_dense_tensor#800
areiner222 wants to merge 1 commit intoNVIDIA-Merlin:mainfrom
areiner222:patch-1

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-pr-bot
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