Skip to content

Commit 837a632

Browse files
committed
Merge branch 'devops'
2 parents 2d41355 + f0660f6 commit 837a632

50 files changed

Lines changed: 1720 additions & 730 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/blank.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Blank issue
3+
about: Open a blank issue if other templates don't apply
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
---
8+
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Bug Report
2+
description: Report a bug in vllm-plugin-FL
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for filing a bug report. Please fill out the following information to help us reproduce and fix the issue.
10+
11+
- type: textarea
12+
id: description
13+
attributes:
14+
label: Bug Description
15+
description: A clear and concise description of the bug.
16+
placeholder: Describe the bug...
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: steps
22+
attributes:
23+
label: Steps to Reproduce
24+
description: Minimal steps to reproduce the behavior.
25+
placeholder: |
26+
1. Install ...
27+
2. Run ...
28+
3. See error ...
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: expected
34+
attributes:
35+
label: Expected Behavior
36+
description: What did you expect to happen?
37+
validations:
38+
required: true
39+
40+
- type: textarea
41+
id: actual
42+
attributes:
43+
label: Actual Behavior
44+
description: What actually happened? Include error messages or logs if applicable.
45+
validations:
46+
required: true
47+
48+
- type: textarea
49+
id: environment
50+
attributes:
51+
label: Environment
52+
description: Please provide your environment details.
53+
value: |
54+
- vllm-plugin-FL version:
55+
- vLLM version:
56+
- Python version:
57+
- OS:
58+
- Hardware (GPU/accelerator):
59+
- FlagGems version (if applicable):
60+
- FlagCX version (if applicable):
61+
validations:
62+
required: true
63+
64+
- type: textarea
65+
id: additional
66+
attributes:
67+
label: Additional Context
68+
description: Any other context, screenshots, or log output about the issue.
69+
validations:
70+
required: false

