Skip to content

Commit

Permalink
work rocm
Browse files Browse the repository at this point in the history
  • Loading branch information
wuxxin committed Oct 22, 2022
1 parent fc1cf26 commit c0d31f0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 16 deletions.
3 changes: 2 additions & 1 deletion hardware/amd/rocm/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
include:
- manjaro.aur
# - manjaro.arch4edu
- hardware.amd.radeon
{{ pamac_install('rocm-sdk', [
'rocminfo',
'rocm-hip-sdk',
'rocm-opencl-sdk',
'miopen-hip',
'hipmagma',
'hip-runtime-amd',
]) }}
hardware-amd-rocm:
Expand Down
2 changes: 1 addition & 1 deletion hardware/amd/rocm/jax.sls
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jax_req:
- sls: desktop.manjaro.python.development
- sls: desktop.manjaro.python.hardware_optimized
{{ pamac_install('python-jax-rocm_aur', ['python-jax-rocm'],
{{ pamac_install('python-jax-rocm-aur', ['python-jax-rocm'],
require= "test: jax_req") }}
15 changes: 2 additions & 13 deletions hardware/amd/rocm/pytorch.sls
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pytorch_req:
- sls: desktop.manjaro.python.hardware_optimized
# pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration
{{ pamac_install('python-pytorch-rocm', ['python-pytorch-rocm', ],
{{ pamac_install('python-pytorch-rocm', ['python-pytorch-opt-rocm', ],
require='test: pytorch_req') }}
# torchvision - Datasets, transforms, and models specific to computer vision
Expand All @@ -25,18 +25,7 @@ pytorch_req:
require='test: pytorch_req') }}
{#
# torchtext - Data loaders and abstractions for text and NLP
{{ pamac_patch_install_dir('python-torchtext',
'salt://hardware/amd/rocm/python-torchtext',
require='test: python-pytorch-rocm', custom=true) }}
# torchaudio - Data manipulation and transformation for audio signal processing
{{ pamac_patch_install_dir('python-torchaudio-rocm',
'salt://hardware/amd/rocm/python-torchaudio-rocm',
require=['test: python-pytorch-rocm', 'test: python-kaldi-io'],
custom=true) }}
# torchtext - Data loaders and abstractions for text and NLP
# torchrec - Domain library for recommendation systems
#}
2 changes: 1 addition & 1 deletion hardware/amd/rocm/tensorflow.sls
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ tensorflow_req:
- sls: desktop.manjaro.python.hardware_optimized
# python-tensorflow-opt-rocm - scalable machine learning (with ROCM and AVX2 CPU optimizations)
{{ pamac_install('python-tensorflow-rocm_aur', [ 'python-tensorflow-opt-rocm',],
{{ pamac_install('python-tensorflow-rocm-aur', [ 'python-tensorflow-opt-rocm',],
require= 'test: tensorflow_req') }}

0 comments on commit c0d31f0

Please sign in to comment.