Skip to content

Commit

Permalink
fix a bug in the config for use_fast_kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
nairbv committed Aug 16, 2023
1 parent 03faba6 commit 3faf005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configs/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class train_config:
dist_checkpoint_root_folder: str="PATH/to/save/FSDP/model" # will be used if using FSDP
dist_checkpoint_folder: str="fine-tuned" # will be used if using FSDP
save_optimizer: bool=False # will be used if using FSDP
use_fast_kernels: bool = False, # Enable using SDPA from PyTroch Accelerated Transformers, make use Flash Attention and Xformer memory-efficient kernels
use_fast_kernels: bool = False # Enable using SDPA from PyTroch Accelerated Transformers, make use Flash Attention and Xformer memory-efficient kernels





0 comments on commit 3faf005

Please sign in to comment.