Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further improvements to fl CI in open source
Summary: Updates CI infrastructure and configuration for flashlight. Start using `gpu.small` (`p3.2xlarge`) instances on AWS vis-a-vis CircleCI with the built-in `ubuntu-1604:201903-01` image. > It looks like we're downloading and installing CUDA, Docker, and NVIDIA Docker - why?? Unfortunately, CircleCI's VM images, even if they do have NVIDIA/CUDA drivers on them, don't support running a Docker image with nvidia-docker (flags need to be passed at the Docker invocation at runtime). We're forced to install CUDA and nvidia-docker as a result so we can manually invoke `sudo docker run --runtime=nvidia ...` Other changes/notes: - The CPU build still uses a normal VM instance with the CPU base docker image. Reduce the number of threads to 1 since any more causes the compiler to OOM for some reason - Since tests don't compltely pass with the CPU backend yet (there are still a few unimplemented exceptions), don't run CPU tests - GPU backend builds now take advantage of as many available threads as possible with `-j$(nproc)` - Separates the CPU and CUDA builds into two different workflows so they're done in parallel. Reviewed By: VitaliyLi Differential Revision: D16806968 fbshipit-source-id: 02dea7034fc78d18a5e4a56735dc1c40cb56a07f
- Loading branch information