pytorch
163fc0e7 - Create a new Ubunutu 22.04 (jammy) build for platform010 (take 2) (#79945)

Commit
2 years ago
Create a new Ubunutu 22.04 (jammy) build for platform010 (take 2) (#79945) ### Motivation In order to match the internal platform010 builds, we are creating a new config to run on PRs that uses compiler and package versions >= used in platform010. Here are the versions used in the new build - Ubuntu 22.04 (Jammy-Jellyfish) - Clang-12 - Python 3.8 - CUDA 11.6 ### Summary of Changes - As `nvidia/docker` images only support Cuda 11.7 with Ubuntu 22.04, we are starting with base Ubuntu 22.04 docker images, and then installing Cuda 11.6 - Fetching `install_cuda.sh` from `pytorch/builder` repo in order to install Cuda using `wget` - `libssl-dev` has been upgraded to libssl3 in Ubuntu 22.04. Instead, we are using `include` and `lib` folders downloaded with `Openssl1.1.1` - `Clang-12` requires `libomp-12-dev` to work with `OpenMP` which is added to the `install_base.sh` file. - Minor fixes to handle compilation errors generated when using `clang-12`. - In `pow_test.cpp` adding a `static_cast` to input of `sqrt` method - In `vec512_qint.h`, explicitly defining `copy-assignment` operator as its implicit definition is deprecated due to user-declared `copy-constructor` in C++11 Pull Request resolved: https://github.com/pytorch/pytorch/pull/79945 Approved by: https://github.com/seemethere, https://github.com/kit1980
Author
Committer
Parents
Loading