docs(guide): add installation without Docker guide - #294
Open
dafahaha wants to merge 2 commits into
Open
Conversation
This guide provides detailed instructions for installing Relax without Docker, including prerequisites, system dependencies, and steps for building necessary components.
Add installation guide for Relax without Docker, detailing prerequisites, steps, and troubleshooting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add a comprehensive step-by-step guide for installing Relax without Docker, derived from the official
docker/Dockerfile. The guide covers:Both English and Chinese versions are provided.
Why
Closes #119. Users in restricted environments (shared servers, HPC without container runtime) cannot use Docker. The current "Install from Source" section in installation.md is too brief —
pip install -r requirements.txt && pip install -e .does not install the core CUDA dependencies (Megatron-LM, SGLang, flash-attn, etc.) because pyproject.toml has no [project.dependencies].How has this been tested?
docker/Dockerfile(the authoritative build reference).Note
Sidebar navigation links in
.vitepress/config.mtsand cross-references in existinginstallation.mdare not included in this PR to keep the change focused. They can be added in a follow-up PR. The exact lines to add:English sidebar (after Installation):
{ text: 'Installation without Docker', link: '/en/guide/installation-without-docker' },Chinese sidebar (after 安装):
{ text: '无 Docker 环境安装', link: '/zh/guide/installation-without-docker' },Checklist