-
Notifications
You must be signed in to change notification settings - Fork 453
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
Passing Device
as str
in EmbeddingBagCollectionSharder().shard
#2624
Comments
Hi @ArijitSinghEDA, could you share more info about how you're calling Specifically, could you share how you are initializing the |
@sarckk I am attaching my code below:
|
|
I am following the tutorial given here TorchRec Tutorial
I am on the section Planner Result. When I am trying the steps given here, I get the following error:
If I run the line
torch.device("cuda")
separately, then it has thetype
attribute, but still I am getting the above mentioned errorThe text was updated successfully, but these errors were encountered: