Merge pull request #92 from OpenAccess-AI-Collective/flash-optimum
add support for opimum bettertransformers
This commit is contained in:
@@ -421,6 +421,8 @@ optimizer:
|
||||
# specify weight decay
|
||||
weight_decay:
|
||||
|
||||
# whether to bettertransformers
|
||||
flash_optimum:
|
||||
# whether to use xformers attention patch https://github.com/facebookresearch/xformers:
|
||||
xformers_attention:
|
||||
# whether to use flash attention patch https://github.com/HazyResearch/flash-attention:
|
||||
|
||||
Reference in New Issue
Block a user