Skip to content

docs(tests): replace machine-local HF_HOME paths with a placeholder - #58

Merged
zhaoyinglia merged 1 commit into
flagos-ai:mainfrom
lvyufeng:fix/profiler-doc-abs-path
Aug 6, 2026
Merged

docs(tests): replace machine-local HF_HOME paths with a placeholder#58
zhaoyinglia merged 1 commit into
flagos-ai:mainfrom
lvyufeng:fix/profiler-doc-abs-path

Conversation

@lvyufeng

@lvyufeng lvyufeng commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Two test docstrings instructed the reader to run with HF_HOME=/nfs/lvyufeng/hf_cache, a
path that exists only on one host. For anyone else that makes the documented invocation a
dead end.

Both now use <your-hf-cache-dir> and state what it should point at.

Docstrings only — no executable lines touched. Verified: both files still parse (ast.parse),
ruff check and ruff format --check clean, and a repo-wide sweep for
/nfs/, /root/, /home/<user> over tracked non-plan files now returns nothing.

Both docstrings told the reader to run with HF_HOME=/nfs/lvyufeng/hf_cache, a
path that exists only on one host, so the instruction was a dead end for
everyone else. Use <your-hf-cache-dir> and say what it should point at.

Docstrings only; no executable lines touched.
@zhaoyinglia
zhaoyinglia merged commit a02f62b into flagos-ai:main Aug 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants