Skip to content

Commit ee12513

Browse files
Fix zh-cn sync workflow and update Chinese troubleshooting docs
- Fix GitHub workflow zh-cn-sync-check.yml by adding || true to grep commands to handle empty results - Update Chinese troubleshooting overview to match recent English changes: - Remove outdated Linux permission and display issues - Update ROCm version from 6.2.4 to 6.3 - Add Note about documentation being potentially out of date - Sync performance optimization commands and descriptions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6643bc2 commit ee12513

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/zh-cn-sync-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
id: check-translations
3131
run: |
3232
# Get list of changed MDX files
33-
CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep "\.mdx$" | grep -v "^zh-CN/")
33+
CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep "\.mdx$" | grep -v "^zh-CN/" || true)
3434
3535
# Get list of deleted MDX files (potentially moved)
36-
DELETED_FILES=$(git diff --name-only --diff-filter=D ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep "\.mdx$" | grep -v "^zh-CN/")
36+
DELETED_FILES=$(git diff --name-only --diff-filter=D ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep "\.mdx$" | grep -v "^zh-CN/" || true)
3737
3838
# Get list of added MDX files (potentially destinations of moves)
39-
ADDED_FILES=$(git diff --name-only --diff-filter=A ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep "\.mdx$" | grep -v "^zh-CN/")
39+
ADDED_FILES=$(git diff --name-only --diff-filter=A ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep "\.mdx$" | grep -v "^zh-CN/" || true)
4040
4141
# Exit if no MDX files were changed, deleted or added
4242
if [ -z "$CHANGED_FILES" ] && [ -z "$DELETED_FILES" ] && [ -z "$ADDED_FILES" ]; then

zh-CN/troubleshooting/overview.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,17 @@ python main.py --cache-lru 10 # 缓存 10 个结果
107107
- **崩溃**:检查控制台应用程序以获取崩溃报告
108108
</Tab>
109109
<Tab title="Linux">
110-
- **权限被拒绝**:对 ComfyUI 可执行文件使用 `chmod +x`
111110
- **缺少库**:使用包管理器安装依赖项
112-
- **显示问题**:如果使用 SSH,设置 `export DISPLAY=:0`
113111
- **LD_LIBRARY_PATH 错误**:PyTorch 库路径问题(见下文)
114112
</Tab>
115113
</Tabs>
116114

117115
### 手动安装问题
118116

117+
<Note>
118+
文档可能略有过时。如果出现问题,请手动验证是否存在更新的稳定版本的 pytorch 或任何列出的库。请参考 [pytorch 安装矩阵](https://pytorch.org/get-started/locally/)[ROCm 网站](https://rocm.docs.amd.com/projects/install-on-linux/en/develop/install/3rd-party/pytorch-install.html#using-a-wheels-package) 等资源。
119+
</Note>
120+
119121
**Python 版本冲突:**
120122
```bash
121123
# 检查 Python 版本(需要 3.9+,推荐 3.12)
@@ -138,8 +140,8 @@ pip install -r requirements.txt
138140
# 对于 NVIDIA GPU(CUDA 12.8)
139141
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu128
140142

141-
# 对于 AMD GPU(仅限 Linux - ROCm 6.2.4
142-
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.2.4
143+
# 对于 AMD GPU(仅限 Linux - ROCm 6.3
144+
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.3
143145
```
144146

145147
### Linux 特定问题

0 commit comments

Comments
 (0)