Explorar el Código

fix a bug in the config for use_fast_kernels (#121)

Geeta Chauhan hace 1 año
padre
commit
82e05c46e0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      configs/training.py

+ 2 - 2
configs/training.py

@@ -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
 
     
     
-    
+