You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
kvantricht
changed the title
Non-default data_dir
Issues loading pretrained model
Oct 18, 2023
Yes I think that makes sense, although it needs to be tested if that would resolve the issue. Pathlike reference to package files doesn't always work on all systems.
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_pretrained
method here but at the moment this is not possibledata
folder manually and usingupdate_data_dir
from here, but while thedata_dir
variable is successfully updated,default_model_path
from here is not, so it has actually no effect for loading the pretrained modelThe text was updated successfully, but these errors were encountered: