Lunderberg opened a new pull request, #16990:
URL: https://github.com/apache/tvm/pull/16990

   Prior to this commit, while the `num_workers` argument was provided to the 
`disco.Session` object, it could not be determined from an existing 
`disco.Session` object.  As a result, functions that interacted with a 
multi-GPU setup frequently required separate `num_workers` and `disco_session` 
argument, which could erroneously be out-of-sync (e.g. passing the incorrect 
`num_workers`, or omitting the `disco_session` argument when `num_workers>1`).
   
   To remove this class of errors, this commit adds a 
`disco.Session.num_workers` property.  The separate `num_workers` argument is 
no longer necessary, as it can be determined from the `disco.Session` instance.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to