You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm working on getting the DLRM 10GB model to work with onnxruntime. I had the following questions:
I've exported the model from pytorch scripts using various ways.
a. Added a torch.onnx.export in the dlrm_pytorch script to export the model as soon as it's initialized. The model size was 85kb.
b. Instantiated a model in pytorch ( in a standalone script) and loaded the weights. Used torch.onnx.export. Failed due to 2GB export limit in torch.
So is the model size in this supposed to be this small?
Is there a working example of this model in onnxruntime? I've worked previously with other model, but with DLRM, how am I supposed to use the weight files is the confusing part. Any help would be appreciated?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm working on getting the DLRM 10GB model to work with onnxruntime. I had the following questions:
a. Added a torch.onnx.export in the dlrm_pytorch script to export the model as soon as it's initialized. The model size was 85kb.
b. Instantiated a model in pytorch ( in a standalone script) and loaded the weights. Used torch.onnx.export. Failed due to 2GB export limit in torch.
c. Downloaded the onnx.tar file from [here] (https://dlrm.s3-us-west-1.amazonaws.com/models/tb0875_10M.onnx.tar). I've got the top, bottom and embedding weights. But the model obtained is still 37kb.
So is the model size in this supposed to be this small?
Beta Was this translation helpful? Give feedback.
All reactions