Support `transformers>=4.56`

#11

This PR updates modeling_plamo.py to support transformers>=4.56

Alnusjaponica changed pull request status to open
Preferred Networks, Inc. org

LGTM.

I've verified it works with the following packages.

python==3.12.12
cuda==12.6
numpy==2.3.4
numba==0.62.1
torch==2.5.1
transformers==4.44.2 or 4.56.1 or 4.57.1
mamba_ssm==2.2.4
causal_conv1d==1.5.3.post1
yhirokawa changed pull request status to merged

Sign up or log in to comment