#461 申请资源类型是cpu,但是可以使用分配节点上的GPU资源

Open
created 2 years ago by liwei03 · 0 comments
liwei03 commented 2 years ago
申请cpu资源类型,训练代码中用了一个设备判断的语句,(有gpu就使用gpu,没gpu使用cpu)。这样,虽然选规格的时候用了cpu规格,但是还是会使用gpu跑任务。但pod中显示的资源是cpu。 ![3f9c3402e7b0f23320d719c2571d716](/attachments/b8ab601d-d82a-4654-93b1-a6b2592dcc37) ![06171c1dc8ea4e5a529f0c46549e8f0](/attachments/f408829f-9350-4b94-a324-081ddf96ff5a)
liwei03 added this to the v4.2.0 milestone 2 years ago
liwei03 added the
bug
label 2 years ago
linfj was assigned by liwei03 2 years ago
yangxzh1 changed title from 申请资源类型是cpu,但是可是使用分配节点上的GPU资源 to 申请资源类型是cpu,但是可以使用分配节点上的GPU资源 2 years ago
linfj removed this from the v4.2.0 milestone 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.