Skip to content

Commit d16dcec

Browse files
authored
Merge branch 'sa-submission-q2-2026' into yeswanthk/disagg-kimi2.5-gb200-Nvfp4
2 parents 670289c + 8294e64 commit d16dcec

43 files changed

Lines changed: 1451 additions & 5 deletions

Some content is hidden

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

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [main, master]
66
pull_request:
7-
branches: [main, master]
7+
branches: [main, master, sa-submission-q2-2026]
88

99
jobs:
1010
lint:
@@ -119,3 +119,4 @@ jobs:
119119
exit(1)
120120
print(f'\nAll {len(recipes)} recipes valid')
121121
"
122+
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
name: Copyright check
4+
5+
on:
6+
pull_request:
7+
8+
jobs:
9+
copyright-check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Check SPDX copyright headers
15+
run: |
16+
set -euo pipefail
17+
18+
MISSING=()
19+
20+
# Check Python files (excluding auto-generated or vendored paths)
21+
while IFS= read -r -d '' f; do
22+
if ! head -5 "$f" | grep -q "SPDX-FileCopyrightText.*NVIDIA"; then
23+
MISSING+=("$f")
24+
fi
25+
done < <(find src analysis configs -name "*.py" -print0 2>/dev/null)
26+
27+
# Check shell scripts
28+
while IFS= read -r -d '' f; do
29+
if ! head -5 "$f" | grep -q "SPDX-FileCopyrightText.*NVIDIA"; then
30+
MISSING+=("$f")
31+
fi
32+
done < <(find src configs -name "*.sh" -print0 2>/dev/null)
33+
34+
# Check Jinja2 templates
35+
while IFS= read -r -d '' f; do
36+
if ! head -5 "$f" | grep -q "SPDX-FileCopyrightText.*NVIDIA"; then
37+
MISSING+=("$f")
38+
fi
39+
done < <(find src -name "*.j2" -print0 2>/dev/null)
40+
41+
if [ ${#MISSING[@]} -gt 0 ]; then
42+
echo "ERROR: The following files are missing an NVIDIA SPDX copyright header:"
43+
printf ' %s\n' "${MISSING[@]}"
44+
echo ""
45+
echo "Add the following header to each file:"
46+
echo " # SPDX-FileCopyrightText: Copyright (c) $(date +%Y) NVIDIA CORPORATION & AFFILIATES. All rights reserved."
47+
echo " # SPDX-License-Identifier: Apache-2.0"
48+
exit 1
49+
fi
50+
51+
echo "All checked files have NVIDIA SPDX copyright headers."

CONTRIBUTING.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# Contributing to srt-slurm
2+
3+
Thank you for your interest in contributing to srt-slurm.
4+
5+
## Developer Certificate of Origin (DCO)
6+
7+
By contributing to this project, you agree to the Developer Certificate of Origin
8+
(DCO) Version 1.1. This certifies that you have the right to submit your
9+
contribution under the open source license used by the project.
10+
11+
The full DCO text is available at https://developercertificate.org/ and is
12+
reproduced below:
13+
14+
```
15+
Developer Certificate of Origin
16+
Version 1.1
17+
18+
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
19+
20+
Everyone is permitted to copy and distribute verbatim copies of this
21+
license document, but changing it is not allowed.
22+
23+
24+
Developer's Certificate of Origin 1.1
25+
26+
By making a contribution to this project, I certify that:
27+
28+
(a) The contribution was created in whole or in part by me and I
29+
have the right to submit it under the open source license
30+
indicated in the file; or
31+
32+
(b) The contribution is based upon previous work that, to the best
33+
of my knowledge, is covered under an appropriate open source
34+
license and I have the right under that license to submit that
35+
work with modifications, whether created in whole or in part
36+
by me, under the same open source license (unless I am
37+
permitted to submit under a different license), as indicated
38+
in the file; or
39+
40+
(c) The contribution was provided directly to me by some other
41+
person who certified (a), (b) or (c) and I have not modified
42+
it.
43+
44+
(d) I understand and agree that this project and the contribution
45+
are public and that a record of the contribution (including all
46+
personal information I submit with it, including my sign-off) is
47+
maintained indefinitely and may be redistributed consistent with
48+
this project or the open source license(s) involved.
49+
```
50+
51+
### How to Sign Off
52+
53+
Add a `Signed-off-by` trailer to each commit message:
54+
55+
```
56+
git commit -s -m "Your commit message"
57+
```
58+
59+
This produces a commit message footer like:
60+
61+
```
62+
Signed-off-by: Jane Doe <jane.doe@example.com>
63+
```
64+
65+
## License
66+
67+
By contributing, you agree that your contributions will be licensed under the
68+
[Apache License 2.0](LICENSE).
69+
70+
Each new source file must include the SPDX license header:
71+
72+
```python
73+
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
74+
# SPDX-License-Identifier: Apache-2.0
75+
```
76+
77+
## Development Setup
78+
79+
See [CLAUDE.md](CLAUDE.md) for development environment setup and coding conventions.
80+
81+
```bash
82+
# Install in editable mode with dev dependencies
83+
uv pip install -e ".[dev]"
84+
85+
# Run lint + tests
86+
make check
87+
```
88+
89+
## Pull Request Guidelines
90+
91+
1. Ensure all tests pass (`make check`)
92+
2. Add tests for new significant features (see `CLAUDE.md` testing section)
93+
3. Follow existing code style (ruff enforced)
94+
4. Include SPDX headers in all new source files
95+
5. Sign off all commits with `git commit -s`

LICENSE

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
Apache License
2+
Version 2.0, January 2004
3+
http://www.apache.org/licenses/
4+
5+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6+
7+
1. Definitions.
8+
9+
"License" shall mean the terms and conditions for use, reproduction,
10+
and distribution as defined by Sections 1 through 9 of this document.
11+
12+
"Licensor" shall mean the copyright owner or entity authorized by
13+
the copyright owner that is granting the License.
14+
15+
"Legal Entity" shall mean the union of the acting entity and all
16+
other entities that control, are controlled by, or are under common
17+
control with that entity. For the purposes of this definition,
18+
"control" means (i) the power, direct or indirect, to cause the
19+
direction or management of such entity, whether by contract or
20+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
21+
outstanding shares, or (iii) beneficial ownership of such entity.
22+
23+
"You" (or "Your") shall mean an individual or Legal Entity
24+
exercising permissions granted by this License.
25+
26+
"Source" form shall mean the preferred form for making modifications,
27+
including but not limited to software source code, documentation
28+
source, and configuration files.
29+
30+
"Object" form shall mean any form resulting from mechanical
31+
transformation or translation of a Source form, including but
32+
not limited to compiled object code, generated documentation,
33+
and conversions to other media types.
34+
35+
"Work" shall mean the work of authorship made available under
36+
the License, as indicated by a copyright notice that is included in
37+
or attached to the work (an example is provided in the Appendix below).
38+
39+
"Derivative Works" shall mean any work, whether in Source or Object
40+
form, that is based on (or derived from) the Work and for which the
41+
editorial revisions, annotations, elaborations, or other modifications
42+
represent, as a whole, an original work of authorship. For the purposes
43+
of this License, Derivative Works shall not include works that remain
44+
separable from, or merely link (or bind by name) to the interfaces of,
45+
the Work and Derivative Works thereof.
46+
47+
"Contribution" shall mean, as submitted to the Licensor for inclusion
48+
in the Work by the copyright owner or by an individual or Legal Entity
49+
authorized to submit on behalf of the copyright owner. For the purposes
50+
of this definition, "submitted" means any form of electronic, verbal,
51+
or written communication sent to the Licensor or its representatives,
52+
including but not limited to communication on electronic mailing lists,
53+
source code control systems, and issue tracking systems that are managed
54+
by, or on behalf of, the Licensor for the purpose of discussing and
55+
improving the Work, but excluding communication that is conspicuously
56+
marked or otherwise designated in writing by the copyright owner as
57+
"Not a Contribution."
58+
59+
"Contributor" shall mean Licensor and any Legal Entity on behalf of
60+
whom a Contribution has been received by the Licensor and incorporated
61+
within the Work.
62+
63+
2. Grant of Copyright License. Subject to the terms and conditions of
64+
this License, each Contributor hereby grants to You a perpetual,
65+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
66+
copyright license to reproduce, prepare Derivative Works of,
67+
publicly display, publicly perform, sublicense, and distribute the
68+
Work and such Derivative Works in Source or Object form.
69+
70+
3. Grant of Patent License. Subject to the terms and conditions of
71+
this License, each Contributor hereby grants to You a perpetual,
72+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
73+
(except as stated in this section) patent license to make, have made,
74+
use, offer to sell, sell, import, and otherwise transfer the Work,
75+
where such license applies only to those patent claims licensable
76+
by such Contributor that are necessarily infringed by their
77+
Contribution(s) alone or by combination of their Contribution(s)
78+
with the Work to which such Contribution(s) was submitted. If You
79+
institute patent litigation against any entity (including a cross-claim
80+
or counterclaim in a lawsuit) alleging that the Work or any
81+
Contribution incorporated within the Work constitutes direct or
82+
contributory patent infringement, then any patent licenses granted to
83+
You under this License for that Work shall terminate as of the date
84+
such litigation is filed.
85+
86+
4. Redistribution. You may reproduce and distribute copies of the
87+
Work or Derivative Works thereof in any medium, with or without
88+
modifications, and in Source or Object form, provided that You
89+
meet the following conditions:
90+
91+
(a) You must give any other recipients of the Work or
92+
Derivative Works a copy of this License; and
93+
94+
(b) You must cause any modified files to carry prominent notices
95+
stating that You changed the files; and
96+
97+
(c) You must retain, in the Source form of any Derivative Works
98+
that You distribute, all copyright, patent, trademark, and
99+
attribution notices from the Source form of the Work,
100+
excluding those notices that do not pertain to any part of
101+
the Derivative Works; and
102+
103+
(d) If the Work includes a "NOTICE" text file as part of its
104+
distribution, You must include a readable copy of the
105+
attribution notices contained within such NOTICE file, in
106+
at least one of the following places: within a NOTICE text file
107+
distributed as part of the Derivative Works; within the Source
108+
form or documentation, if provided along with the Derivative
109+
Works; or, within a display generated by the Derivative Works,
110+
if and wherever such third-party notices normally appear. The
111+
contents of the NOTICE file are for informational purposes only
112+
and do not modify the License. You may add Your own attribution
113+
notices within Derivative Works that You distribute, alongside
114+
or as an addendum to the NOTICE text from the Work, provided
115+
that such additional attribution notices cannot be construed
116+
as modifying the License.
117+
118+
You may add Your own license statement for Your modifications and
119+
may provide additional grant of rights to use, copy, modify, merge,
120+
publish, distribute, sublicense, and/or sell copies of the
121+
Contribution, and to permit persons to whom the Contribution is
122+
furnished to do so.
123+
124+
5. Submission of Contributions. Unless You explicitly state otherwise,
125+
any Contribution intentionally submitted for inclusion in the Work
126+
by You to the Licensor shall be under the terms and conditions of
127+
this License, without any additional terms or conditions.
128+
Notwithstanding the above, nothing herein shall supersede or modify
129+
the terms of any separate license agreement you may have executed
130+
with Licensor regarding such Contributions.
131+
132+
6. Trademarks. This License does not grant permission to use the trade
133+
names, trademarks, service marks, or product names of the Licensor,
134+
except as required for reasonable and customary use in describing the
135+
origin of the Work and reproducing the content of the NOTICE file.
136+
137+
7. Disclaimer of Warranty. Unless required by applicable law or
138+
agreed to in writing, Licensor provides the Work (and each
139+
Contributor provides its Contributions) on an "AS IS" BASIS,
140+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
141+
implied, including, without limitation, any warranties or conditions
142+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
143+
PARTICULAR PURPOSE. You are solely responsible for determining the
144+
appropriateness of using or reproducing the Work and assume any
145+
risks associated with Your exercise of permissions under this License.
146+
147+
8. Limitation of Liability. In no event and under no legal theory,
148+
whether in tort (including negligence), contract, or otherwise,
149+
unless required by applicable law (such as deliberate and grossly
150+
negligent acts) or agreed to in writing, shall any Contributor be
151+
liable to You for damages, including any direct, indirect, special,
152+
incidental, or exemplary damages of any character arising as a
153+
result of this License or out of the use or inability to use the
154+
Work (including but not limited to damages for loss of goodwill,
155+
work stoppage, computer failure or malfunction, or all other
156+
commercial damages or losses), even if such Contributor has been
157+
advised of the possibility of such damages.
158+
159+
9. Accepting Warranty or Additional Liability. While redistributing
160+
the Work or Derivative Works thereof, You may choose to offer,
161+
and charge a fee for, acceptance of support, warranty, indemnity,
162+
or other liability obligations and/or rights consistent with this
163+
License. However, in accepting such obligations, You may act only
164+
on Your own behalf and on Your sole responsibility, not on behalf
165+
of any other Contributor, and only if You agree to indemnify,
166+
defend, and hold each Contributor harmless for any liability
167+
incurred by, or claims asserted against, such Contributor by reason
168+
of your accepting any such warranty or additional liability.
169+
170+
END OF TERMS AND CONDITIONS
171+
172+
Copyright 2025 NVIDIA CORPORATION & AFFILIATES
173+
174+
Licensed under the Apache License, Version 2.0 (the "License");
175+
you may not use this file except in compliance with the License.
176+
You may obtain a copy of the License at
177+
178+
http://www.apache.org/licenses/LICENSE-2.0
179+
180+
Unless required by applicable law or agreed to in writing, software
181+
distributed under the License is distributed on an "AS IS" BASIS,
182+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
183+
See the License for the specific language governing permissions and
184+
limitations under the License.

0 commit comments

Comments
 (0)