Skip to content

Commit

Permalink
deploy: c8180e8
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Oct 21, 2024
1 parent 7c279ff commit 53473f1
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 15 deletions.
Binary file modified en/.doctrees/environment.pickle
Binary file not shown.
Binary file modified en/.doctrees/memoryscope.core.utils.doctree
Binary file not shown.
Binary file modified en/.doctrees/memoryscope.core.utils.tool_functions.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion en/memoryscope.core.utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@

<dl class="py function">
<dt class="sig sig-object py" id="memoryscope.core.utils.char_logo">
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1729503129851429894</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.char_logo" title="Link to this definition"></a></dt>
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1729504516939633817</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.char_logo" title="Link to this definition"></a></dt>
<dd><p>Render the context of logo with colors</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
Expand Down
2 changes: 1 addition & 1 deletion en/memoryscope.core.utils.tool_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@

<dl class="py function">
<dt class="sig sig-object py" id="memoryscope.core.utils.tool_functions.char_logo">
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.tool_functions.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1729503129851429894</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.tool_functions.char_logo" title="Link to this definition"></a></dt>
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.tool_functions.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1729504516939633817</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.tool_functions.char_logo" title="Link to this definition"></a></dt>
<dd><p>Render the context of logo with colors</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
Expand Down
2 changes: 1 addition & 1 deletion en/searchindex.js

Large diffs are not rendered by default.

Binary file modified zh/.doctrees/docs/installation.doctree
Binary file not shown.
Binary file modified zh/.doctrees/environment.pickle
Binary file not shown.
Binary file modified zh/.doctrees/memoryscope.core.utils.doctree
Binary file not shown.
Binary file modified zh/.doctrees/memoryscope.core.utils.tool_functions.doctree
Binary file not shown.
7 changes: 4 additions & 3 deletions zh/_sources/docs/installation.md.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MemoryScope 安装指南

## 一、使用 Docker 安装 [推荐] [x86_64]
## 一、使用 Docker 安装 [推荐]

1. 克隆仓库并编辑配置
```bash
Expand All @@ -15,8 +15,9 @@
```bash
sudo docker build --network=host -t memoryscope .
```
备注:如果是arm架构的电脑,则必须使用另一个命令:`sudo docker build -f DockerfileArm --network=host -t memoryscope .`

3. 启动 Docker 容器 (备注:ARM架构暂不支持)
3. 启动 Docker 容器
```bash
sudo docker run -it --rm --net=host memoryscope
```
Expand All @@ -43,7 +44,7 @@
DASHSCOPE_API_KEY: "sk-0000000000"
```

3. 运行 `docker-compose run memory_scope_main` 命令来构建并启动 MemoryScope CLI 界面。 (备注:ARM架构暂不支持)
3. 运行 `docker-compose run memory_scope_main` 命令来构建并启动 MemoryScope CLI 界面。(备注:如果是arm架构,还需要手动将docker-compose.yml中的`ghcr.io/modelscope/memoryscope:main`修改成`ghcr.io/modelscope/memoryscope_arm:main`)


## 三、通过 PYPI 安装
Expand Down
11 changes: 6 additions & 5 deletions zh/docs/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../README.html">关于 MemoryScope</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">安装</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#docker-x86-64">一、使用 Docker 安装 [推荐] [x86_64]</a></li>
<li class="toctree-l2"><a class="reference internal" href="#docker">一、使用 Docker 安装 [推荐]</a></li>
<li class="toctree-l2"><a class="reference internal" href="#docker-compose-x86-64">二、使用 Docker Compose 安装 [推荐] [x86_64]</a></li>
<li class="toctree-l2"><a class="reference internal" href="#pypi">三、通过 PYPI 安装</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id1">四、从源码安装</a></li>
Expand Down Expand Up @@ -104,8 +104,8 @@

