Repository layout
Local dev loop
Style
- Python:
rufffor linting,blackfor formatting (line length 100).pre-commitis wired up. - Type hints: use them. We’re strict about new code.
- Docstrings: Google style for public functions; one-liners for internal.
- Imports:
isortordering, no relative imports across packages.
PR checklist
Before you click “Ready for review”:-
pre-commit run --all-filespasses. - You added or updated tests for new behavior.
- You ran
pytest -xand it’s green. - If you touched the launch flags,
python3 train.py --helpstill parses. - If you added a public flag, it appears in Server Arguments.
- If you added a new example, you wrote a real walkthrough (use examples/index as the structural template).
Commit messages
We follow the conventional-commits style:Issue triage
We label issues with:
If you’re new, sort by
good first issue. Comment to claim before you start so we
don’t double-up.
Where to ask questions
- Quick questions: Miles channel of the SGLang Slack.
- Design discussions: open a GitHub Discussion or an Issue with
discussionlabel. - Security: email security@radixark.ai (do not open a public issue).

