You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor install scripts and add dockerfiles (flagos-ai#1100)
### PR Category
<!-- One of [ Train | Inference | Compress | Serve | RL | Core |
Hardware | CICD | Tools | Others ] -->
CICD
### PR Types
<!-- One of [ User Experience | New Features | Bug Fixes | Improvements
| Performance | Breaking Change| Deprecations | Test Case | Docs |
Others ] -->
Improvemetns
### PR Description
<!-- Describe what you’ve done -->
This pull request updates the CI/CD configuration to support a unified
and flexible package manager/environment setup for functional tests,
with a focus on future compatibility (e.g., for switching to `uv` or
`pip`), and temporarily disables some functional test jobs. The changes
introduce new configuration options, refactor workflow inputs/outputs,
and update environment activation logic to be package-manager agnostic.
Key changes:
**Package Manager and Environment Configuration**
- Added unified package manager configuration (`pkg_mgr`, `env_path`,
`env_names`) to `.github/configs/cuda.yml`, supporting `pip`, `uv`, and
`conda`, with clear documentation for future transitions.
- Updated workflow inputs/outputs in
`.github/workflows/all_tests_common.yml` to use generic `pkg_mgr`,
`env_name`, and `env_path` variables instead of hardcoded `conda_env`
and `conda_path`, allowing for flexible environment handling.
**Functional Test Job Refactoring**
- Updated `functional_tests_hetero_train.yml` to use the new `pkg_mgr`,
`env_name`, and `env_path` inputs, and refactored the environment
activation logic to support `conda`, `uv`, and `pip` using a new utility
script (`pyenv_utils.sh`).
**Temporary Disabling of Some Functional Tests**
- Commented out (disabled) the `functional_tests_inference`,
`functional_tests_serve`, and `functional_tests_rl` jobs in
`all_tests_common.yml`, and removed their checks from the
`all_tests_complete` job, with explanatory comments for future
re-enabling.
**Cosmetic and Documentation Updates**
- Renamed workflow in `.github/workflows/all_tests_cuda.yml` from "CUDA
Tests Validation" to "cuda_tests" and added a comment about reading
environment settings from the config file.
These changes make the CI/CD system more modular, easier to maintain,
and ready for future upgrades in package management.
---------
Co-authored-by: MC952-arch <MC952-arch@qq.com>
0 commit comments