Cog template for Hugging Face.
Project description
cog-huggingface-template
Tools to help deploy Hugging Face models to replicate.
Requirements
- GPU environment
- Cog
Installation
PyPI Install
pip install cog_hf_template
Dev Install
Clone the repo:
git clone https://github.com/replicate/cog-huggingface-template
cd cog-huggingface-template
pip install -e .
Run tests
pip install pytest
pytest -vv tests
Usage
NOTE (Oct 19) - examples are out of date. Will update soon.
For now, see the examples directory for a working example.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cog_hf_template-0.0.7.tar.gz
(13.3 kB
view hashes)
Built Distribution
Close
Hashes for cog_hf_template-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6db4bfd83c65281a6f885bd595e57d1ec533323b38039d6bbc420be160440b47 |
|
MD5 | 9141f80f9ffcbfbad70b3bcef4cde2a3 |
|
BLAKE2b-256 | 6d37d4a83fbceb37fadeecf843bea62d2dd83d74e68354611e38ddaad3da1e70 |