Skip to content

Commit 12813c7

Browse files
committed
Optimizations for smaller batches.
1 parent 4910ccf commit 12813c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llm/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def main():
174174

175175
try:
176176
max_length, stride = 128, 64
177-
batch_size, num_workers = 2, 2
177+
batch_size, num_workers = 1, 0
178178
pin_memory = False
179179

180180
train_dataloader = create_llm_dataloader(

0 commit comments

Comments
 (0)