updated readme
Browse files
README.md
CHANGED
|
@@ -96,53 +96,24 @@ On AMD Radeon Cloud (single GPU), all pipelines share GPU 0 and load/unload on d
|
|
| 96 |
|
| 97 |
### Step 1 — Clone
|
| 98 |
```bash
|
| 99 |
-
git clone https://
|
| 100 |
-
cd
|
| 101 |
```
|
| 102 |
|
| 103 |
-
#
|
| 104 |
-
|
| 105 |
-
See [`docs/local_dev_setup.md`](docs/local_dev_setup.md) for the full guide. Quick version:
|
| 106 |
-
|
| 107 |
-
```bash
|
| 108 |
-
python3.11 -m venv .venv
|
| 109 |
source .venv/bin/activate
|
| 110 |
-
pip install --upgrade pip wheel
|
| 111 |
pip install torch==2.4.1 torchvision==0.19.1 --index-url https://download.pytorch.org/whl/cu121
|
| 112 |
pip install -r requirements.txt
|
| 113 |
-
cp .env.example .env # edit to add AMD_MODEL_API_KEY
|
| 114 |
-
python scripts/verify_rocm.py
|
| 115 |
-
python scripts/download_models.py # ~35 GB
|
| 116 |
-
```
|
| 117 |
-
|
| 118 |
-
### Step 3 — Train per-style LoRAs (~2.5 hours total on dev box)
|
| 119 |
-
|
| 120 |
-
```bash
|
| 121 |
-
# Source 30-50 reference images per style into assets/datasets/raw/<style>/
|
| 122 |
-
python training/prepare_dataset.py
|
| 123 |
-
for style in madhubani warli pattachitra mughal tanjore; do
|
| 124 |
-
python -m training.train_lora --style $style --steps 800
|
| 125 |
-
done
|
| 126 |
-
```
|
| 127 |
-
|
| 128 |
-
### Step 4 — AMD instance setup (final demo only)
|
| 129 |
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
git clone https://github.com/<your-handle>/Radeon-hackathon-2026-07.git
|
| 134 |
-
cd Radeon-hackathon-2026-07/indic-heritage-studio-v2
|
| 135 |
-
cp .env.example .env # edit .env: AMD_MODEL_API_KEY, HF_HOME=/workspace/.cache/huggingface
|
| 136 |
-
chmod +x scripts/day1_setup.sh
|
| 137 |
-
./scripts/day1_setup.sh
|
| 138 |
-
```
|
| 139 |
|
| 140 |
-
#
|
| 141 |
-
|
| 142 |
-
```bash
|
| 143 |
python app.py
|
| 144 |
# Open http://localhost:7860
|
| 145 |
-
```
|
| 146 |
|
| 147 |
---
|
| 148 |
|
|
@@ -335,7 +306,7 @@ PR title format: `Track 1, TeamIndicForge, Indic Heritage Studio`
|
|
| 335 |
|
| 336 |
- **Hackathon email:** ai_dev_contests@amd.com
|
| 337 |
- **Discord:** https://discord.gg/zt9caur5B3
|
| 338 |
-
- **Team:**
|
| 339 |
|
| 340 |
---
|
| 341 |
|
|
|
|
| 96 |
|
| 97 |
### Step 1 — Clone
|
| 98 |
```bash
|
| 99 |
+
git clone https://huggingface.co/Dev2506/indic-heritage-studio
|
| 100 |
+
cd indic-heritage-studio
|
| 101 |
```
|
| 102 |
|
| 103 |
+
# Setup
|
| 104 |
+
python -m venv .venv
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
source .venv/bin/activate
|
|
|
|
| 106 |
pip install torch==2.4.1 torchvision==0.19.1 --index-url https://download.pytorch.org/whl/cu121
|
| 107 |
pip install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
+
# Configure
|
| 110 |
+
cp .env.example .env
|
| 111 |
+
# Edit .env to add AMD_MODEL_API_KEY (free at https://developer.amd.com.cn/radeon/modelapis)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
+
# Launch
|
|
|
|
|
|
|
| 114 |
python app.py
|
| 115 |
# Open http://localhost:7860
|
| 116 |
+
\`\`\`
|
| 117 |
|
| 118 |
---
|
| 119 |
|
|
|
|
| 306 |
|
| 307 |
- **Hackathon email:** ai_dev_contests@amd.com
|
| 308 |
- **Discord:** https://discord.gg/zt9caur5B3
|
| 309 |
+
- **Team:** TeamIndicForg
|
| 310 |
|
| 311 |
---
|
| 312 |
|