Skip to content

Commit

Permalink
Update env.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryHe11 authored Jul 2, 2024
1 parent cbab338 commit 3b1f1fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion preprocessors/Emilia/env.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/bash
# Copyright (c) 2024 Amphion.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

conda install ffmpeg -y
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia -y
pip install -r requirements.txt
pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/

0 comments on commit 3b1f1fd

Please sign in to comment.