Skip to content

Commit 017ba91

Browse files
committed
document gpu/long-running builds
1 parent abb0e2e commit 017ba91

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/maintainer/knowledge_base.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,6 +1668,32 @@ The steps involved are, roughly:
16681668
consider merging the PR opened at step 2 now so it can apply to all the downstream feedstocks.
16691669
16701670
1671+
.. _opengpuserver:
1672+
1673+
Packages that require a GPU or long-running builds
1674+
==================================================
1675+
1676+
conda-forge has access to `an OpenStack server <https://github.com/Quansight/open-gpu-server>`__ that provides GPU builds and long-running builds (beyond the usual 6h limit).
1677+
If your package needs a GPU to be built or tested, or its compilation times are so long that they are currently done manually off-CI, you can request access to these runners.
1678+
To do so:
1679+
1680+
1. Open a PR in `conda-forge/admin-requests <https://github.com/conda-forge/admin-requests>`__. Follow the instructions in the repository README.
1681+
Note you need to request the type of resource you want access to (e.g. GPU runners, or long-running CPU builds)
1682+
Once merged, this will enable the self-hosted Github Actions runners for your feedstock.
1683+
2. In order to trigger jobs for these runners, the maintainer must have read and agreed to the open-gpu-server `terms of use <https://github.com/Quansight/open-gpu-server/blob/main/TOS.md>`__.
1684+
You will need to open a PR in the open-gpu-server repository, as instructed in their README.
1685+
You only need to do this once per maintainer (e.g. if you maintain multiple feedstocks).
1686+
3. Finally, you can configure your feedstock to use the self-hosted runners. A PR will have been created by admin-requests after the PR in step (1) is merged.
1687+
However, due to security measurements imposed by Github, automated re-rendering is not possible when they modify Github Actions workflows.
1688+
You will need to rerender it manually by running ``conda-smithy rerender`` in your machine and then commit and push the result.
1689+
1690+
.. note::
1691+
1692+
Due to some technical and legal limitations, some of the usual automation infrastructure is not available for these runners.
1693+
As mentioned above, the conda-forge bots won't be able to rerender your feedstock automatically anymore.
1694+
Automerge will not function properly either. Also note that the conda-forge bots won't be able to trigger the self-hosted runners.
1695+
Closing and reopening the PR won't work, but a maintainer with sufficient permissions can trigger it manually by pushing an empty commit.
1696+
16711697
.. _osxarm64:
16721698
16731699
Apple Silicon builds

0 commit comments

Comments
 (0)