Commit 9697ad1
Use 8-core-ubuntu for conda build (#2328)
Summary:
Conda build step has been hanging & getting cancelled without explanation recently. The best explanation I could get so far was:
```
The hosted runner: GitHub Actions 338 lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
```
Assigning it a larger runner to see if it helps -- I believe the default is ~~2 core 7GB ram~~ 4 core & 16GB ram. The workflow is naturally slow, so worst case this would help with that.
Update: I did not observe any noticeable improvement in the runtime after switching to 8 core workers, though I also did not observe the same error ~~(on 1 attempt so far)~~.
On 8 core -- success: https://github.com/pytorch/botorch/actions/runs/8916050507/job/24486781464
On 4 core (4-core-ubuntu) -- failed with a different error than usual: https://github.com/pytorch/botorch/actions/runs/8915839684/job/24486173601
On default (also 4 core) -- observed a mixture of failures (with `Error: The operation was canceled.`) and successes. This workflow fails at 1st attempt and passes on 2nd attempt: https://github.com/pytorch/botorch/actions/runs/8908325162/job/24463737848
Two more attempts with 8 core -- both successful:
- https://github.com/pytorch/botorch/actions/runs/8916396425/job/24487705712
- https://github.com/pytorch/botorch/actions/runs/8916397253/job/24487708888
Pull Request resolved: #2328
Reviewed By: Balandat
Differential Revision: D56862471
Pulled By: saitcakmak
fbshipit-source-id: a31cb1a0564ed04da42e0ecd7dec7f91afce69971 parent 9634713 commit 9697ad1
2 files changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
| |||
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | | - | |
| 49 | + | |
52 | 50 | | |
53 | | - | |
54 | | - | |
55 | 51 | | |
56 | 52 | | |
57 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 65 | + | |
70 | 66 | | |
71 | 67 | | |
72 | 68 | | |
| |||
0 commit comments