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 c683e77 commit 54664fcCopy full SHA for 54664fc
ml-agents/mlagents/torch_utils/torch.py
@@ -53,7 +53,7 @@ def set_torch_config(torch_settings: TorchSettings) -> None:
53
54
if _device.type == "cuda":
55
torch.set_default_device(_device.type)
56
- torch.set_default_dtype(torch.cuda.FloatTensor)
+ torch.set_default_dtype(torch.float32)
57
else:
58
torch.set_default_dtype(torch.float32)
59
logger.debug(f"default Torch device: {_device}")
0 commit comments