mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-18 01:39:36 +08:00
docs
This commit is contained in:

committed by
CircleCI Docs

parent
e6ffce1a9b
commit
efe5c824af
14
docs/build/html/install.html
vendored
14
docs/build/html/install.html
vendored
@@ -118,9 +118,9 @@
|
||||
<h1>Build and Install<a class="headerlink" href="#build-and-install" title="Permalink to this heading"></a></h1>
|
||||
<section id="install-from-pypi">
|
||||
<h2>Install from PyPI<a class="headerlink" href="#install-from-pypi" title="Permalink to this heading"></a></h2>
|
||||
<p>MLX is available at Apple’s internal PyPI repository. All you have to do to use
|
||||
MLX with your own Apple silicon computer is</p>
|
||||
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>pip<span class="w"> </span>install<span class="w"> </span>apple-mlx<span class="w"> </span>-i<span class="w"> </span>https://pypi.apple.com/simple
|
||||
<p>MLX is available on PyPI. All you have to do to use MLX with your own Apple
|
||||
silicon computer is</p>
|
||||
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>pip<span class="w"> </span>install<span class="w"> </span>mlx
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -151,6 +151,14 @@ brew<span class="w"> </span>install<span class="w"> </span>pybind11
|
||||
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>env<span class="w"> </span><span class="nv">CMAKE_BUILD_PARALLEL_LEVEL</span><span class="o">=</span><span class="s2">""</span><span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span>.
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>For developing use an editable install:</p>
|
||||
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>env<span class="w"> </span><span class="nv">CMAKE_BUILD_PARALLEL_LEVEL</span><span class="o">=</span><span class="s2">""</span><span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span>-e<span class="w"> </span>.
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>To make sure the install is working run the tests with:</p>
|
||||
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>python<span class="w"> </span>-m<span class="w"> </span>unittest<span class="w"> </span>discover<span class="w"> </span>python/tests
|
||||
</pre></div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="c-api">
|
||||
<h3>C++ API<a class="headerlink" href="#c-api" title="Permalink to this heading"></a></h3>
|
||||
|
Reference in New Issue
Block a user