Skip to content

fix(profiler): explain inaccessible model paths during trust checks (cherry-pick of #14860) - #14943

Merged
nv-nmailhot merged 1 commit into
release/1.5.0from
hzhou/cp-14860
Sep 16, 2026
Merged

nv-nmailhot merged 1 commit into
release/1.5.0from
hzhou/cp-14860

Conversation

@tedzhouhk

Copy link
Copy Markdown
Contributor

Summary

Cherry-pick of #14860 onto release/1.5.0 from merge commit 8309ffb419ffbf8d0093fb8817f2625886ca3f45.

Preserve PVC config inspection errors before model resolution can fall back to a Hugging Face ID, and report actionable directory/symlink ownership guidance when a local model path cannot be inspected for implicit trust. Keep missing-path fallback and explicit worker trust behavior, and correct the inconclusive auto-map warning.

The cherry-pick applied without conflicts and has the same stable patch ID as the main merge. Inaccessible paths still require corrected permissions/symlink ownership or an accessible snapshot path.

Validation

  • Release-branch profiler protocol, DGD materialization, and model-path resolution suites: 128 passed.
  • pre-commit run --all-files: passed.
  • git diff --check: passed.
  • Signed-off and GPG-signed cherry-pick with source commit recorded via -x.

This PR has not yet been merged into the release. A release image rebuild and the original QA deployment/inference retest remain outstanding; local tests do not establish release CI completion.

…14860)

Signed-off-by: hongkuanz <hongkuanz@nvidia.com>
(cherry picked from commit 8309ffb)
Signed-off-by: hongkuanz <hongkuanz@nvidia.com>
dgdr = _make_dgdr(modelCache=_pvc_model_cache(str(tmp_path), "model"))
assert resolve_model_path(dgdr) == _HF_ID

def test_inaccessible_pvc_config_during_materialization(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This case is redundant with the retained inaccessible-PVC regression coverage: resolve_model_path(dgdr) is evaluated before materialize_dgd is entered, so the blueprint/backend/materialization path cannot affect the outcome. test_run_profile_records_pvc_inspection_failure still verifies the same inaccessible config error is preserved instead of falling back to the Hub model, and additionally protects the profiler failure status that remains supported.

🤖 AI Fix

Remove TestResolveModelPath.test_inaccessible_pvc_config_during_materialization.

@nv-nmailhot
nv-nmailhot merged commit 3fc30d5 into release/1.5.0 Sep 16, 2026
107 of 108 checks passed
@nv-nmailhot
nv-nmailhot deleted the hzhou/cp-14860 branch September 16, 2026 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants