Skip to content

Enable JIT-CDI to inject MIG management capability devices#1947

Draft
henry118 wants to merge 1 commit into
NVIDIA:mainfrom
henry118:jitcdi-migcaps
Draft

Enable JIT-CDI to inject MIG management capability devices#1947
henry118 wants to merge 1 commit into
NVIDIA:mainfrom
henry118:jitcdi-migcaps

Conversation

@henry118

Copy link
Copy Markdown
Member

Fixes: #1740

Signed-off-by: Henry Wang <henrwang@nvidia.com>
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 29867659519

Coverage increased (+0.2%) to 44.011%

Details

  • Coverage increased (+0.2%) from the base build.
  • Patch coverage: 19 uncovered changes across 4 files (64 of 83 lines covered, 77.11%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
pkg/nvcdi/lib-mig-caps.go 47 36 76.6%
internal/nvcaps/nvcaps.go 4 0 0.0%
internal/modifier/cdi.go 29 26 89.66%
pkg/nvcdi/mode.go 1 0 0.0%
Total (5 files) 83 64 77.11%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 15235
Covered Lines: 6705
Line Coverage: 44.01%
Coverage Strength: 0.49 hits per line

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Non-privileged MIG_STRATEGY=mixed fails due to missing device-cgroup access for nvidia-cap1/nvidia-cap2 (nvidia-container-toolkit 1.18+ / 1.19.0)

2 participants