Phase 06/Shipping and being seen/Open-source contributions
PHASE 06 · Shipping and being seen

Open-source contributions

0%
16 h5 subtopics2 lessons · 1 required
In plain English

The inference engines you have been reading are built in public by thousands of volunteers and company engineers. Contributing a fix is like joining a community barn-raising: you show up, pick a job that is marked as good for newcomers, do it to the standard the group expects, and let the regulars check your work before it becomes part of the building. One merged change is worth more to your credibility than a hundred private notebooks, because strangers reviewed it and found it good enough to ship to everyone.

Why it matters

Hiring managers for inference roles look at GitHub before resumes. A merged PR in vLLM or SGLang proves you can read a large codebase, follow its conventions, write tests and take review feedback, all at once.

Hiring signal

Skills this topic builds, with the number of the 46 analysed job postings that ask for each. Companies asking: Anthropic, Anyscale, Baseten, Cerebras, Cohere, CoreWeave, Crusoe, Databricks, ElevenLabs, Fireworks, Hugging Face, Liquid AI, Modal, nvidia, OpenAI, Perplexity, Thinking Machines, Together AI, xAI.See all skills →

Learning objectives

  • Set up a development environment for vLLM or SGLang with tests and pre-commit hooks running.
  • Find and claim a good-first-issue that matches your skills and is not already taken.
  • Write a fix with a test and a clear PR description following the project's template.
  • Respond to review feedback and get the change merged.
  • Review someone else's PR constructively.

Key concepts

Good first issue
A label maintainers apply to small, well-scoped tasks suitable for newcomers.
Contributing guide
The project's CONTRIBUTING.md covering code style, test commands, DCO or CLA signing and PR expectations.
Pre-commit hooks
Formatters and linters (ruff, mypy, clang-format) that run before each commit; CI fails if they were skipped.
DCO sign-off
The Signed-off-by trailer (git commit -s) many projects require to certify you may contribute the code.
Minimal reproducer
The smallest script that shows the bug; the first thing to attach to an issue or PR.
Review etiquette
Respond to every comment, push fixes as new commits during review, and keep the PR focused on one change.

Subtopics

  1. 1. Development environment and tests

    Editable install, building CUDA extensions or using a prebuilt wheel with VLLM_USE_PRECOMPILED, running a targeted pytest subset, pre-commit.

  2. 2. Finding the right issue

    Filter by good first issue and help wanted labels, check for linked PRs, comment to claim, and prefer issues touching code you traced in m1.

  3. 3. Writing the change

    Small diffs, a regression test, matching surrounding style, and a PR description with motivation, approach and test evidence.

  4. 4. Review and iteration

    Reading CI failures, answering reviewers, rebasing on main, and knowing when to split or close a PR.

  5. 5. Beyond the first PR

    Reviewing others' PRs, triaging issues, proposing an RFC, and building a sustained contribution record.

Resources

Hands-on lessons

L1

Fix a good-first-issue in vLLM or SGLang

CPU · your Maccli480 minrequired

Goal · Open a pull request that fixes a labeled good-first-issue, passes CI, and is reviewed by a maintainer.

  1. 1Fork the repository, clone your fork, add upstream as a remote, and install in editable mode following the contributing guide (for vLLM on a machine without a GPU, use the CPU backend or VLLM_USE_PRECOMPILED=1 for Python-only changes).
  2. 2Run pre-commit install and run a small targeted test file to confirm the environment works.
  3. 3Pick an open good-first-issue with no linked PR; prefer documentation, Python-level or test fixes that do not require a GPU to verify; comment on the issue to claim it.
  4. 4Reproduce the issue locally or write the failing test first.
  5. 5Implement the fix in a feature branch with commits signed off (git commit -s); keep the diff focused.
  6. 6Run the relevant tests and pre-commit; open the PR using the template, linking the issue and describing how you verified it.
  7. 7Respond to every review comment within two days; push follow-up commits and request re-review.
  8. 8Once merged (or if the project stalls for over four weeks, once CI is green and a maintainer has reviewed), record the PR URL.
Deliverable
The PR URL plus a short retrospective (what the issue was, what you changed, what review taught you).
Check
The PR has green CI and at least one maintainer review; ideally a merged state.
Fallback
If no suitable good-first-issue exists, fix a typo or broken link in the documentation of vLLM, SGLang or Triton and submit that PR; still complete the full workflow.
L2

Review two open pull requests

CPU · your Macreading-code120 minoptional

Goal · Leave substantive, polite review comments on two open PRs in the engine you contributed to.

  1. 1Filter open PRs touching code you traced in milestone 1 (scheduler, KV cache manager, attention backends).
  2. 2Check out each PR branch locally and read the diff with the surrounding context.
  3. 3For each, leave at least two comments that point to a specific concern (correctness, missing test, naming, performance) with a suggested change.
  4. 4Note any comment a maintainer agreed with.
Deliverable
Links to the two PRs with your comments.
Check
At least one comment received a reply or reaction from the author or a maintainer.

Knowledge check

QWhy write the failing test before the fix?

It proves you reproduced the issue, protects against regression, and gives reviewers evidence the change does what it claims.

QWhat is DCO sign-off and how do you add it?

A Signed-off-by trailer certifying you have the right to contribute; add it with git commit -s.

QYour PR has been open for two weeks with no review. What do you do?

Make sure CI is green, politely ping in the PR or the project's Slack channel, and tag the code owner listed in CODEOWNERS or the issue.

QWhy keep a PR focused on one change?

Small diffs are reviewed faster, are easier to revert, and avoid blocking a good fix on an unrelated debate.

Completion

  • All 5 subtopics marked done
  • All 1 required lessons done
  • PR URL recorded with green CI and a maintainer review.
  • Retrospective written and linked from your portfolio.
  • All subtopics marked completed.
Topic progress is derived; it reaches 100% when both checks above pass.Next recommended topic →