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.3.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for cog_hf_template-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88b4e540cb82b14ea99d01cc2396b55076cae0278b4570a86f46465b1c2b66dd |
|
MD5 | 0b08a0cd42ba0a123c2e4a07453242ed |
|
BLAKE2b-256 | fc7427a2fc288a1161bd632765f8e9a45885f9137abbec8431bbe2f95465101c |