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.5.tar.gz
(13.1 kB
view hashes)
Built Distribution
Close
Hashes for cog_hf_template-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884f0a5d1a0c8d54e7387c23936ebcbdffbd48b663a8bc4c5867a7abcf0315a7 |
|
MD5 | aafc92ec5026266864d22d0dfbf75c50 |
|
BLAKE2b-256 | 680643e464e55ad8b7775513cc4834a058cd8703d2d660f89c18999ddbaba7a0 |