Instructions to use cuntinum/Kinetic-Dense-76B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cuntinum/Kinetic-Dense-76B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cuntinum/Kinetic-Dense-76B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("cuntinum/Kinetic-Dense-76B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cuntinum/Kinetic-Dense-76B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cuntinum/Kinetic-Dense-76B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cuntinum/Kinetic-Dense-76B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cuntinum/Kinetic-Dense-76B
- SGLang
How to use cuntinum/Kinetic-Dense-76B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "cuntinum/Kinetic-Dense-76B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cuntinum/Kinetic-Dense-76B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "cuntinum/Kinetic-Dense-76B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cuntinum/Kinetic-Dense-76B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cuntinum/Kinetic-Dense-76B with Docker Model Runner:
docker model run hf.co/cuntinum/Kinetic-Dense-76B
Kinetic Dense 76B
Kinetic Dense 76B is Cuntinum's 192-layer dense, DeltaNet/GQA hybrid checkpoint. This repository provides the model weights, custom Hugging Face implementation, configuration, tokenizer and deployment documentation.
Interactive test
Open the public Kinetic 76B community test Space. The demo is open to community visitors without a login. Model downloads remain subject to this model repository's access terms. The Space supports text plus an optional image or short video and connects to the existing H100 vLLM service through an authenticated HTTPS gateway. The inference credential stays server-side.
This is a temporary test service, not a managed HF Inference Endpoint or the
standard Inference Providers widget. It stops working when the H100 host or
tunnel is removed. See DEMO_VALIDATION.json for actual end-to-end checks.
The Hugging Face model type is kinetic_dense. The custom loading class is
KineticDenseForConditionalGeneration, including when requested through
AutoModelForCausalLM. That mapping intentionally matches this checkpoint's
model.language_model.*, model.visual.* and lm_head.* tensor layout.
Architecture
| Item | Checkpoint configuration / audit |
|---|---|
| Stored tensor elements | 76,487,821,040 |
| Elements represented by the standard generation model | 76,063,121,648 |
| Language layers | 192: 144 linear-attention/DeltaNet and 48 full-attention/GQA |
| Hidden / intermediate dimension | 5,120 / 17,408 |
| Embedding vocabulary slots / tokenizer entries | 248,320 / 248,077 |
| Stored precision | Primarily BF16, with small FP32 state tensors |
| Weight shards | 13 safetensors files; approximately 153 GB |
| Configured context limit | 262,144 tokens; synthetic retrieval checked through 261,490 input tokens |
The archive also retains 15 mtp.* tensors, totaling 424,699,392 elements,
which the provided standard generation path does not load/use. They are
preserved rather than silently deleted. Vision weights are included, but
text-only generation does not activate every stored parameter. No claim of
infinite context, infinite information capacity, or all tensors firing on every
token is made.
Access and installation
This repository is public with gated downloads. Obtain access on its model page and authenticate on the deployment machine. Never put an access token in source code, images, logs or a public configuration.
python -m pip install huggingface_hub
hf auth login
hf download cuntinum/Kinetic-Dense-76B --local-dir /models/Kinetic-Dense-76B
python -m pip install "/models/Kinetic-Dense-76B[serve]" accelerate
Allow approximately 153 GB for the weights plus environment and cache storage.
For production, add --revision <reviewed-commit> to the download command.
Review the Python files before installing the package or enabling remote code.
Transformers text and image loading
The release verification uses Transformers 5.16.1 and the exact additional
versions recorded in VALIDATION.json. Old generic instructions specifying
transformers>=4.45 are insufficient for this implementation's APIs.
python -m pip install 'transformers==5.16.1' accelerate safetensors huggingface_hub pillow
# Install a compatible CUDA-enabled PyTorch build for your machine.
Review configuration_kinetic.py and modeling_kinetic.py before allowing
remote code. For deployment, pin revision to a reviewed commit hash in every
from_pretrained call.
import torch
from transformers import AutoProcessor, AutoModelForCausalLM
from kinetic_serving.inference import generate_reply
repo = '/models/Kinetic-Dense-76B'
processor = AutoProcessor.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
repo,
trust_remote_code=True,
dtype=torch.bfloat16,
device_map='balanced',
max_memory={i: '55GiB' for i in range(8)},
attn_implementation='sdpa',
).eval()
print(generate_reply(model, processor, [
{'role': 'user', 'content': 'What is 2 + 2?'}
]))
# Optional image question; supply an existing local image.
# print(generate_reply(model, processor, [{'role': 'user', 'content': [
# {'type': 'image', 'image': '/path/to/image.png'},
# {'type': 'text', 'text': 'Describe this image briefly.'},
# ]}]))
The Transformers verification run uses eight H100 80 GB GPUs and Accelerate device placement. Weights alone require about 152 GB for the active BF16 generation model, plus caches, activations and framework overhead.
vLLM serving
The included kinetic-dense-serving package registers the Kinetic architecture
with vLLM and adapts its configuration to compatible installed backend kernels.
It does not download another model, change checkpoint weights or change the
public kinetic_dense configuration. Stock vLLM without this adapter is not a
supported loading path for this release.
The bounded H100 serving configuration is:
kinetic-serve /models/Kinetic-Dense-76B \
--tensor-parallel-size 8 --dtype bfloat16 \
--gpu-memory-utilization 0.55 --max-model-len 4096 \
--max-num-seqs 4 --max-num-batched-tokens 1024 --enforce-eager \
--limit-mm-per-prompt '{"image":1,"video":0}' \
--mm-processor-kwargs '{"size":{"longest_edge":262144,"shortest_edge":65536}}' \
--port 8000
The launcher sets --config-format kinetic, --reasoning-parser kinetic,
--served-model-name Kinetic-Dense-76B and loopback binding. For external access,
put the service behind authenticated TLS; do not expose an unauthenticated port.
This short-context example enables one image per request and disables video.
For the separately tested video-enabled and long-context configuration, see
DEPLOYMENT.md and EXTENDED_VALIDATION.md.
The extended vLLM run passed synthetic retrieval through 261,490 input tokens
and bounded video-order/motion checks. Other hardware, quantization, real-world
video quality and general long-document reasoning need separate validation.
import requests
from kinetic_serving.output import INFERENCE_SYSTEM
response = requests.post('http://127.0.0.1:8000/v1/chat/completions', json={
'model': 'Kinetic-Dense-76B',
'messages': [
{'role': 'system', 'content': INFERENCE_SYSTEM},
{'role': 'user', 'content': 'Calculate 17 * 23. Reply with only the number.'},
],
'temperature': 0,
'max_tokens': 256,
}, timeout=180)
response.raise_for_status()
print(response.json()['choices'][0]['message']['content'].strip())
For machine-readable JSON, use the API's response_format with json_schema
or json_object, rather than relying on the words "JSON only" in a prompt.
Output handling and inference limits
Raw generation can emit reasoning even with enable_thinking=False; the flag is
a prompt convention, not an enforced output filter. The vLLM reasoning parser
separates reasoning from answer content. Transformers users should use
generate_reply, which explicitly removes completed leading reasoning blocks.
Its output_format='json' validates JSON and output_format='code' removes a
single enclosing code fence. Invalid or truncated output raises an error; retry
or handle that failure. These utilities do not improve or retrain model weights.
generate_reply adds a deployment-context system message stating that this is
inference, not persistent learning. Set inference_context=False only if you
provide the appropriate context yourself. Applications must not treat generated
self-descriptions as verified documentation: the model can make inaccurate
claims about learning, deployment details or other capabilities.
Verification scope
Read VALIDATION.json for the original finite test outputs and package versions,
and EXTENDED_VALIDATION.md for subsequent video/long-context measurements,
and RELEASE_MANIFEST.json for release-file sizes and SHA256 checksums.
The release checks cover configuration and processor resolution, weight-key/shape
comparisons, full-weight execution and the specific serving requests recorded
in VALIDATION.json. That file is authoritative about what passed and what was
not tested. Check it before deployment.
This is a compatibility smoke test, not a broad reasoning, safety, coding, vision/video, long-context or quality benchmark. Finite image smoke tests are not a general visual-quality guarantee. Audio generation was not tested. The model does not continually learn merely by running this example.
Maintainer
Cuntinum โ Nnaa Igwiloh. Existing repository history and earlier model-card versions remain available through Hugging Face revision history.
- Downloads last month
- -