Document mirror and proxy defaults
This commit is contained in:
7
SKILL.md
7
SKILL.md
@@ -5,10 +5,15 @@ Use this skill when the user wants to run or modify the TI coding-agent SFT prob
|
||||
## Repository Contract
|
||||
|
||||
- Work in `/ssd/workspace/yi/ti_coding_agent_probe` on B300 unless the user says otherwise.
|
||||
- Use the B300 proxy for all network access:
|
||||
- Use the B300/g0049 machine-specific proxy for all network access:
|
||||
- `http_proxy=http://100.72.0.101:8888`
|
||||
- `https_proxy=http://100.72.0.101:8888`
|
||||
- `HF_ENDPOINT=https://hf-mirror.com`
|
||||
- The default package mirrors are domestic China mirrors:
|
||||
- `PIP_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/`
|
||||
- `UV_DEFAULT_INDEX=https://mirrors.aliyun.com/pypi/simple/`
|
||||
- `UV_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/`
|
||||
- When moving this repo to another machine, first verify or replace the proxy variables. The proxy values above are not portable cluster-wide defaults.
|
||||
- Do not install Python packages globally. Use the repository-local `.venv` created by `scripts/setup_env.sh`.
|
||||
- `scripts/setup_env.sh` installs `uv` inside `.venv`, then installs SWIFT from the submodule using SWIFT's documented source-install path: `uv pip install -e third_party/modelscope-swift --torch-backend=auto`.
|
||||
- Default setup adds training extras: `deepspeed<0.19`, `liger-kernel`, `tensorboard`, and `nvitop`. Disable with `INSTALL_TRAINING_EXTRAS=0`.
|
||||
|
||||
Reference in New Issue
Block a user