[Bug Fix] set device_id=current_id when calling Tensor.cuda() without device_id (#43510)
* make device_id=current_id when not given * use tracer to get current device id
Showing
想要评论请 注册 或 登录
* make device_id=current_id when not given * use tracer to get current device id