Skip to content

Commit 791f9f7

Browse files
authored
Fix magma installation inside docker container
Not sure, what weird version of `wget` is getting installed, but attempt to download https://anaconda.org/pytorch/magma-cuda121/2.6.1/download/linux-64/magma-cuda121-2.6.1-1.tar.bz2 fails with: ``` --2023-07-06 03:18:38-- https://anaconda.org/pytorch/magma-cuda121/2.6.1/download/linux-64/magma-cuda121-2.6.1-1.tar.bz2 Resolving anaconda.org (anaconda.org)... 104.17.93.24, 104.17.92.24, 2606:4700::6811:5d18, ... Connecting to anaconda.org (anaconda.org)|104.17.93.24|:443... connected. ERROR: cannot verify anaconda.org's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=E1’: Issued certificate has expired. To connect to anaconda.org insecurely, use `--no-check-certificate'. ```
1 parent 70f6c48 commit 791f9f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/install_magma.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function do_install() {
1616
set -x
1717
tmp_dir=$(mktemp -d)
1818
pushd ${tmp_dir}
19-
wget -q https://anaconda.org/pytorch/magma-cuda${cuda_version_nodot}/${MAGMA_VERSION}/download/linux-64/${magma_archive}
19+
curl -OLs https://anaconda.org/pytorch/magma-cuda${cuda_version_nodot}/${MAGMA_VERSION}/download/linux-64/${magma_archive}
2020
tar -xvf "${magma_archive}"
2121
mkdir -p "${cuda_dir}/magma"
2222
mv include "${cuda_dir}/magma/include"

0 commit comments

Comments
 (0)