Skip to content

Commit

Permalink
chore: Set OMP_NUM_THREADS to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Oct 23, 2024
1 parent 32202a5 commit 4ef2be8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ type-check: ## Run type checking
check: lint format type-check ## Check the code

roest-315m: ## Train the Røst-315M model
@OMP_NUM_THREADS=4 \
@OMP_NUM_THREADS=1 \
accelerate launch \
--use-deepspeed \
src/scripts/finetune_asr_model.py \
Expand All @@ -137,7 +137,7 @@ roest-315m: ## Train the Røst-315M model
per_device_batch_size=64

roest-809m: ## Train the Røst-809M model
@OMP_NUM_THREADS=4 \
@OMP_NUM_THREADS=1 \
accelerate launch \
--use-deepspeed \
src/scripts/finetune_asr_model.py \
Expand All @@ -151,7 +151,7 @@ roest-809m: ## Train the Røst-809M model
per_device_batch_size=64

roest-1b: ## Train the Røst-1B model
@OMP_NUM_THREADS=4 \
@OMP_NUM_THREADS=1 \
accelerate launch \
--use-deepspeed \
src/scripts/finetune_asr_model.py \
Expand All @@ -166,7 +166,7 @@ roest-1b: ## Train the Røst-1B model
per_device_batch_size=64

roest-1.5b: ## Train the Røst-1.5B model
@OMP_NUM_THREADS=4 \
@OMP_NUM_THREADS=1 \
accelerate launch \
--use-deepspeed \
src/scripts/finetune_asr_model.py \
Expand All @@ -180,7 +180,7 @@ roest-1.5b: ## Train the Røst-1.5B model
per_device_batch_size=64

roest-2b: ## Train the Røst-2B model
@OMP_NUM_THREADS=4 \
@OMP_NUM_THREADS=1 \
accelerate launch \
--use-deepspeed \
src/scripts/finetune_asr_model.py \
Expand Down

0 comments on commit 4ef2be8

Please sign in to comment.