Skip to content

Releases: gpustack/runtime

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 06 Jul 11:48
1d1e894
fix(detector): stop leaking memory when a lib init keeps failing (#14)

The detector wrappers cache the library init failure and re-raise the same
exception object on every subsequent init() call to fail fast. Re-raising one
object is a leak: CPython appends a frame to its __traceback__ on each raise,
and those frames retain the caller's (detect()) locals indefinitely.

On a hybrid NVIDIA+AMD host where ROCm SMI init fails permanently, detect()
calls rsmi_init() every heartbeat/metrics tick, so anonymous RSS grows without
bound (gpustack/gpustack#5342).

Raise a fresh clone of the cached exception instead, via a new
clone_exception() helper. It clones with BaseException.__new__ + a copy of
args/__dict__ rather than type(exc)(*exc.args), because some binding error
types (e.g. amdsmi's AmdSmiLibraryException) take an error code and leave args
empty, so they can't be reconstructed from args.

Applied across all wrappers with the pattern: pyrocmsmi, pyamdsmi, pynvml,
pydcmi, pymtml, pyhgml, pyixml, pymxsml.

v0.2.0post5

Choose a tag to compare

@github-actions github-actions released this 12 Jun 09:02
94ebfdd
fix(iluvatar): move memory query out of health check condition (#13)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>

v0.2.0post4

Choose a tag to compare

@github-actions github-actions released this 12 Jun 08:33
refactor: adjust detect

Signed-off-by: thxCode <thxcode0824@gmail.com>

v0.2.0post3

Choose a tag to compare

@github-actions github-actions released this 07 Jun 08:20
refactor: adapt gpustack operator

Signed-off-by: thxCode <thxcode0824@gmail.com>

v0.2.0post2

Choose a tag to compare

@github-actions github-actions released this 27 May 06:46
917af32
chore: bump runner to 0.1.26.post2 (#12)

v0.2.0post1

Choose a tag to compare

@github-actions github-actions released this 19 May 12:21
fix: leaking amd card fd

Signed-off-by: thxCode <thxcode0824@gmail.com>

v0.1.45

Choose a tag to compare

@github-actions github-actions released this 19 May 12:20
fix: leaking amd card fd

Signed-off-by: thxCode <thxcode0824@gmail.com>

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 09 May 13:41
fix: cdi injection

Signed-off-by: thxCode <thxcode0824@gmail.com>

v0.1.44post5

Choose a tag to compare

@github-actions github-actions released this 08 Apr 02:25
fix: failed to open dri card

Signed-off-by: thxCode <thxcode0824@gmail.com>

v0.1.44post4

Choose a tag to compare

@github-actions github-actions released this 03 Apr 08:45
fix(hygon): failed to detect runtime version

Signed-off-by: thxCode <thxcode0824@gmail.com>