Skip to content

[refactor] Apply the #95 scheme in deepspeed &add single file copy feature#128

Merged
zheliuyu merged 2 commits intoAscend:mainfrom
zheliuyu:main
Apr 20, 2026
Merged

[refactor] Apply the #95 scheme in deepspeed &add single file copy feature#128
zheliuyu merged 2 commits intoAscend:mainfrom
zheliuyu:main

Conversation

@zheliuyu
Copy link
Copy Markdown
Collaborator

@zheliuyu zheliuyu commented Apr 16, 2026

Motivation

Update deepspeed doc. Apply the #95 scheme

Add single file copy feature to Makefile to reduce memory and disk usage.

@ascend-robot
Copy link
Copy Markdown

CLA Signature Pass

zheliuyu, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@zheliuyu zheliuyu changed the title [refactor] Apply the #95 scheme in deepspeed [refactor] Apply the #95 scheme in deepspeed &add single file copy feature Apr 17, 2026
@ascend-robot
Copy link
Copy Markdown

CLA Signature Pass

zheliuyu, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@Ascend Ascend deleted a comment from ascend-robot Apr 17, 2026
@Ascend Ascend deleted a comment from ascend-robot Apr 17, 2026
Comment thread index.rst Outdated
<p class="card-desc">分布式训练优化库,V0.10.1 版本起支持昇腾。</p>
<div class="card-footer"><a href="https://github.com/microsoft/DeepSpeed">官方链接</a><span class="split">|</span><a href="sources/deepspeed/install.html">安装指南</a><span class="split">|</span>
<p class="card-desc">DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective. </p>
<div class="card-footer"><a href="https://github.com/deepspeedai/DeepSpeed">官方链接</a><span class="split">|</span><a href="sources/deepspeed/quick_start.html">安装指南</a><span class="split">|</span>
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The remote URL for deepspeed has changed and has been updated here.

Comment thread Makefile
Comment on lines +92 to +103
rm -rf "$$dst"; \
if [ -f "$$src" ]; then \
mkdir -p "$$(dirname "$$dst")"; \
echo "Copying $$src to $$dst"; \
cp "$$src" "$$dst" || echo " [WARN] Source file missing or copy failed: $$src"; \
elif [ -d "$$src" ]; then \
mkdir -p "$$dst"; \
echo "Copying $$src to $$dst"; \
cp -r "$$src"/* "$$dst"/ 2>/dev/null || echo " [WARN] Source directory does not exist or is empty: $$src"; \
else \
echo " [WARN] Source does not exist: $$src"; \
fi; \
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to updating the deepspeed documentation, this adds a single file copy feature.

@ascend-robot
Copy link
Copy Markdown

CLA Signature Pass

zheliuyu, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@ascend-robot
Copy link
Copy Markdown

CLA Signature Pass

zheliuyu, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@ascend-robot
Copy link
Copy Markdown

CLA Signature Pass

zheliuyu, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@Ascend Ascend deleted a comment from ascend-robot Apr 20, 2026
@Ascend Ascend deleted a comment from ascend-robot Apr 20, 2026
@Ascend Ascend deleted a comment from ascend-robot Apr 20, 2026
@Ascend Ascend deleted a comment from ascend-robot Apr 20, 2026
Comment thread conf.py
Comment on lines +74 to +76
# _repos: submodule working trees duplicate content already copied to sources/_generated;
# indexing both roughly doubles RSS and OOM-kills low-memory cgroup builds (e.g. 2Gi).
exclude_patterns = ['_build', '_repos', 'Thumbs.db', '.DS_Store', '.venv', 'README.md']
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Key Changes.

@zheliuyu
Copy link
Copy Markdown
Collaborator Author

The official DeepSpeed documentation needs to be updated. However, the goal of this PR is to enable DeepSpeed to be updated via git submodule. Let's merge this PR first to unblock the subsequent tasks.

@zheliuyu zheliuyu merged commit d516b65 into Ascend:main Apr 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants