Skip to content

Commit 29df14c

Browse files
Balandatfacebook-github-bot
authored andcommitted
Update conda installation instructions to include gpytorch channel (#271)
Summary: Addresses installation error reported in some settings: #226 Pull Request resolved: #271 Test Plan: tested locally in anaconda docker container Reviewed By: danielrjiang Differential Revision: D17528793 Pulled By: Balandat fbshipit-source-id: a1a4ed61951e203282f07033138c63ce3beefa64
1 parent d7a8dbb commit 29df14c

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,16 @@ Optimization simply use Ax.
6060
The latest release of BoTorch is easily installed either via
6161
[Anaconda](https://www.anaconda.com/distribution/#download-section) (recommended):
6262
```bash
63-
conda install botorch -c pytorch
63+
conda install botorch -c pytorch -c gpytorch
6464
```
6565
or via `pip`:
6666
```bash
6767
pip install botorch
6868
```
6969

70+
You can customize your PyTorch installation (i.e. CUDA version, CPU only option)
71+
by following the [PyTorch installation instructions](https://pytorch.org/get-started/locally/).
72+
7073
***Important note for MacOS users:***
7174
* You will want to make sure your PyTorch build is linked against MKL (the
7275
non-optimized version of BoTorch can be up to an order of magnitude slower in

docs/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ or `pip`:
2525
<!--DOCUSAURUS_CODE_TABS-->
2626
<!--conda-->
2727
```bash
28-
conda install botorch -c pytorch
28+
conda install botorch -c pytorch -c gpytorch
2929
```
3030
<!--pip-->
3131
```bash

scripts/versions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function Versions(props) {
4040
<tr>
4141
<td>{`stable (${latestVersion})`}</td>
4242
<td>
43-
<code>conda install -c pytorch botorch</code>
43+
<code>conda install botorch -c pytorch -c gpytorch</code>
4444
</td>
4545
<td>
4646
<a href={`${baseUrl}index.html`}>stable</a>

website/pages/en/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ candidate # tensor([0.4887, 0.5063])
153153
<li>
154154
<h4>Install BoTorch:</h4>
155155
<a>via conda (recommended):</a>
156-
<MarkdownBlock>{bash`conda install botorch -c pytorch`}</MarkdownBlock>
156+
<MarkdownBlock>{bash`conda install botorch -c pytorch -c gpytorch`}</MarkdownBlock>
157157
<a>via pip:</a>
158158
<MarkdownBlock>{bash`pip install botorch`}</MarkdownBlock>
159159
</li>

0 commit comments

Comments
 (0)