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

   This PR enables running on multiple devices .  `Hexagon_luncher_process` 
will create a a single server on each device and  assigns a worker to a test 
whenever a new device becomes available where `pytest-xdist` will transfer to 
the subprocess.
   
   To run on multiple devices, set the `ANDROID_SERIAL_NUMBER` to devices 
separated by a comma. E.g: ` export 
ANDROID_SERIAL_NUMBER="xxx.xxx.xx.xxx:xxxx,yyy.yyy.yy.yyy:yyyy,zzz.zzz.zz.zzz:zzzz"`.
   
   And run the test using the following command:
   `py.test --tx {number_of_devices}*popen --dist=load  test_file`
   
   The `number_of_devices` cab be less or equal to the actually number of 
devices set in the `ANDROID_SERIAL_NUMBER`.
   
   Tests can still be run on a single device or simulator as before. E.g:
   
   ` export ANDROID_SERIAL_NUMBER="xxx.xxx.xx.xxx:xxxx"`
   `pytest test_file`
   
   @mehrdadh @Lunderberg @csullivan 
   
   
   


-- 
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