Skip to content

Commit

Permalink
fix NDCG scatter_reduce_ arg
Browse files Browse the repository at this point in the history
Summary: tsia

Differential Revision: D65696513
  • Loading branch information
iamzainhuda authored and facebook-github-bot committed Nov 9, 2024
1 parent ead7c90 commit 2d53175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrec/metrics/ndcg.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def _get_ndcg_states(
dim=-1,
index=expanded_session_ids,
src=adjusted_weights, # [num_tasks, batch_size]
reduce="max",
reduce="amax",
)
)

Expand Down

0 comments on commit 2d53175

Please sign in to comment.