Skip to content

Commit

Permalink
Osx installation instructions
Browse files Browse the repository at this point in the history
Summary:
{F157239864}

{F157240350}

(Note: this ignores all push blocking failures!)

Reviewed By: ldworkin

Differential Revision: D15170226

fbshipit-source-id: 8a47bce21e66e3792e663c6b385cae91361ba21d
  • Loading branch information
lena-kashtelyan authored and facebook-github-bot committed May 1, 2019
1 parent 49a0804 commit 67e04ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The required Python dependencies are:
* sklearn
* plotly >=2.2.1, <3.0

### Installation via pip
### Installation via pip
We recommend installing Ax via pip.
To do so, run:

Expand All @@ -25,8 +25,8 @@ pip3 install ax-platform
```

*Recommendation for MacOS users*: PyTorch is a required dependency of BoTorch, and can be automatically installed via pip.
However, we recommend you install PyTorch manually before installing Ax, using the Anaconda package manager.
Installing from Anaconda will link against MKL (a library that optimizes mathematical computation for Intel processors).
However, **we recommend you [install PyTorch manually](https://pytorch.org/get-started/locally/#anaconda-1) before installing Ax, using the Anaconda package manager**.
Installing from Anaconda will link against MKL (a library that optimizes mathematical computation for Intel processors).
This will result in up to an order-of-magnitude speed-up for Bayesian optimization, as at the moment, installing PyTorch from pip does not link against MKL.

### Installing from source
Expand Down
5 changes: 3 additions & 2 deletions website/pages/en/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ class Index extends React.Component {
<Container>
<ol>
<li>
Install Ax via pip:
<MarkdownBlock>{bash`pip3 install ax-platform`}</MarkdownBlock>
Install Ax:
<MarkdownBlock>{bash`conda install pytorch torchvision -c pytorch # OSX only`}</MarkdownBlock>
<MarkdownBlock>{bash`pip3 install ax-platform # all systems`}</MarkdownBlock>
</li>
<li>
Run an optimization:
Expand Down

0 comments on commit 67e04ab

Please sign in to comment.