Closed sam-scale closed 4 months ago
If model has an attribute called model, then you should get the layers via model.model.layers not model.layers
model
model.model.layers
model.layers
Hey @vgel let me know what you think!
You're completely right, thank you! I really need to get a Mistral-architecture model in CI :sweat_smile:
Fixes #16
If
model
has an attribute calledmodel
, then you should get the layers viamodel.model.layers
notmodel.layers