pretrain core 2
Browse files
README.md
CHANGED
|
@@ -255,20 +255,14 @@ Saving checkpoint to '../out/pretrain-core-1/final/lit_model.pth'
|
|
| 255 |
----------------------------------------
|
| 256 |
```
|
| 257 |
|
| 258 |
-
Backup `wandb`:
|
| 259 |
-
|
| 260 |
```bash
|
| 261 |
mv wandb wandb-pretrain-core-1
|
| 262 |
```
|
| 263 |
|
| 264 |
-
Copy config:
|
| 265 |
-
|
| 266 |
```bash
|
| 267 |
cp ../config-1.json ../out/pretrain-core-1/final/config.json
|
| 268 |
```
|
| 269 |
|
| 270 |
-
Chat with model:
|
| 271 |
-
|
| 272 |
```bash
|
| 273 |
CUDA_VISIBLE_DEVICES=0 CUDA_LAUNCH_BLOCKING=0 PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True litgpt chat ../out/pretrain-core-1/final
|
| 274 |
```
|
|
@@ -280,3 +274,19 @@ litgpt convert_pretrained_checkpoint ../out/pretrain-core-1/final ../out/pretrai
|
|
| 280 |
```bash
|
| 281 |
CUDA_VISIBLE_DEVICES=0 CUDA_LAUNCH_BLOCKING=0 PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True litgpt pretrain --config pretrain_core_model_2.yaml
|
| 282 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 255 |
----------------------------------------
|
| 256 |
```
|
| 257 |
|
|
|
|
|
|
|
| 258 |
```bash
|
| 259 |
mv wandb wandb-pretrain-core-1
|
| 260 |
```
|
| 261 |
|
|
|
|
|
|
|
| 262 |
```bash
|
| 263 |
cp ../config-1.json ../out/pretrain-core-1/final/config.json
|
| 264 |
```
|
| 265 |
|
|
|
|
|
|
|
| 266 |
```bash
|
| 267 |
CUDA_VISIBLE_DEVICES=0 CUDA_LAUNCH_BLOCKING=0 PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True litgpt chat ../out/pretrain-core-1/final
|
| 268 |
```
|
|
|
|
| 274 |
```bash
|
| 275 |
CUDA_VISIBLE_DEVICES=0 CUDA_LAUNCH_BLOCKING=0 PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True litgpt pretrain --config pretrain_core_model_2.yaml
|
| 276 |
```
|
| 277 |
+
|
| 278 |
+
```bash
|
| 279 |
+
cp ../config-2.json ../out/pretrain-core-2/final/config.json
|
| 280 |
+
```
|
| 281 |
+
|
| 282 |
+
```bash
|
| 283 |
+
mv wandb wandb-pretrain-core-2
|
| 284 |
+
```
|
| 285 |
+
|
| 286 |
+
```bash
|
| 287 |
+
CUDA_VISIBLE_DEVICES=0 CUDA_LAUNCH_BLOCKING=0 PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True litgpt chat ../out/pretrain-core-2/final
|
| 288 |
+
```
|
| 289 |
+
|
| 290 |
+
```bash
|
| 291 |
+
litgpt convert_pretrained_checkpoint ../out/pretrain-core-2/final ../out/pretrain-core-2/checkpoint
|
| 292 |
+
```
|