Skip to content

Update CPU and CUDA Dockerfiles#330

Closed
jacobkahn wants to merge 1 commit intoflashlight:masterfrom
jacobkahn:export-D25514612
Closed

Update CPU and CUDA Dockerfiles#330
jacobkahn wants to merge 1 commit intoflashlight:masterfrom
jacobkahn:export-D25514612

Conversation

@jacobkahn
Copy link
Copy Markdown
Member

Summary:
Fix the Docker image build

  • Use multiple RUN commands with docker prune to allow checkingpointing the base image builds to make it easier to debug stuff in the future
  • Make MKLROOT a global env var
  • Remove the MKL BLAS vendor for oneDNN (apparently faster without MKL) - see [oneDNN] New port microsoft/vcpkg#15068 (comment)
  • Enable building tests in the CPU CI build since it works now and gtest_discover_tests is removed so we don't have runtime libmlk_rt issues. We also shouldn't have those issues anymore in general because we are no longer linking MKL to the MKL-DNN/oneDNN build

Differential Revision: D25514612

@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Dec 12, 2020
Summary:
Pull Request resolved: flashlight#330

Fix the Docker image build
- Use multiple `RUN` commands with `docker prune` to allow checkingpointing the base image builds to make it easier to debug stuff in the future
- Make `MKLROOT` a global env var
- Remove the MKL BLAS vendor for oneDNN (apparently faster without MKL) - see microsoft/vcpkg#15068 (comment)
- Enable building tests in the CPU CI build since it works now and `gtest_discover_tests` is removed so we don't have runtime `libmlk_rt` issues. We also shouldn't have those issues anymore in general because we are no longer linking MKL to the MKL-DNN/oneDNN build

Reviewed By: tlikhomanenko

Differential Revision: D25514612

fbshipit-source-id: a14ba9113b7d3f36ecf9a7478613ec1354518458
@jacobkahn jacobkahn deleted the export-D25514612 branch January 10, 2021 19:32
jacobkahn added a commit to flashlight/text that referenced this pull request Mar 25, 2022
Summary:
Pull Request resolved: flashlight/flashlight#330

Fix the Docker image build
- Use multiple `RUN` commands with `docker prune` to allow checkingpointing the base image builds to make it easier to debug stuff in the future
- Make `MKLROOT` a global env var
- Remove the MKL BLAS vendor for oneDNN (apparently faster without MKL) - see microsoft/vcpkg#15068 (comment)
- Enable building tests in the CPU CI build since it works now and `gtest_discover_tests` is removed so we don't have runtime `libmlk_rt` issues. We also shouldn't have those issues anymore in general because we are no longer linking MKL to the MKL-DNN/oneDNN build

Reviewed By: tlikhomanenko

Differential Revision: D25514612

fbshipit-source-id: 9f371a24e8c4de0c6779092539ffc544eaf21812
jacobkahn added a commit to flashlight/text that referenced this pull request Mar 25, 2022
Summary:
Pull Request resolved: flashlight/flashlight#330

Fix the Docker image build
- Use multiple `RUN` commands with `docker prune` to allow checkingpointing the base image builds to make it easier to debug stuff in the future
- Make `MKLROOT` a global env var
- Remove the MKL BLAS vendor for oneDNN (apparently faster without MKL) - see microsoft/vcpkg#15068 (comment)
- Enable building tests in the CPU CI build since it works now and `gtest_discover_tests` is removed so we don't have runtime `libmlk_rt` issues. We also shouldn't have those issues anymore in general because we are no longer linking MKL to the MKL-DNN/oneDNN build

Reviewed By: tlikhomanenko

Differential Revision: D25514612

fbshipit-source-id: 9f371a24e8c4de0c6779092539ffc544eaf21812
jacobkahn added a commit to flashlight/sequence that referenced this pull request Oct 13, 2022
Summary:
Pull Request resolved: flashlight/flashlight#330

Fix the Docker image build
- Use multiple `RUN` commands with `docker prune` to allow checkingpointing the base image builds to make it easier to debug stuff in the future
- Make `MKLROOT` a global env var
- Remove the MKL BLAS vendor for oneDNN (apparently faster without MKL) - see microsoft/vcpkg#15068 (comment)
- Enable building tests in the CPU CI build since it works now and `gtest_discover_tests` is removed so we don't have runtime `libmlk_rt` issues. We also shouldn't have those issues anymore in general because we are no longer linking MKL to the MKL-DNN/oneDNN build

Reviewed By: tlikhomanenko

Differential Revision: D25514612

fbshipit-source-id: 9f371a24e8c4de0c6779092539ffc544eaf21812
jacobkahn added a commit to flashlight/sequence that referenced this pull request Oct 13, 2022
Summary:
Pull Request resolved: flashlight/flashlight#330

Fix the Docker image build
- Use multiple `RUN` commands with `docker prune` to allow checkingpointing the base image builds to make it easier to debug stuff in the future
- Make `MKLROOT` a global env var
- Remove the MKL BLAS vendor for oneDNN (apparently faster without MKL) - see microsoft/vcpkg#15068 (comment)
- Enable building tests in the CPU CI build since it works now and `gtest_discover_tests` is removed so we don't have runtime `libmlk_rt` issues. We also shouldn't have those issues anymore in general because we are no longer linking MKL to the MKL-DNN/oneDNN build

Reviewed By: tlikhomanenko

Differential Revision: D25514612

fbshipit-source-id: 9f371a24e8c4de0c6779092539ffc544eaf21812
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants