Skip to content

Commit

Permalink
add tensorboard logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sid committed Dec 27, 2020
1 parent 86f543d commit 491d5ae
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Data
data/
logs/

## Python
__pycache__/
Expand Down
5 changes: 5 additions & 0 deletions configs/base_deepspeed.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"train_batch_size": 8,
"gradient_accumulation_steps": 1,
"tensorboard": {
"enabled": true,
"output_path": "./logs",
"job_name": "gptneox"
},
"optimizer": {
"type": "Adam",
"params": {
Expand Down
Binary file removed data/enwik8.gz
Binary file not shown.
1 change: 1 addition & 0 deletions train.sh
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
mkdir logs
NCCL_SHM_DISABLE=1 NCCL_DEBUG=info MASTER_ADDR=127.0.0.1 MASTER_PORT=2000 deepspeed train_enwik8.py --deepspeed --deepspeed_config configs/base_deepspeed.json

0 comments on commit 491d5ae

Please sign in to comment.