这是indexloc提供的服务,不要输入任何密码
Skip to content

Some models saved under Flux v0.14 do not load on v0.15+ #2584

@dorn-gerhard

Description

@dorn-gerhard

Using u = Flux.loadmodel!(empty_model, model_state)
leads to the following error

Image
since in Flux v0.14 pad_size is not stored extra (model_state2) whereas in the new version it is (model_state)

Image

Is there a workaround to upgrade old model states?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions