Add str
type to device
parameter of torch.cuda.get_device_name()
on the doc
#126400
Labels
actionable
module: cuda
Related to torch.cuda, and CUDA support in general
module: python frontend
For issues relating to PyTorch's Python frontend
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
📚 The doc issue
The doc explains
device
parameter but it doesn't havestr
type as shown below:Actually,
device
parameter withstr
type works as shown below:Suggest a potential alternative/fix
The doc should also say
str
type as shown below:cc @ptrblck @msaroufim @albanD
The text was updated successfully, but these errors were encountered: