Skip to content

Commit

Permalink
replace broken ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Dec 4, 2023
1 parent 5913507 commit bd274d9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/COPY_ROOT/opt/ai-dock/bin/build/layer0/amd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ python_lock=$(micromamba -n $MAMBA_DEFAULT_ENV run python -V|awk '{print $2}'|cu
$MAMBA_INSTALL -n $MAMBA_DEFAULT_ENV \
-c pytorch \
-c conda-forge \
pytorch=${PYTORCH_VERSION} torchvision torchaudio \
python=${python_lock} \
--only-deps
pytorch=${PYTORCH_VERSION} torchvision torchaudio \
python=${python_lock} \
--only-deps
# Now pip install...
micromamba -n $MAMBA_DEFAULT_ENV run pip install \
--no-cache-dir \
Expand Down
4 changes: 4 additions & 0 deletions build/COPY_ROOT/opt/ai-dock/bin/build/layer0/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@
set -eo pipefail

# For logic common to cpu, cuda & rocm
$MAMBA_INSTALL -n $MAMBA_DEFAULT_ENV \
-c pytorch \
-c conda-forge \
ffmpeg">=4.3.1"

exit 0
6 changes: 4 additions & 2 deletions build/COPY_ROOT/opt/ai-dock/bin/build/layer0/cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ python_lock=$(micromamba -n $MAMBA_DEFAULT_ENV run python -V|awk '{print $2}'|cu
$MAMBA_INSTALL -n $MAMBA_DEFAULT_ENV \
-c pytorch \
-c conda-forge \
python=${python_lock} \
pytorch=${PYTORCH_VERSION} torchvision torchaudio cpuonly \
python=${python_lock} \
pytorch=${PYTORCH_VERSION} torchvision \
torchaudio \
cpuonly

0 comments on commit bd274d9

Please sign in to comment.