Skip to content

Commit

Permalink
Merge pull request #272 from RobJY/cuda_build_fixes
Browse files Browse the repository at this point in the history
Cuda build fixes
  • Loading branch information
cboettig authored Nov 18, 2021
2 parents 92e5e4c + e2474be commit 6d5eed8
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.Ruserdata
*.Rproj
.*.swp
tests/gpu/misc/hosts

tests/gpu/misc/hosts

Expand Down
42 changes: 42 additions & 0 deletions tests/gpu/misc/build-fix-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Build combination notes

## Build combination summary

The following combinations of toolkit and tensorflow versions were tested for Nvidia driver versions 460 and 470 and had the same results.

| tensorflow version / toolkit version | 10 | 11 |
| ----------------------------------- | -- | -- |
| 1.15 | succeeds | succeeds |
| 2.2 | succeeds | fails |
| 2.5 | fails | succeeds |
| 2.6 | fails | succeeds |

## Failed build combination notes

* Driver 470, toolkit 11, tensorflow 2.2:
* Tensorflow 2.2 seems to require toolkit 10.
* I was able to load the required libraries in version 10 with apt. They are:
* libcudart10
* libcusolver10
* libcublas10
* libcusparse10
* Unfortunately, it also requires cudnn7 which isn't available from apt.
* maybe a repo can be added that has cudnn7
* other option is to build from download from NVIDIA, but I don't know how this would work within the build
* unsupported; tensorflow 2.2 seems to require toolkit 10
* Driver 470, toolkit 10, tensorflow 2.5:
* fails on missing libraries:
* libcudart11
* libcublas11
* libcublasLt11
* libcusolver11
* libcusparse11
* unsupported; tensorflow 2.5 seems to require toolkit 11
* Driver 470, toolkit 10, tensorflow 2.6:
* fails on missing libraries:
* libcudart11
* libcublas11
* libcublasLt11
* libcusolver11
* libcusparse11
* unsupported; tensorflow 2.6 seems to require toolkit 11

0 comments on commit 6d5eed8

Please sign in to comment.