Commit 547aec4d authored by nanahira's avatar nanahira

cudnn7 only

parent 8fde3d29
Pipeline #8299 failed with stage
in 10 seconds
...@@ -45,14 +45,14 @@ ...@@ -45,14 +45,14 @@
find: find:
paths: paths:
- /usr/lib/x86_64-linux-gnu - /usr/lib/x86_64-linux-gnu
patterns: 'libcudnn.so.8.0.5' patterns: 'libcudnn.so.7.6.5'
register: cudnn_result register: cudnn_result
- name: install cudnn - name: install cudnn
become: true become: true
apt: apt:
deb: 'https://cdn01.moecube.com/nanahira/cudnn/{{item}}' deb: 'https://cdn01.moecube.com/nanahira/cudnn/{{item}}'
with_items: with_items:
- libcudnn8_8.0.5.39-1+cuda10.1_amd64.deb - libcudnn8_7.6.5.32-1+cuda10.1_amd64.deb
- libcudnn8-dev_8.0.5.39-1+cuda10.1_amd64.deb - libcudnn8-dev_7.6.5.32-1+cuda10.1_amd64.deb
- libcudnn8-samples_8.0.5.39-1+cuda10.1_amd64.deb - libcudnn8-samples_7.6.5.32-1+cuda10.1_amd64.deb
when: not cudnn_result.files[0] is defined and ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 18 when: not cudnn_result.files[0] is defined and ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 18
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment