Open hisplan opened 1 month ago
Hi @hisplan, sorry for late response.
It's likely that you have loss internet while downloading a previous version. Clearing the molfeat
cache (/Users/chunj/Library/Caches/molfeat/
in your case) should help. Try removing the ChemGPT folders.
Otherwise, can you check if the instructions in https://github.com/datamol-io/molfeat/issues/29 or https://github.com/datamol-io/molfeat/issues/84 have solved your issue ?
I cleared the molfeat
cache, tried again as follows, but still didn't work. The error message was pretty much the same as before.
transformer = PretrainedHFTransformer(kind='ChemGPT-1.2B', notation='selfies', dtype=float)
features = transformer(smiles)
Looking at the error message more carefully, it looks like the SHA256 checksum didn't match. Here's the part of error message I noticed:
ModelStoreError: The destination artifact at [/Users/chunj/Library/Caches/molfeat/ChemGPT-1.2B/model.save](http://localhost:8889/Users/chunj/Library/Caches/molfeat/ChemGPT-1.2B/model.save)
has a different sha256sum (4d8819f7c8c91ba94ba446d32f29342360d62971a9fa37c8cab2e31f9c3fc4c5)
than the Remote artifact sha256sum (e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855).
The destination artifact has been removed !
Any idea?
Is there an existing issue for this?
Bug description
I've been trying to use
ChemGPT-1.2B
, but I'm getting this errorCan't retrieve model ChemGPT-1.2B from the store !
.Just FYI, I have successfully used the following models. It appears that I'm having the issue with only this model
ChemGPT-1.2B
.How to reproduce the bug
Error messages and logs
Environment
Current environment
``` molfeat 0.10.1 pytorch 2.4.0 rdkit 2024.03.5 macOS Ventura 13.6.7 scikit-learn 1.5.2 Used conda to install molfeat ```Additional context
I'm using my local laptop + Jupyter Lab.