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
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:
load_pretrainedmethod here but at the moment this is not possibledatafolder manually and usingupdate_data_dirfrom here, but while thedata_dirvariable is successfully updated,default_model_pathfrom here is not, so it has actually no effect for loading the pretrained model