File size: 1,161 Bytes
5ba1de3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# Fame PyTorch ROCm Kit β Installation Instructions π
This file explains how to manually install the Fame-built PyTorch ROCm version.
---
## π οΈ 1. Prepare Environment
Activate your Python environment (recommended: venv):
```bash
source ~/rocm_env/bin/activate
```
Install CMake if missing:
```bash
pip install cmake
```
Ensure HIP and ROCm paths are correctly set (`ROC_ENABLE_PRE_VEGA=1`, etc).
---
## π οΈ 2. Build PyTorch
Navigate to the Fame Kit folder:
```bash
cd fame-pytorch-kit/
```
Run the build script:
```bash
bash build_torch.sh
```
---
## π¦ 3. Install the Wheel
Navigate to the dist folder:
```bash
cd pytorch/dist/
```
Install the Wheel manually:
```bash
pip install torch-2.8.0a0+gitc402b3b-cp312-cp312-linux_x86_64.whl
```
---
## β
4. Verify Installation
Test your installation:
```bash
python -c "import torch; print(torch.cuda.is_available())"
python -c "import torch; print(torch.cuda.get_device_name(0))"
python -c "import torch; print(torch.version.hip)"
```
You should see:
- `True` (GPU detected)
- Your GPU model name
- HIP version string
---
# Built with Fire. Built with Fame. π‘οΈπ₯
|