-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: added the spconv installation to ansible
Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
- Loading branch information
Showing
6 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# spconv | ||
|
||
This role install the `cumm` and `spconv` libraries needed to perform sparse convolutions. | ||
Check warning on line 3 in ansible/roles/spconv/README.md
|
||
The [original implementation](https://github.com/traveller59/spconv) did not provide a shared library, which is pre-generated c++ code and pre-compiled libraries were prepared [separatedly](https://github.com/knzo25/spconv_cpp). | ||
|
||
## Manual Installation | ||
|
||
For manual installation, please follow the instructions in [this](https://github.com/knzo25/spconv_cpp) repository. |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
- name: Download the cumm package | ||
Check failure on line 1 in ansible/roles/spconv/tasks/main.yaml
|
||
ansible.builtin.get_url: | ||
url: https://github.com/knzo25/spconv_cpp/releases/download/spconv_v{{ spconv_version }}%2Bcumm_v{{ cumm_version }}/cumm_{{ cumm_version }}_amd64.deb | ||
Check warning on line 3 in ansible/roles/spconv/tasks/main.yaml
|
||
dest: /tmp/cumm.deb | ||
|
||
- name: Install the cumm package | ||
become: true | ||
ansible.builtin.apt: | ||
deb: /tmp/cumm.deb | ||
state: present | ||
|
||
- name: Download the spconv package | ||
ansible.builtin.get_url: | ||
url: https://github.com/knzo25/spconv_cpp/releases/download/spconv_v{{ spconv_version }}%2Bcumm_v{{ cumm_version }}/spconv_{{ spconv_version }}_amd64.deb | ||
dest: /tmp/spconv.deb | ||
|
||
- name: Install the spconv package | ||
become: true | ||
ansible.builtin.apt: | ||
deb: /tmp/spconv.deb | ||
state: present |