diff --git a/README.md b/README.md index 3816d1a..4b2fc69 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@
- AutoDL Remote 工作原理 + AutoDL Remote 工作原理

AutoDL Remote

让 Codex 留在本地,让 GPU 在远端跑

一个面向 Codex App 的极简 SSH 插件:账号管理、远端命令、显式上传和下载。

@@ -43,13 +43,13 @@ ## 🧠 工作原理
- AutoDL Remote 典型工作流 + AutoDL Remote 典型工作流
  典型流程是:先查看远端项目结构,再把需要编辑的脚本拉到本地;Codex 在本地修改后,显式上传对应文件;训练或推理在远端执行;最后只查看日志或拉回必要结果。
- AutoDL Remote 本地远端边界 + AutoDL Remote 本地远端边界
  这个边界很重要:**本地负责代码和修改痕迹,远端负责大模型、数据集、checkpoint 和 GPU 任务。** 插件不会默认下载模型权重,也不会默认把整个远端目录同步回来。 diff --git a/docs/images/autodl-remote-boundary.png b/docs/images/autodl-remote-boundary.png new file mode 100644 index 0000000..909333a Binary files /dev/null and b/docs/images/autodl-remote-boundary.png differ diff --git a/docs/images/autodl-remote-boundary.svg b/docs/images/autodl-remote-boundary.svg deleted file mode 100644 index 9018589..0000000 --- a/docs/images/autodl-remote-boundary.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - 本地和远端的边界 - 代码痕迹留在本地,大文件和 GPU 任务留在远端,中间只传你明确选择的路径 - - - - 本地项目 - - src/ train.py notebooks/ - - .git diff / commits - - .autodl-remote.conf - - - - - 远端项目 - - /root/autodl-tmp/project - - models/ data/ checkpoints/ - - logs/ outputs/ metrics - - - - - SSH - put / get - exec / tail - 不自动同步 - - - - - 上传你决定的代码文件 - - - - 只拉回需要查看或提交的结果 - - - 模型权重、数据集、checkpoint 默认不回传,除非你明确 get 或 sync-down - diff --git a/docs/images/autodl-remote-hero.png b/docs/images/autodl-remote-hero.png new file mode 100644 index 0000000..bfc43e1 Binary files /dev/null and b/docs/images/autodl-remote-hero.png differ diff --git a/docs/images/autodl-remote-hero.svg b/docs/images/autodl-remote-hero.svg deleted file mode 100644 index 31aad84..0000000 --- a/docs/images/autodl-remote-hero.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AutoDL Remote - 本地 Codex 写代码,远端 GPU 跑任务,SSH 负责连接 - - - - - - - - Local Codex - 代码修改与 Git diff 留在本地 - - - - - - ssh / scp - 显式工具层 - exec · put · get · tree · tail - - - - - - - - - AutoDL GPU - 模型、数据、训练产物留在远端 - - - - put / sync-up - - - get / cat / tail - - - exec - - - result when needed - - - 插件不判断谁覆盖谁,只给 Codex 提供可组合的 SSH 原语 - diff --git a/docs/images/autodl-remote-workflow.png b/docs/images/autodl-remote-workflow.png new file mode 100644 index 0000000..616e67f Binary files /dev/null and b/docs/images/autodl-remote-workflow.png differ diff --git a/docs/images/autodl-remote-workflow.svg b/docs/images/autodl-remote-workflow.svg deleted file mode 100644 index 73f8335..0000000 --- a/docs/images/autodl-remote-workflow.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - 一次典型远端开发循环 - 先看清远端,再本地改代码,按需上传,远端运行,最后只取需要的结果 - - - - - - - 1 - 查看远端 - tree / cat - - - - - - 2 - 本地修改 - edit + git diff - - - - - - 3 - 按需上传 - put / sync-up - - - - - - 4 - 远端运行 - exec --detach - - - - - - 5 - 查看结果 - tail / get - - - - - - - - - 每一步都是显式命令,适合让 Codex 根据当前任务自主组合 -