torchrec icon indicating copy to clipboard operation
torchrec copied to clipboard

Pytorch domain library for recommendation systems

Results 455 torchrec issues
Sort by recently updated
recently updated
newest added

Differential Revision: D59524843

CLA Signed
fb-exported

Summary: # context * add sharding_type argument to the pipeline benchmark * better control of different sharding types Differential Revision: D64676132

CLA Signed
fb-exported

I followed the steps in https://github.com/pytorch/torchrec/tree/main/torchrec/inference to test inference. But in 4. Build inference library and example server, the Build server and C++ protobufs failed. In particular, after I input...

Summary: For a minimally intrusive change that works so users don't unexpectedly get Grid Sharding, it must be specified in parameter constraints for the sharding option to be considered. Otherwise...

CLA Signed
fb-exported

Summary: Precommit (https://github.com/pytorch/torchrec/actions/runs/11396841323/job/31711354638) is failing due to formatting issue Differential Revision: D64606855

CLA Signed
fb-exported

Summary: torch.rand() defaults to using the default device. If torch.device has been globally set to 'meta', then this breaks the planner code. Force the device to cpu instead. This ensures...

CLA Signed
fb-exported

What is the difference between `ManagedCollisionEmbeddingCollection` and `ITEPEmbeddingBagCollection`, and when should I use `ManagedCollisionEmbeddingCollection` versus `ITEPEmbeddingBagCollection`?

Summary: In compiled region, instead of calling `dist.Work.wait()`, we will call `torch.ops._c10d_functional.wait_tensor()` on the dist.Work's output tensor. This way, we can capture the `wait_tensor()` op within the torch.compile graph (instead...

CLA Signed
fb-exported

Summary: title, this breaks deploy models Differential Revision: D64237929

CLA Signed
fb-exported

Summary: Slightly optimizes the way KJT.permute handles keys and lengths - which could come in handy for KJTs with large number of keys (i.e. lots of features bundled into a...

CLA Signed
fb-exported