Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use nvidia channel for linux cuda build #16

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,8 @@ outlined on that page and do not file a public issue.

### Install Dependencies

Same as in [README](README.md) with the exception of:
```
conda install pytorch torchvision torchtext cudatoolkit=11.3 -c pytorch-nightly

# For CPU-only install
conda install pytorch torchvision torchtext cpuonly -c pytorch-nightly
```

### Install TorchMultimodal

```
git clone --recursive https://github.com/facebookresearch/multimodal.git torchmultimodal
cd torchmultimodal
pip install -r requirements.txt
python setup.py develop
```

Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,17 @@ TorchMultimodal requires Python >= 3.8. The library can be installed with or wit

1. Create conda environment
```
conda create -n torch-multimodal
conda create -n torch-multimodal python=<python_version>
conda activate torch-multimodal
```
2. Install pytorch, torchvision, and torchtext. See [PyTorch documentation](https://pytorch.org/get-started/locally/).
```
conda install pytorch torchvision torchtext cudatoolkit=11.3 -c pytorch-nightly
For now we only support Linux platform.
```
conda install pytorch torchvision torchtext cudatoolkit=11.3 -c pytorch-nightly -c nvidia

# For CPU-only install
conda install pytorch torchvision torchtext cpuonly -c pytorch-nightly
```
# For CPU-only install
conda install pytorch torchvision torchtext cpuonly -c pytorch-nightly
```
3. Download and install TorchMultimodal and remaining requirements.
```
git clone --recursive https://github.com/facebookresearch/multimodal.git torchmultimodal
Expand Down