Skip to content
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

[Feature] _make_ordinal_device #2237

Merged
merged 5 commits into from
Jun 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
amend
  • Loading branch information
vmoens committed Jun 19, 2024
commit 6cece06c55cab280749265bff0c8e8e199c86cfe
1 change: 1 addition & 0 deletions test/test_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3729,6 +3729,7 @@ def test_device_ordinal():
moneh=moneh,
mdisc=mdisc,
shape=(-1, 1, 2),
device=device,
)
assert spec.device == torch.device("cuda:0")

Expand Down
Loading