You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by GitBox <gi...@apache.org> on 2020/11/16 17:49:16 UTC

[GitHub] [singa] moazreyad commented on issue #802: Adding GPU testing to Github workflows

moazreyad commented on issue #802:
URL: https://github.com/apache/singa/issues/802#issuecomment-728221612


   > @moazreyad could you please advise us how to achieve the goal? (Adding GPU testing to Github workflows
   > #802), I will ask some RAs to help me for the implementation.
   
   To achieve this goal, we will need these steps:
   
   First, we need to get github tokens from by opening a ticket at Apache INFRA. Apache has some information about github self hosted runners [here](https://infra.apache.org/self-hosted-runners.html). They don't recommend using it for some security reasons, so we have to explain that GPU build and test is important for SINGA. We also need to make sure the server which will run the github workflows is secure and that the known vulnerabilities of self-hosted runners will not occur in the NUS server. (for example, someone may login to the NUS server and gain access to SINGA github repository admin tokens.)
   
   To complete this step, we may check [this ticket](https://issues.apache.org/jira/browse/INFRA-19875) by Apache Arrow and open a similar one for SINGA.
   
   Second, we create a docker image for the Runner and configure the workflows. If we use Linux, we need to install the [Runner](https://github.com/actions/runner) and its [pre-reqs](https://github.com/actions/runner/blob/main/docs/start/envlinux.md) in the Linux docker machine. The machine should also have the github tokens from the first step. Check the [Apache Arrow implementation](https://github.com/apache/arrow/pull/6512) for more details.


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

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