Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable GPU testing #47

Open
twiecki opened this issue Sep 26, 2020 · 6 comments
Open

Enable GPU testing #47

twiecki opened this issue Sep 26, 2020 · 6 comments
Labels
CI Involves continuous integration help wanted Extra attention is needed important testing

Comments

@twiecki
Copy link
Contributor

twiecki commented Sep 26, 2020

We currently do not run the test suite for GPUs.

@brandonwillard brandonwillard pinned this issue Sep 26, 2020
@brandonwillard
Copy link
Member

The real blocker is that we need CUDA-enabled hosts in our CI.

@twiecki
Copy link
Contributor Author

twiecki commented Sep 27, 2020

How did Theano do it?

@brandonwillard
Copy link
Member

Not sure, but we can do it—for example—by adding self-hosted CI runners.

@brandonwillard brandonwillard unpinned this issue Oct 2, 2020
@brandonwillard brandonwillard added the CI Involves continuous integration label Oct 2, 2020
@ferrine
Copy link
Contributor

ferrine commented Oct 18, 2020

How much resources do we need?

@brandonwillard
Copy link
Member

At this point, simply any host with an NVIDIA card that can run pygpu.

@aktech
Copy link

aktech commented Jul 15, 2021

Hi @twiecki I am the creator of Cirun.io, "GPU" caught my eye.

FWIW I'll share my two cents. I created a service for problems like these, which is basically running custom machines (including GPUs) in GitHub Actions: https://cirun.io/

It is used in multiple open source projects needing GPU support like the following:

https://github.com/pystatgen/sgkit/
https://github.com/qutip/qutip-cupy

It is fairly simple to setup, all you need is a cloud account (AWS or GCP) and a simple yaml file describing what kind of machines you need and Cirun will spin up ephemeral machines on your cloud for GitHub Actions to run. It's native to GitHub ecosystem, which mean you can see logs/trigger in the Github's interface itself, just like any Github Action run.

Also, note that Cirun is free for Open source projects. (You only pay to your cloud provider for machine usage)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Involves continuous integration help wanted Extra attention is needed important testing
Projects
None yet
Development

No branches or pull requests

4 participants