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
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.2.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for cog_hf_template-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d402fcd214b3011988d579d528e384882291c23b19ae9457213934ead4287476 |
|
MD5 | 81854b6447d4ac7052dace77fe6d8071 |
|
BLAKE2b-256 | 129461600518de36926aa2d0c704f46ba518f09196a4f7d00fefc23b18e535c6 |