Repository navigation
Publishing the Wiki
-
Code repository:
https://github.com/OWNER/REPO.git(Python source, notebook, README, diagrams,wiki/source). -
Wiki repository:
https://github.com/OWNER/REPO.wiki.git(Markdown pages displayed in the Wiki tab).
GitHub does not automatically extract ZIP uploads, nor does committing wiki/*.md in the code repo publish those pages to the separate Wiki.
- Extract
Distributed_Data_Parallel_Training_GitHub_Repository.zip. - Clone your existing repository so you keep its remote commit history:
git clone https://github.com/OWNER/REPO.git. - Copy the contents of the extracted
Distributed-Data-Parallel-Training/folder into the clone (not the container folder itself), reviewing changes first. - Inspect
git status, thengit add .,git commit -m "Add DDP training and documentation",git push origin HEAD.
Do not force-push over existing repository changes. Inspect any .env files or datasets before staging.
- On the GitHub repository: Settings → General → Features → enable Wikis.
- Open the Wiki tab; save an initial
Homepage so the.wiki.gitremote exists. - In the extracted full-package folder, use the launcher from any working directory:
.\scripts\publish-wiki.cmd -Owner "OWNER" -Repository "REPO" -DryRun
.\scripts\publish-wiki.cmd -Owner "OWNER" -Repository "REPO"The script clones the separate Wiki to a random temporary checkout, copies only the packaged Markdown pages, shows a diff and prompts you to type PUBLISH. It does not remove unrelated existing pages. Existing same-named pages may be replaced when you confirm. It cleans up the temporary checkout automatically.
git clone https://github.com/OWNER/REPO.wiki.git
cd REPO.wiki
# Copy the extracted Wiki ZIP's .md files into this folder, then:
git add -- "*.md"
git commit -m "Publish DDP Wiki with Mermaid diagrams"
git push origin HEADDo not use git init inside the untracked extracted ZIP directory to publish the Wiki; it is easier and safer to clone the correct remote.
https://github.com/OWNER/REPO/wiki
The embedded mermaid fenced blocks render in supported GitHub Markdown contexts, including Wiki pages. The separate diagram source package also contains editable .mmd files.
Distributed LLM Training · PyTorch DDP (educational) — Home · System-Architecture · Low-Level-Design · Publishing-the-Wiki
This project is licensed under the Apache License, Version 2.0.© 2026 Sudhanshu Shukla · Licensed under the Apache License, Version 2.0.