Skip to content

Commit

Permalink
Use pytorch 2 image
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMusgrave committed Feb 26, 2024
1 parent 31c8dfb commit 353939e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blog/llm-finetuning-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ DeepSpeed configuration files are in the `ds_configs` folder.
Test your model's generation capabilities:

```bash
python test_model.py --exp_id <exp_id> --dataset_subset <dataset_subset>
python inference.py --exp_id <exp_id> --dataset_subset <dataset_subset>
```

Where
Expand All @@ -42,7 +42,7 @@ Where
To test the pretrained model (not finetuned), leave out `--exp_id`. For example:

```bash
python test_model.py --dataset_subset easy
python inference.py --dataset_subset easy
```

## Validating the tokenizer
Expand Down
1 change: 1 addition & 0 deletions blog/llm-finetuning-2/deepspeed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ debug: false
environment:
environment_variables:
- NCCL_DEBUG=INFO
image: determinedai/environments:cuda-11.8-pytorch-2.0-gpu-mpi-0.27.1
resources:
slots_per_trial: 2
searcher:
Expand Down
1 change: 1 addition & 0 deletions blog/llm-finetuning-2/lora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ debug: false
environment:
environment_variables:
- NCCL_DEBUG=INFO
image: determinedai/environments:cuda-11.8-pytorch-2.0-gpu-mpi-0.27.1
resources:
slots_per_trial: 2
searcher:
Expand Down

0 comments on commit 353939e

Please sign in to comment.