_mps
Patches to torch.mps functions from https://github.com/pytorch/pytorch/pull/124676 to fix MPS compatibility with torch.random.fork_rng.
Functions:
Name | Description |
---|---|
device_count |
Returns the number of available MPS devices. |
get_rng_state |
Returns the random number generator state as a ByteTensor. |
set_rng_state |
Sets the random number generator state. |