Updates transformers to require the latest version.
CodeGenConfig does not have scale_attn_weights anymore because it is not used, and hence the same attribute has been deprecated from CausalSelfAttention because it was not used as well.
Cleans up test_lamb_optimizer.py to prevent issues with PyTorch 2.0+.
Changes
[X] Bug fix (non-breaking change which fixes an issue)
Pull Request Template
Description
transformers
to require the latest version.CodeGenConfig
does not havescale_attn_weights
anymore because it is not used, and hence the same attribute has been deprecated fromCausalSelfAttention
because it was not used as well.test_lamb_optimizer.py
to prevent issues with PyTorch 2.0+.Changes
Configuration:
Final checks: