Open ots22 opened 1 year ago
A note to include a list of models here, grouped into 'works with pip', 'works with documented steps', 'broken'.
@IFenton
Also discussed earlier:
A note to include a list of models here, grouped into 'works with pip', 'works with documented steps', 'broken'.
@IFenton
These have now been added in the initial comment
I've corrected the branch names where master was used rather than main and vice versa (see #585)
huggingface-classifiers
Summary of notes below: conda default channel on mac only supports wheels tagged up to macosx_10
, but there isn't one on PyPI for safetensors, making installation more difficult.
Suggest we don't include this example in the introductory notebook (since a chance it doesn't work smoothly first time), and maybe recommend using python from conda-forge in installation/setup instructions.
To-do before we can tick this one off:
Relevant docs https://peps.python.org/pep-0425/ https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/
Attempting to install directly from the wheel:
$ pip install safetensors-0.3.3-cp311-cp311-macosx_12_0_universal2.whl
ERROR: safetensors-0.3.3-cp311-cp311-macosx_12_0_universal2.whl is not a supported wheel on this platform.
Running pip debug --verbose
shows my platform supports various cp311-cp311-macosx_10_*_universal2
(but no macos_12_0
)
Maybe-relevant issues:
~
Will mark this one one done
image-classifiers too (which also had some required versions relaxed)
Aim is to have all models in https://github.com/alan-turing-institute/scivision/blob/main/scivision/catalog/data/models.json working when they're loaded (or an indication that they are not supposed to, e.g. via
"scivision_usable": false
).Start by working through the scivision examples gallery:
(Note: transferred from private https://github.com/alan-turing-institute/DS4S-project-management/issues/83)
Also consider the full set of models in the model catalog (note some typos need to be corrected to get some of these to run):
master
notmain
main
notmaster
main
notmaster
main
notmaster
main
notmaster
, but doesn't runmain
notmaster
, but doesn't runtorch
torch