We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77ec968 commit ad399efCopy full SHA for ad399ef
tests/test_uvm_tensor.py
@@ -20,6 +20,9 @@
20
@pytest.mark.cpu_and_gpu
21
def test_uvm_tensor() -> None:
22
if torch.cuda.is_available() and _UVM_TENSOR_AVAILABLE:
23
+ print("_UVM_TENSOR_AVAILABLE", _UVM_TENSOR_AVAILABLE)
24
+ print("torch.cuda.device_count(): ", torch.cuda.device_count())
25
+ print("torch.cuda.current_device(): ", torch.cuda.current_device())
26
uvm_tensor = torch.rand(
27
(64, 64),
28
out=new_managed_tensor(
0 commit comments