Text Generation
Safetensors
Transformers
English
Russian
Ukrainian
vllm
qwen3_5
image-text-to-text
long-context
1m-context
million-token-context
context-extension
needle-in-a-haystack
retrieval
retrieval-heads
consumer-gpu
single-gpu
rtx-5090
rtx-4090
quantization
nvfp4
3-bit
fp8
int8
kv-cache-quantization
turboquant
3-bit-kv-cache
hybrid-architecture
linear-attention
gated-deltanet
state-space
gqa
multimodal
vision-language
conversational
agentic
coding
roleplay
russian
ukrainian
custom_code
measured-benchmarks
Eval Results (legacy)
8-bit precision
compressed-tensors
Instructions to use Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV", trust_remote_code=True) model = AutoModelForImageTextToText.from_pretrained("Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV", trust_remote_code=True, device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV
- SGLang
How to use Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV 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 "Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV" \ --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": "Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV", "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 "Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV" \ --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": "Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV with Docker Model Runner:
docker model run hf.co/Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV
Download receipts/ADA_SM89_RECEIPT.json from Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV: direct link, hf CLI and curl.
- Browser
- Download file 3.73 kB
-
https://huggingface.co/Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV/resolve/main/receipts/ADA_SM89_RECEIPT.json
- Command line
-
hf download hf://Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV/receipts/ADA_SM89_RECEIPT.json
-
curl -L -o ADA_SM89_RECEIPT.json https://huggingface.co/Ddavidich/LOMONOSOV-ZENIT-27B-1M-INDEV/resolve/main/receipts/ADA_SM89_RECEIPT.json
3.73 kB
| { | |
| "receipt_id": "ZENIT_ADA_SM89_CAPABILITY_V1", | |
| "captured_utc": "2026-07-24T21:59:33Z", | |
| "question": "Does LOMONOSOV ZENIT 27B ALTAY load and run on an RTX 4090, and how much context fits in 24 GiB?", | |
| "why_it_matters": "vLLM's FP8 scheme declares a minimum compute capability of 8.9 with no fallback in this version, and the NVFP4 path has a hardware branch and a slower one. Until this run there was no evidence either way, and 4090 owners are a large part of the intended audience.", | |
| "host": { | |
| "provider": "vast.ai", | |
| "instance": 45740080, | |
| "gpu": "NVIDIA GeForce RTX 4090", | |
| "total_bytes": 25757220864, | |
| "compute_capability": [8, 9], | |
| "driver": "580.159.03", | |
| "torch": "2.10.0a0+a36e1d39eb.nv26.01.42222806", | |
| "torch_cuda": "13.1", | |
| "vllm": "0.25.1 from PyPI", | |
| "python": "3.12.3" | |
| }, | |
| "result": { | |
| "status": "PASS", | |
| "engine_initialized": true, | |
| "engine_load_seconds": 240.4, | |
| "load_note": "Includes the one-time FlashInfer kernel compilation for sm89. Subsequent starts read the cache.", | |
| "kv_cache_size_tokens": 365524, | |
| "num_gpu_blocks": 396, | |
| "block_size": 2064, | |
| "kv_cache_dtype": "turboquant_3bit_nc", | |
| "gpu_memory_utilization": 0.92, | |
| "free_bytes_after_load": 1169948672, | |
| "prompt_tokens": 32768, | |
| "prefill_seconds": 41.44, | |
| "prefill_tokens_per_second": 790.7, | |
| "witness_token_id": 2193 | |
| }, | |
| "cross_architecture_agreement": { | |
| "claim": "Greedy decoding produced the same first token on both architectures.", | |
| "sm_120_rtx_5090": 2193, | |
| "sm_89_rtx_4090": 2193, | |
| "note": "Same prompt construction (a repeated ' context' token) and the same seed. This is a consistency signal, not a full numerical equivalence proof." | |
| }, | |
| "for_the_model_card": { | |
| "rtx_4090_context_tokens": 365524, | |
| "rtx_4090_prefill_tokens_per_second_at_32k": 790.7, | |
| "comparison_rtx_5090_prefill_tokens_per_second_at_262k": 1552.0, | |
| "statement": "A 24 GiB Ada card runs this checkpoint at about 365,000 tokens of context and roughly half the 5090's prefill rate. The 1,010,000-token window needs a 32 GiB card." | |
| }, | |
| "out_of_the_box_run": { | |
| "what_was_run": "The same probe with no --max-model-len, which is what a user gets when they type a bare command and let the checkpoint decide.", | |
| "result": "FAIL", | |
| "error": "torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 1.50 GiB. GPU 0 has a total capacity of 23.52 GiB of which 239.75 MiB is free.", | |
| "cause": "config.json declares raw_1010k as the default profile and states no memory requirement, so the profile layer selects the 1,010,000-token window on a card that cannot hold it.", | |
| "significance": "This is the first command a 4090 owner would type, and it fails. It is the demonstrated justification for memory-aware profile selection, which is implemented in serving_profiles.py but cannot act until config.json declares requires_free_bytes for each profile.", | |
| "fix_pending": "Declare measured requires_free_bytes per profile and add a profile sized for 24 GiB cards, then repeat this run." | |
| }, | |
| "not_measured": [ | |
| "Decode rate: the probe's decode timing on this run is invalid. The first generate call paid one-time Triton compilation, so subtracting it from the second call's total yielded a non-positive interval. Decode must be measured with a separate warm run.", | |
| "Longer contexts on this card: only 32,768 prompt tokens were run.", | |
| "Behaviour with no command-line flags: that run follows separately." | |
| ], | |
| "still_unsupported": { | |
| "ampere_and_older": "compute capability 8.6 and below is under the FP8 scheme's declared minimum of 8.9; the checkpoint will not load. An Ampere build would need INT8 attention instead of FP8." | |
| } | |
| } | |