Downloads · 30 days
0
Navaad90/kronos-gold-endpoint
kronos-gold-endpoint is a machine learning model from Navaad90. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
HuggingFace Inference Endpoint handler for Kronos-Base time-series model on GPU.
Downloads · 30 days
0
Access
Public
Updated Apr 23, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.pyc76.7 KB · 55%
From the Hugging Face model README
HuggingFace Inference Endpoint handler for Kronos-Base time-series model on GPU.
handler.py — Custom endpoint handler (loads model, serves predictions)Dockerfile — Custom container image (optional, for custom deployments)model/ — Symlink or copy of the Kronos model code from https://github.com/shiyu-coder/Kronosyour-username/kronos-gold-endpoint)model/ folder from Kronos:
cp -r /path/to/Kronos/model ./
git add . && git commit -m "Add Kronos handler" && git push
KRONOS_MODEL_ID=NeoQuasar/Kronos-baseKRONOS_TOKENIZER_ID=NeoQuasar/Kronos-Tokenizer-baseKRONOS_DEVICE=cudahttps://xxxxx.aws.endpoints.huggingface.cloud/If HF adds serverless support for Kronos, you can deploy the model directly:
NeoQuasar/Kronos-baseSet these in your .env file:
KRONOS_ENDPOINT_URL=https://xxxxx.aws.endpoints.huggingface.cloud/
KRONOS_HF_TOKEN=hf_xxxxxxxxxxxx
KRONOS_DEVICE=cpu # ignored when endpoint is set
If both KRONOS_ENDPOINT_URL and KRONOS_HF_TOKEN are set, the bot will
use the remote GPU endpoint. Otherwise it falls back to local CPU (slow).
Kronos-base (102M params) on T4:
This is well within the 15-minute bar timeframe.
Request:
{
"inputs": {
"ohlcv": [[open, high, low, close, volume], ...],
"x_timestamps": ["2025-01-01T00:00:00", ...],
"y_timestamps": ["2025-01-01T16:00:00", ...],
"pred_len": 8,
"sample_count": 8,
"temperature": 1.0,
"top_p": 0.9
}
}
Response:
{
"predictions": [
{"open": ..., "high": ..., "low": ..., "close": ..., "volume": ..., "amount": ...},
...
],
"timestamps": ["2025-01-01T16:00:00", ...],
"inference_seconds": 3.45
}