chore: add safe-synthesizer test for kubernetes - #654
Conversation
Signed-off-by: Matt Kornfield <mkornfield@nvidia.com>
b4018ec to
fb35778
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds opt-in GPU feature gating, GPU-aware local Minikube and image builds, Safe Synthesizer container retry settings, and a GPU-only E2E test with deterministic input and output validation. ChangesSafe Synthesizer E2E
Sequence Diagram(s)sequenceDiagram
participant Test as Safe Synthesizer E2E test
participant Setup as Model fileset setup script
participant Platform as NeMoPlatform
participant Job as Safe Synthesizer container job
Test->>Setup: register required model filesets
Test->>Platform: submit Safe Synthesizer job
Platform->>Job: execute GPU container job
Test->>Platform: wait and fetch job summary
Platform-->>Test: return timing fields
Test->>Platform: fetch generated dataset
Platform-->>Test: return synthetic records
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@e2e/test_safe_synthesizer.py`:
- Around line 62-75: Update the subprocess.run invocation in the module-scoped
fileset setup fixture to include a finite timeout, preventing stalled
setup_model_filesets.py or HF downloads from hanging the test run indefinitely.
Preserve the existing command, working directory, output capture, and check
behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 3a7cdc51-3472-4ef8-931f-8dc57089e641
📒 Files selected for processing (4)
conftest.pye2e/k8s/scripts/local_build_and_upgrade.she2e/test_safe_synthesizer.pypytest.ini
|
Signed-off-by: Matt Kornfield <mkornfield@nvidia.com>
Signed-off-by: Matt Kornfield <mkornfield@nvidia.com>
Summary by CodeRabbit
New Features
--feature NAMEsupport for enabling optional E2E test sets, with automatic skipping for GPU tests unlessgpuis enabled.Documentation
requires_gputest marker and GPU/Safe Synthesizer build flags.Chores
uvHTTP retry behavior in the Safe Synthesizer tasks container image.