• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubeflow / trainer / 28412576741
65%

Build:
DEFAULT BRANCH: master
Ran 30 Jun 2026 12:52AM UTC
Jobs 1
Files 40
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Jun 2026 12:48AM UTC coverage: 65.239% (+0.5%) from 64.748%
28412576741

push

github

web-flow
chore(test): add unit tests for TorchTune plugin helpers (#3599)

* test(torch): add unit tests for getModelFromRuntimeRef

Cover the runtime-ref name parsing used to resolve the TorchTune
pretrained model: normalization of valid names and the empty-string
fallback for malformed refs (wrong number of parts, empty input).


Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>

* test(torch): add unit tests for isLoraConfigEnabled

Cover LoRA detection from trainer args: the model.lora_attn_modules
marker present, absent, and the empty-args case.


Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>

* test(torch): add unit tests for isUseQLoraFinetune

Cover QLoRA detection from trainer args, including the DoRA
short-circuit that disables QLoRA even when quantize_base is set.


Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>

* test(torch): add unit tests for getRecipeAndConfig

Cover the recipe/config selection matrix: single-device, single-node
multi-GPU, and multi-node, each across full / LoRA / QLoRA fine-tuning.


Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>

* test(torch): add unit tests for extractOverridesFromRuntime

Cover extraction of immutable runtime config overrides from the JobSet
template: trainer-ancestor node container returns only immutable configs,
while non-trainer ancestors, non-node containers, and an absent template
yield no overrides.


Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>

* test(torch): use year-less copyright header

Align the new test file with the repo boilerplate (hack/boilerplate/boilerplate.go.txt) and CNCF/LF guidance, which drop the year from the copyright notice.

Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>

* test(torch): cover integer numProcPerNode in getRecipeAndConfig

Exercise integer numProcPerNode counts alongside the existing "auto" cases: numProcPerNode=1 forces the single-device recipe even with multiple GPUs, while a count >1 takes the distributed path.

Signed-off-b... (continued)

12 of 13 new or added lines in 1 file covered. (92.31%)

3 existing lines in 1 file now uncovered.

2361 of 3619 relevant lines covered (65.24%)

0.76 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.8
15.97% pkg/runtime/framework/plugins/torch/torchtune.go

Coverage Regressions

Lines Coverage ∆ File
3
74.07
-11.11% pkg/runtime/core/core.go
Jobs
ID Job ID Ran Files Coverage
1 28412576741.1 30 Jun 2026 12:52AM UTC 40
65.24
GitHub Action Run
Source Files on build 28412576741
  • Tree
  • List 40
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d56dfa5a on github
  • Prev Build on master (#28387947508)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc