Files
sglang/docs/references/contributor_guide.md

23 lines
757 B
Markdown
Raw Normal View History

2024-08-08 03:58:47 -07:00
# Contributor Guide
2024-12-26 08:36:13 -08:00
## Build SGLang
See [Install SGLang, Method 2: From Source section](../start/install.md).
2024-08-08 03:58:47 -07:00
## Format Your Code
Use these commands to format your code and pass CI linting tests.
```
pip3 install pre-commit
cd sglang
2024-08-10 15:09:03 -07:00
pre-commit install
2024-08-08 03:58:47 -07:00
pre-commit run --all-files
```
2024-08-10 15:09:03 -07:00
## Add Unit Tests
2024-10-26 04:32:36 -07:00
Add unit tests under [sglang/test](https://github.com/sgl-project/sglang/tree/main/test). You can learn how to add and run tests from the README.md in that folder.
2024-12-26 08:36:13 -08:00
## For Newcomers
If you want to contribute or learn but don't have a concrete idea yet, you can pick a task labeled as "good first issue" or "help wanted" from the list below.
https://github.com/sgl-project/sglang/issues?q=is%3Aissue+label%3A%22good+first+issue%22%2C%22help+wanted%22