Skip to content

Commit

Permalink
deploy: 40acb1f
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Oct 21, 2024
1 parent 53473f1 commit e5471f0
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 10 deletions.
Binary file modified en/.doctrees/docs/installation.doctree
Binary file not shown.
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.
5 changes: 3 additions & 2 deletions en/_sources/docs/installation.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
```bash
sudo docker build --network=host -t memoryscope .
```
If you are using arm-based computers, modify command above into: `sudo docker build -f DockerfileArm --network=host -t memoryscope .`

3. Launch Docker container (ARM architecture not yet supported)
3. Launch Docker container
```bash
sudo docker run -it --rm --net=host memoryscope
```
Expand All @@ -42,7 +43,7 @@
OPENAI_API_KEY: "sk-0000000000"
```

3. Run `docker-compose run memory_scope_main` to build and launch the memory-scope cli interface. (ARM architecture not yet supported)
3. Run `docker-compose run memory_scope_main` to build and launch the memory-scope cli interface. (For ARM architecture, you should edit `docker-compose.yml`, changing `image: ghcr.io/modelscope/memoryscope:main` to `image: ghcr.io/modelscope/memoryscope_arm:main`)


## III. Install from PyPI
Expand Down
5 changes: 3 additions & 2 deletions en/docs/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,9 @@ <h2>I. Install with docker [Recommended] [x86_64]<a class="headerlink" href="#i-
<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>If you are using arm-based computers, modify command above into: <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>Launch Docker container (ARM architecture not yet supported)</p>
<li><p>Launch Docker container</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>II. Install with docker compose [Recommended] [x86_64]<a class="headerlink"
</pre></div>
</div>
</li>
<li><p>Run <code class="docutils literal notranslate"><span class="pre">docker-compose</span> <span class="pre">run</span> <span class="pre">memory_scope_main</span></code> to build and launch the memory-scope cli interface. (ARM architecture not yet supported)</p></li>
<li><p>Run <code class="docutils literal notranslate"><span class="pre">docker-compose</span> <span class="pre">run</span> <span class="pre">memory_scope_main</span></code> to build and launch the memory-scope cli interface. (For ARM architecture, you should edit <code class="docutils literal notranslate"><span class="pre">docker-compose.yml</span></code>, changing <code class="docutils literal notranslate"><span class="pre">image:</span> <span class="pre">ghcr.io/modelscope/memoryscope:main</span></code> to <code class="docutils literal notranslate"><span class="pre">image:</span> <span class="pre">ghcr.io/modelscope/memoryscope_arm:main</span></code>)</p></li>
</ol>
</section>
<section id="iii-install-from-pypi">
Expand Down
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">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>
<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">1729504879934812022</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">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>
<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">1729504879934812022</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/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.
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">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>
<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">1729504900028678363</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">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>
<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">1729504900028678363</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
2 changes: 1 addition & 1 deletion zh/searchindex.js

Large diffs are not rendered by default.

0 comments on commit e5471f0

Please sign in to comment.