Open kvantricht opened 8 months ago
In addition to the fix in #22, I think it might make sense to move the weights into the presto
folder - what do you think?
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.
Okay - I'll make this change (with some tests) in addition to the notes you left in #20 to a new PR
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 model