Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,28 @@
|
|
| 1 |
-
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
-
Built with Courage. Built with Fire. Built with
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
---
|
| 7 |
|
|
@@ -25,9 +46,9 @@ You will find everything needed to build, install, and test PyTorch from source,
|
|
| 25 |
| `MY_WHEELI_NOTES.md` | Notes related to the Wheel build |
|
| 26 |
| `PyTorch_ROCm_Build_Notes.md` | Extended ROCm build notes |
|
| 27 |
| `README.md` | This document – the Fame Masterplan |
|
| 28 |
-
|
| 29 |
---
|
| 30 |
|
|
|
|
| 31 |
## 🛠️ Build Instructions
|
| 32 |
|
| 33 |
1. **Activate your ROCm environment**
|
|
@@ -103,6 +124,114 @@ Fame Kit proudly built by [sbeierle](https://github.com/sbeierle) with 🛡️ C
|
|
| 103 |
---
|
| 104 |
|
| 105 |
# Built with Fire. Built with Fame. 🛡️🔥
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
- ar
|
| 6 |
+
tags:
|
| 7 |
+
- rocm
|
| 8 |
+
- amd
|
| 9 |
+
- gpu
|
| 10 |
+
- build-environment
|
| 11 |
+
- pytorch
|
| 12 |
+
- custom-build
|
| 13 |
+
- deep-learning
|
| 14 |
+
- machine-learning
|
| 15 |
+
- llm-enigneering
|
| 16 |
+
- arabic
|
| 17 |
+
- multilingual
|
| 18 |
+
- bilingual
|
| 19 |
+
---
|
| 20 |
+
# Fame PyTorch ROCm Kit 🔥🛡️
|
| 21 |
|
| 22 |
+
Built with Courage. Built with Fire. Built with Fame.
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+

|
| 26 |
|
| 27 |
---
|
| 28 |
|
|
|
|
| 46 |
| `MY_WHEELI_NOTES.md` | Notes related to the Wheel build |
|
| 47 |
| `PyTorch_ROCm_Build_Notes.md` | Extended ROCm build notes |
|
| 48 |
| `README.md` | This document – the Fame Masterplan |
|
|
|
|
| 49 |
---
|
| 50 |
|
| 51 |
+
|
| 52 |
## 🛠️ Build Instructions
|
| 53 |
|
| 54 |
1. **Activate your ROCm environment**
|
|
|
|
| 124 |
---
|
| 125 |
|
| 126 |
# Built with Fire. Built with Fame. 🛡️🔥
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
---
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
# Fame PyTorch ROCm Kit 🔥
|
| 133 |
+
|
| 134 |
+
مُصمم بشجاعة. مُصمم ببراعة. مُصمم بشغف.
|
| 135 |
+
|
| 136 |
+
---
|
| 137 |
+
|
| 138 |
+
## 🚀 حول
|
| 139 |
+
|
| 140 |
+
يوفر هذا المشروع مجموعة بناء كاملة ومنظمة لتجميع نسخة PyTorch ROCm عاملة على وحدات معالجة الرسومات AMD - دون عناء استخدام وحدات ROCm أو HIP أو OpenMP أو Git الفرعية.
|
| 141 |
+
|
| 142 |
+
ستجد كل ما تحتاجه لبناء PyTorch وتثبيته واختباره من المصدر، مع إنشاء حزمة `.whl` صالحة لجهازك المحلي.
|
| 143 |
+
|
| 144 |
+
---
|
| 145 |
+
|
| 146 |
+
## 📋 هيكل المشروع
|
| 147 |
+
|
| 148 |
+
| ملف/مجلد | الغرض |
|
| 149 |
+
|:-----------|:--------|
|
| 150 |
+
| `build_torch.sh` | سكربت لبناء PyTorch من المصدر |
|
| 151 |
+
| `install_torch.sh` | سكربت تثبيت ملف Wheel المُولّد |
|
| 152 |
+
| `test_torch.sh` | سكربت لاختبار استيراد PyTorch وحالة ROCm |
|
| 153 |
+
| `fame_torch_freeze.txt` | تجميد البيئة (إصدارات الحزمة) |
|
| 154 |
+
| `pytorch-wheel/` | (اختياري) المجلد الذي يحتوي على ملف `.whl` |
|
| 155 |
+
| `MY_WHEELI_NOTES.md` | ملاحظات متعلقة ببناء Wheel |
|
| 156 |
+
| `PyTorch_ROCm_Build_Notes.md` | ملاحظات بناء ROCm الموسعة |
|
| 157 |
+
| `README.md` | هذه الوثيقة - الخطة الرئيسية لـ Fame |
|
| 158 |
+
|
| 159 |
+
---
|
| 160 |
+
|
| 161 |
+
## 🛠️ تعليمات البناء
|
| 162 |
+
|
| 163 |
+
1. **تفعيل بيئة ROCm**
|
| 164 |
+
|
| 165 |
+
```bash
|
| 166 |
+
source ~/rocm_env/bin/activate
|
| 167 |
+
```
|
| 168 |
+
|
| 169 |
+
2. **انتقل إلى مجلد المشروع**
|
| 170 |
+
|
| 171 |
+
```bash
|
| 172 |
+
cd fame-pytorch-kit/
|
| 173 |
+
```
|
| 174 |
+
|
| 175 |
+
3. **بناء PyTorch**
|
| 176 |
+
|
| 177 |
+
```bash
|
| 178 |
+
bash build_torch.sh
|
| 179 |
+
```
|
| 180 |
+
|
| 181 |
+
سيكون ملف `.whl` المُنشأ موجودًا في `pytorch/dist/`.
|
| 182 |
+
|
| 183 |
+
---
|
| 184 |
+
|
| 185 |
+
## 📦 تعليمات التثبيت
|
| 186 |
+
|
| 187 |
+
### تثبيت سريع
|
| 188 |
+
|
| 189 |
+
```bash
|
| 190 |
+
bash install_torch.sh
|
| 191 |
+
```
|
| 192 |
+
|
| 193 |
+
### تثبيت يدوي
|
| 194 |
+
|
| 195 |
+
```bash
|
| 196 |
+
cd pytorch/dist/
|
| 197 |
+
pip install torch-2.8.0a0+gitc402b3b-cp312-cp312-linux_x86_64.whl
|
| 198 |
+
|
| 199 |
+
```
|
| 200 |
+
|
| 201 |
+
تأكد من تفعيل بيئة بايثون (venv) لديك!
|
| 202 |
+
|
| 203 |
+
---
|
| 204 |
+
|
| 205 |
+
## ✅ تعليمات الاختبار
|
| 206 |
+
|
| 207 |
+
```bash
|
| 208 |
+
bash test_torch.sh
|
| 209 |
+
```
|
| 210 |
+
|
| 211 |
+
أو يدويًا:
|
| 212 |
+
|
| 213 |
+
```bash
|
| 214 |
+
python -c "import torch; print(torch.cuda.is_available())"
|
| 215 |
+
python -c "import torch; print(torch.cuda.get_device_name(0))"
|
| 216 |
+
python -c "import torch; print(torch.version.hip)"
|
| 217 |
+
```
|
| 218 |
+
|
| 219 |
+
المتوقع: `True`، اسم وحدة معالجة الرسومات، سلسلة إصدار HIP.
|
| 220 |
+
|
| 221 |
+
---
|
| 222 |
+
|
| 223 |
+
## 📜 الترخيص
|
| 224 |
+
|
| 225 |
+
هذا المشروع مرخص بموجب ترخيص معهد ماساتشوستس للتكنولوجيا (MIT).
|
| 226 |
+
|
| 227 |
+
---
|
| 228 |
+
|
| 229 |
+
## 🤝 شكر وتقدير
|
| 230 |
+
|
| 231 |
+
مجموعة الشهرة مصممة بفخر من قِبل [sbeierle](https://github.com/sbeierle) بشجاعة 🛡️، وحماس 🔥، وشهرة 🚀.
|
| 232 |
+
|
| 233 |
+
---
|
| 234 |
+
|
| 235 |
+
# صُنعت بالنار. صُنعت بالشهرة. 🛡️🔥
|
| 236 |
+
# Fame PyTorch ROCm Kit 🔥
|
| 237 |
+
|