<section id="memoryscope">
<h1>MemoryScope 安装指南<a class="headerlink" href="#memoryscope" title="Link to this heading"></a></h1>
<section id="docker-x86-64">
<h2>一、使用 Docker 安装 [推荐] [x86_64]<a class="headerlink" href="#docker-x86-64" title="Link to this heading"></a></h2>
<section id="docker">
<h2>一、使用 Docker 安装 [推荐]<a class="headerlink" href="#docker" title="Link to this heading"></a></h2>
<ol class="arabic">
<li><p>克隆仓库并编辑配置</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># 克隆项目</span>
Expand All @@ -120,8 +120,9 @@ <h2>一、使用 Docker 安装 [推荐] [x86_64]<a class="headerlink" href="#doc
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo<span class="w"> </span>docker<span class="w"> </span>build<span class="w"> </span>--network<span class="o">=</span>host<span class="w"> </span>-t<span class="w"> </span>memoryscope<span class="w"> </span>.
</pre></div>
</div>
<p>备注:如果是arm架构的电脑,则必须使用另一个命令:<code class="docutils literal notranslate"><span class="pre">sudo</span> <span class="pre">docker</span> <span class="pre">build</span> <span class="pre">-f</span> <span class="pre">DockerfileArm</span> <span class="pre">--network=host</span> <span class="pre">-t</span> <span class="pre">memoryscope</span> <span class="pre">.</span></code></p>
</li>
<li><p>启动 Docker 容器 (备注:ARM架构暂不支持)</p>
<li><p>启动 Docker 容器</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo<span class="w"> </span>docker<span class="w"> </span>run<span class="w"> </span>-it<span class="w"> </span>--rm<span class="w"> </span>--net<span class="o">=</span>host<span class="w"> </span>memoryscope
</pre></div>
</div>
Expand Down Expand Up @@ -151,7 +152,7 @@ <h2>二、使用 Docker Compose 安装 [推荐] [x86_64]<a class="headerlink" hr
</pre></div>
</div>
</li>
<li><p>运行 <code class="docutils literal notranslate"><span class="pre">docker-compose</span> <span class="pre">run</span> <span class="pre">memory_scope_main</span></code> 命令来构建并启动 MemoryScope CLI 界面。 (备注:ARM架构暂不支持)</p></li>
<li><p>运行 <code class="docutils literal notranslate"><span class="pre">docker-compose</span> <span class="pre">run</span> <span class="pre">memory_scope_main</span></code> 命令来构建并启动 MemoryScope CLI 界面。(备注:如果是arm架构,还需要手动将docker-compose.yml中的<code class="docutils literal notranslate"><span class="pre">ghcr.io/modelscope/memoryscope:main</span></code>修改成<code class="docutils literal notranslate"><span class="pre">ghcr.io/modelscope/memoryscope_arm:main</span></code>)</p></li>
</ol>
</section>
<section id="pypi">
Expand Down
2 changes: 1 addition & 1 deletion zh/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h3>核心框架<a class="headerlink" href="#id2" title="Link to this heading">
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="docs/installation.html">安装</a><ul>
<li class="toctree-l2"><a class="reference internal" href="docs/installation.html#docker-x86-64">一、使用 Docker 安装 [推荐] [x86_64]</a></li>
<li class="toctree-l2"><a class="reference internal" href="docs/installation.html#docker">一、使用 Docker 安装 [推荐]</a></li>
<li class="toctree-l2"><a class="reference internal" href="docs/installation.html#docker-compose-x86-64">二、使用 Docker Compose 安装 [推荐] [x86_64]</a></li>
<li class="toctree-l2"><a class="reference internal" href="docs/installation.html#pypi">三、通过 PYPI 安装</a></li>
<li class="toctree-l2"><a class="reference internal" href="docs/installation.html#id1">四、从源码安装</a></li>
Expand Down
2 changes: 1 addition & 1 deletion zh/memoryscope.core.utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@

<dl class="py function">
<dt class="sig sig-object py" id="memoryscope.core.utils.char_logo">
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1729503150561549239</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[源代码]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.char_logo" title="Link to this definition"></a></dt>
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1729504537783387778</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[源代码]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.char_logo" title="Link to this definition"></a></dt>
<dd><p>Render the context of logo with colors</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
Expand Down
2 changes: 1 addition & 1 deletion zh/memoryscope.core.utils.tool_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@

<dl class="py function">
<dt class="sig sig-object py" id="memoryscope.core.utils.tool_functions.char_logo">
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.tool_functions.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1729503150561549239</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[源代码]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.tool_functions.char_logo" title="Link to this definition"></a></dt>
<span class="sig-prename descclassname"><span class="pre">memoryscope.core.utils.tool_functions.</span></span><span class="sig-name descname"><span class="pre">char_logo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">words</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">1729504537783387778</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">color</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/memoryscope/core/utils/tool_functions.html#char_logo"><span class="viewcode-link"><span class="pre">[源代码]</span></span></a><a class="headerlink" href="#memoryscope.core.utils.tool_functions.char_logo" title="Link to this definition"></a></dt>
<dd><p>Render the context of logo with colors</p>
<dl class="field-list simple">
<dt class="field-odd">参数<span class="colon">:</span></dt>
Expand Down
Binary file modified zh/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion zh/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 53473f1

Please sign in to comment.