gpt4 book ai didi

GitHub Actions - 同一台机器上的并行自托管运行器

转载 作者:行者123 更新时间:2023-12-04 11:29:04 25 4
gpt4 key购买 nike

Parallelism in Self-Hosted Runners 主题相关的问题:

One self-hosted runner can only run one job at a time, when no available runners are idle, the subsequent jobs will be in queueing until have available runners are idle.



我是否可以通过运行多个自托管运行器来实现并行性 在具有多个 CPU 的同一台机器上 ?

GitHub Actions - Getting Started - Usage Limits我发现:

The number of concurrent jobs you can run in your account depends on your GitHub plan, as indicated in the following table. If exceeded, any additional jobs are queued. There are no concurrency limits for self-hosted runners.



但我不确定如何在多核机器的上下文中理解这一点。

最佳答案

一名运行者一次只能运行一项工作。这与该机器有多少个内核无关。
但我尝试了一些东西。在同一台机器上多次运行Github Self-hosted runner是没有问题的。即使将其安装为服务也没有问题。只需使用两个不同的名称。

关于GitHub Actions - 同一台机器上的并行自托管运行器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61124368/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com