pytorch
8869897e - [replicate] support simpler device_id (#100217)

Commit
1 year ago
[replicate] support simpler device_id (#100217) Allow passing in `device_id=[device]` regardless of CPU or GPU. We modify the kwarg as needed to pass to DDP. Pull Request resolved: https://github.com/pytorch/pytorch/pull/100217 Approved by: https://github.com/awgu, https://github.com/zhaojuanmao
Author
Committer
Parents
Loading