GeezerVison is showing github.com — Updating hip-python README · amd/HPCTrainingExamples@8c0ec61
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: Python/hip-python/README.md +3-2Lines changed: 3 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -26,8 +26,9 @@ python -c 'from hip import hip, hiprtc' 2> /dev/null && echo 'Success' || echo ' |
26 | 26 | > ```bash |
27 | 27 | > python3 -m venv hip-python-venv |
28 | 28 | > source hip-python-venv/bin/activate |
29 | | -> python3 -m pip install -i https://test.pypi.org/simple hip-python~=7.2.0 |
30 | | -> python3 -m pip install -i https://test.pypi.org/simple hip-python-as-cuda~=7.2.0 |
| 29 | +> export ROCM_VERSION=`cat $ROCM_PATH/.info/version` |
| 30 | +> python3 -m pip install -i https://test.pypi.org/simple "hip-python==${ROCM_VERSION}.*" --force-reinstall --no-cache |
| 31 | +> python3 -m pip install -i https://test.pypi.org/simple "hip-python-as-cuda==${ROCM_VERSION}.*" --force-reinstall --no-cache |
31 | 32 | > ``` |
32 | 33 | > Make sure to specify the **correct version** string that matches your **local ROCm installation**. |
33 | 34 | > This example installs `hip-python` for `rocm/7.2.0`. |
|