Repository navigation
ci: install Miniconda under the runner's temp dir on self-hosted AMD runners - #3
Merged
Merged
Conversation
setup-miniconda defaults to ~/miniconda3 and ~/conda_pkgs_dir. On the DevLab Strix Halo runners the home directory is RAM and outlives the job; runner.temp is on scratch and is cleaned after it.
Owner
|
@dhekimian Thanks for the PR, and for providing the DevLab runners! They've been a huge help. With access to them, I've been able to develop and test a new GGML HIP kernel implementation that improves generation speed by roughly 10–30% across several models, with larger gains in some cases. I'll also apply this change to the main audio.cpp HIP release workflow, preserving your authorship. |
0xShug0
pushed a commit
to 0xShug0/audio.cpp
that referenced
this pull request
Nov 4, 2026
Adapt the RAM-backed home directory fix from 0xShug0/audio.cpp-server-frontends#3 to the pip-based HIP release workflow.
0xShug0
added a commit
to 0xShug0/audio.cpp
that referenced
this pull request
Nov 4, 2026
Adapt the RAM-backed home directory fix from 0xShug0/audio.cpp-server-frontends#3 to the pip-based HIP release workflow. Co-authored-by: David Hekimian <[email protected]>
dhekimian
added a commit
to dhekimian/audio.cpp-server-frontends
that referenced
this pull request
Nov 4, 2026
setup-miniconda rewrites the runner account's ~/.profile (conda init, set -eo pipefail, conda activate) as well as the PowerShell profile, so an install under runner.temp leaves later login shells pointing at a deleted conda on Linux too.
0xShug0
added a commit
that referenced
this pull request
Nov 4, 2026
ci: revert #3 (Miniconda back to its default location)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi! I run the DevLab Strix Halo runners (
devlab-dispatch) your HIP jobs use.On those machines the home directory is in RAM: the root filesystem is a tmpfs overlay, and the same memory is the iGPU's.
setup-minicondainstalls to~/miniconda3and caches packages in~/conda_pkgs_dirby default. On 2026-11-03 that was 4.2–4.4 GB of RAM on each of 3 hosts, left behind after your jobs finished.This PR points both at
${{ runner.temp }}. That's on the machine's scratch disk and is cleaned after every job, so nothing builds up in RAM. The cost is a fresh Miniconda install per job, about a minute. If you'd rather keep a warm install between jobs, tell us and we'll provide a persistent location on scratch for it.No other behavior changes: same Python version, environment and activation.