livepeer/go-livepeer

Specifying -nvidia 0 results in GPU 1 being selected -nvidia 1 selects GPU 0

開放

#2,255 建立於 2022年2月11日

 (17 則留言) (0 個反應) (1 位負責人)Go (223 個分叉)auto 404
area: cligood first issuehelp wantedtype: bug

倉庫指標

星標
 (583 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Describe the bug Specifying -nvidia 0 results in GPU 1 being selected -nvidia 1 selects GPU 0

To Reproduce Steps to reproduce the behavior:

  1. Add -nvidia 0 to start command
  2. Start Livepeer
  3. View console output and observe "Transcoding on these Nvidia GPUs: [1]" Also confirmed in use that the incorrect GPU is selected and used for transcoding.
  4. This behavior also happens in reverse. -nvidia 1 selects GPU 0.

Expected behavior The GPU specified by the -nvidia flag should choose the GPU specified.

Desktop (please complete the following information):

  • OS: WIndows 10 and Windows Server 2019
  • Version Livepeer 0.5.24 - 0.5.27 (probably other versions as well but I have tried it on these versions)

Additional context The behavior is present using both combined O+T and stand alone T configurations I have not tried this on machines with more than 2 GPUs so I don't know what happens if -nvidia 2 is specified

貢獻者指南