.github/ISSUE_TEMPLATE/ci-sev.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
name: CI SEV
3+
about: Report a CI infrastructure or pipeline failure
4+
title: "[CI SEV]: "
5+
labels: "ci-sev"
6+
assignees: ''
7+
---
8+
9+
## Severity
10+
11+
<!-- Select one:
12+
SEV 0 - Main branch CI completely broken, all jobs failing, blocks all development
13+
SEV 1 - Critical job failing (e.g. functional GPU tests, build check), blocks merging
14+
SEV 2 - Non-critical job failing or flaky (e.g. lint, single Python version), does not fully block merging
15+
-->
16+
17+
**Severity Level:**
18+
19+
## Failing Job
20+
21+
<!-- Which CI job is affected? Check all that apply. -->
22+
23+
- [ ] Lint (ruff check / ruff format / typos)
24+
- [ ] Unit Tests
25+
- [ ] Build Check
26+
- [ ] Functional Tests - ops / compilation (GPU)
27+
- [ ] Functional Tests - inference (GPU)
28+
- [ ] Functional Tests - serving (GPU)
29+
- [ ] Other: <!-- specify -->
30+
31+
## Description
32+
33+
<!-- Describe the failure. What is broken and how does it impact development? -->
34+
35+
## Failed Run Link
36+
37+
<!-- Paste the link to the failing GitHub Actions run. -->
38+
39+
## Error Logs
40+
41+
<!-- Paste the relevant error output (use <details> for long logs). -->
42+
43+
<details>
44+
<summary>Error logs</summary>
45+
46+
```
47+
paste logs here
48+
```
49+
50+
</details>
51+
52+
## Likely Cause
53+
54+
<!-- If known, describe the suspected root cause. Examples:
55+
- Upstream dependency update
56+
- Self-hosted GPU runner offline / driver issue
57+
- Flaky test
58+
- Recent commit (link the commit)
59+
-->
60+
61+
## Affected Branch / PR
62+
63+
<!-- Which branch or PR is affected? e.g. main, or PR #123 -->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Questions & Discussions
4+
url: https://github.com/flagos-ai/vllm-plugin-FL/discussions
5+
about: Use GitHub Discussions for general questions and community support.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Documentation
2+
description: Report an issue with the documentation
3+
title: "[Docs]: "
4+
labels: ["docs"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for helping us improve the documentation.
10+
11+
- type: dropdown
12+
id: type
13+
attributes:
14+
label: Issue Type
15+
options:
16+
- Inaccurate or outdated content
17+
- Missing documentation
18+
- Code example error
19+
- Typo or formatting issue
20+
- Other
21+
validations:
22+
required: true
23+
24+
- type: input
25+
id: location
26+
attributes:
27+
label: Location
28+
description: Link to the page or file path where the issue is (e.g. README.md, examples/offline_inference.py).
29+
placeholder: "e.g. README.md#quick-start"
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
id: description
35+
attributes:
36+
label: Description
37+
description: Describe what is wrong or missing in the documentation.
38+
validations:
39+
required: true
40+
41+
- type: textarea
42+
id: suggested-fix
43+
attributes:
44+
label: Suggested Fix
45+
description: If you have a suggestion for how to fix the issue, please describe it here.
46+
validations:
47+
required: false
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Feature Request
2+
description: Suggest a new feature or enhancement for vllm-plugin-FL
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for suggesting a feature. Please provide as much detail as possible.
10+
11+
- type: textarea
12+
id: motivation
13+
attributes:
14+
label: Motivation
15+
description: Why is this feature needed? What problem does it solve?
16+
placeholder: Describe the use case or problem...
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: proposal
22+
attributes:
23+
label: Proposed Solution
24+
description: Describe the solution or feature you'd like to see.
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: alternatives
30+
attributes:
31+
label: Alternatives Considered
32+
description: Have you considered any alternative solutions or workarounds?
33+
validations:
34+
required: false
35+
36+
- type: textarea
37+
id: additional
38+
attributes:
39+
label: Additional Context
40+
description: Any other context, references, or screenshots about the feature request.
41+
validations:
42+
required: false

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
### PR Category
2-
<!-- One of [Core | Vendor | OP | Tools | Others ] -->
2+
<!-- One of [Core | Vendor | OP | Tools | Others] -->
33

4-
### PR Types
5-
<!-- One of [ User Experience | New Features | Bug Fixes | Improvements | Performance | Breaking Change| Deprecations | Test Case | Docs | Others ] -->
4+
### PR Type
5+
<!-- One of [User Experience | New Features | Bug Fixes | Improvements | Performance | Breaking Change | Deprecations | Test Case | Docs | Others] -->
66

7-
### PR Description
8-
<!-- Describe what you’ve done -->
7+
### Description
8+
<!-- Describe what this PR does and why. -->
9+
10+
### Related Issues
11+
<!-- Link any related issues: Fixes #issue, Closes #issue, or Related to #issue -->
12+
13+
### Changes
14+
<!-- List the key changes made in this PR. -->
15+
-
16+
17+
### Testing
18+
<!-- How has this change been tested? Include test commands, hardware used, etc. -->
19+
-
20+
21+
### Checklist
22+
- [ ] I have run the existing tests and they pass
23+
- [ ] I have added tests for my changes (if applicable)
24+
- [ ] I have updated the documentation (if applicable)

.github/dependabot.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 2
2+
3+
updates:
4+
# GitHub Actions
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "weekly"
9+
labels:
10+
- "dependencies"
11+
- "github-actions"
12+
13+
# Python (pip)
14+
- package-ecosystem: "pip"
15+
directory: "/"
16+
schedule:
17+
interval: "weekly"
18+
labels:
19+
- "dependencies"
20+
- "python"

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PR Labeler configuratoin file
1+
# PR Labeler configuration file
22
# Automatically add labels based on modified file paths
33

44
docs:

.github/workflows/build-wheel.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Build Wheel
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
upload-artifact:
7+
description: "Whether to upload the built wheel as an artifact"
8+
required: false
9+
type: boolean
10+
default: true
11+
workflow_dispatch:
12+
inputs:
13+
upload-artifact:
14+
description: "Whether to upload the built wheel as an artifact"
15+
required: false
16+
type: boolean
17+
default: true
18+
19+
jobs:
20+
build:
21+
name: Build Check
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- name: Set up Python
28+
uses: actions/setup-python@v5
29+
with:
30+
python-version: "3.12"
31+
32+
- name: Install build tools
33+
run: pip install build setuptools setuptools-scm
34+
35+
- name: Build package
36+
run: python -m build --wheel --no-isolation 2>/dev/null || python setup.py bdist_wheel
37+
38+
- name: Verify wheel
39+
run: |
40+
pip install dist/*.whl
41+
# Verify package metadata and file structure (full import requires flag_gems runtime)
42+
python -c "
43+
from importlib.metadata import metadata, files
44+
meta = metadata('vllm-plugin-fl')
45+
print(f\"Package: {meta['Name']} {meta['Version']}\")
46+
pkg_files = [str(f) for f in files('vllm-plugin-fl')]
47+
assert any('vllm_fl' in f for f in pkg_files), 'vllm_fl module not found in wheel'
48+
print(f'Installed files: {len(pkg_files)}')
49+
print('Wheel verified successfully')
50+
"
51+
52+
- name: Upload wheel
53+
if: inputs.upload-artifact
54+
uses: actions/upload-artifact@v4
55+
with:
56+
name: wheel
57+
path: dist/*.whl

0 commit comments

Comments
 (0)