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 details)
Built Distribution
File details
Details for the file cog_hf_template-0.0.5.tar.gz
.
File metadata
- Download URL: cog_hf_template-0.0.5.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ece2e781a639a6c5545ba73a849646b6e250c62e044ec96e2e62f7f92f8cfc9 |
|
MD5 | b9997e5f4c04f0970f67310d5f791236 |
|
BLAKE2b-256 | e420d999d071b414a93788d69b26966803ab1a2461538553b7683ddddd3d820d |
File details
Details for the file cog_hf_template-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: cog_hf_template-0.0.5-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884f0a5d1a0c8d54e7387c23936ebcbdffbd48b663a8bc4c5867a7abcf0315a7 |
|
MD5 | aafc92ec5026266864d22d0dfbf75c50 |
|
BLAKE2b-256 | 680643e464e55ad8b7775513cc4834a058cd8703d2d660f89c18999ddbaba7a0 |