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