Skip to content

Commit

Permalink
fix cibuildwheel issue "Could not resolve host: mirrorlist.centos.org…
Browse files Browse the repository at this point in the history
…; Unknown error"

Summary:
# context
* there is a recent error in the "Build Dynamic Embedding Wheels" test
```
     + sh -c 'env CUDA_VERSION=11.8 contrib/dynamic_embedding/tools/before_linux_build.sh'
  + distro=rhel7
  + arch=x86_64
  + CUDA_VERSION=11.8
  ++ echo 11.8
  ++ tr . ' '
  ++ awk '{print $1}'
  + CUDA_MAJOR_VERSION=11
  ++ echo 11.8
  ++ tr . ' '
  ++ awk '{print $2}'
  + CUDA_MINOR_VERSION=8
  + yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
  Loaded plugins: fastestmirror, ovl
  adding repo from: https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
  grabbing file https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo to /etc/yum.repos.d/cuda-rhel7.repo
  repo saved to /etc/yum.repos.d/cuda-rhel7.repo
  + yum install -y cuda-toolkit-11-8 libcudnn8-devel
  Loaded plugins: fastestmirror, ovl
  Determining fastest mirrors
  Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was
  14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
```

Differential Revision: D59347488
  • Loading branch information
TroyGarden authored and facebook-github-bot committed Jul 3, 2024
1 parent 7186507 commit 13b07d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_dynamic_embedding_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
submodules: recursive

- uses: pypa/cibuildwheel@v2.8.0
- uses: pypa/cibuildwheel@v2.19.2
with:
package-dir: contrib/dynamic_embedding
env:
Expand Down

0 comments on commit 13b07d7

Please sign in to comment.