Skip to content

Issues loading pretrained model #21

@kvantricht

Description

@kvantricht

When I'm trying to install Presto as a package not in editable mode (e.g. to pack it to run on our cluster), I'm experiencing a couple of issues:

  • the current pretrained model loading method does not work as the model weights are not considered as package data (probably separate issue).
  • An alternative would be to accept a non-default model weights location in the load_pretrained method here but at the moment this is not possible
  • As a last resort, I was trying to copy the data folder manually and using update_data_dir from here, but while the data_dir variable is successfully updated, default_model_path from here is not, so it has actually no effect for loading the pretrained model

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