Run this model with HF Jobs
Run Remek/basal-3.0-max-FP8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/Remek/basal-3.0-max-FP8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Remek/basal-3.0-max-FP8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Remek/basal-3.0-max-FP8. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use Remek/basal-3.0-max-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Remek/basal-3.0-max-FP8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Remek/basal-3.0-max-FP8") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Remek/basal-3.0-max-FP8") model = AutoModelForCausalLM.from_pretrained("Remek/basal-3.0-max-FP8", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Remek/basal-3.0-max-FP8 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Remek/basal-3.0-max-FP8" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Remek/basal-3.0-max-FP8", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Remek/basal-3.0-max-FP8
- SGLang
How to use Remek/basal-3.0-max-FP8 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 "Remek/basal-3.0-max-FP8" \ --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": "Remek/basal-3.0-max-FP8", "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 "Remek/basal-3.0-max-FP8" \ --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": "Remek/basal-3.0-max-FP8", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Remek/basal-3.0-max-FP8 with Docker Model Runner:
docker model run hf.co/Remek/basal-3.0-max-FP8
basal-3.0-max-FP8
FP8 weights of basal-3.0-max (11B) for NVIDIA Hopper and Blackwell GPUs: NVIDIA ModelOpt post-training quantisation; the token embeddings, the output head and the first and last two decoder layers stay in bf16.
Two-way reading. The model reads its prompt in both directions (every token sees the whole state and question, up to 4,096 prompt tokens; longer prompts are read causally). basal-serve reads it that way with --llama-graph on only; without the flag the server refuses to start. llama.cpp and Ollama read one way, so the GGUF files read this model causally, at a measured cost (see the GGUF card).
Quick start
uv venv --python 3.12 ~/basal-env && source ~/basal-env/bin/activate
uv pip install torch==2.11.0 --index-url https://download.pytorch.org/whl/cu128
uv pip install "basal-engine[fp8] @ https://github.com/rkinas/basal/archive/refs/tags/v3.0.3.tar.gz"
basal 3.0.3 returns bit-identical probabilities to the build these numbers were measured on (3.0.2, build 1bd1bba2) on the 8,560 test decisions, read one request at a time (the 3.0.3 code tree; 24 Nov 2026).
basal-serve --model Remek/basal-3.0-max-FP8 --mode fp8 --llama-graph on --port 8000
Agreement with bf16
On the 8,560 held-out test decisions: the top answer agrees with the bf16 model on 98.6% of decisions (99.8% where the bf16 margin is at least 0.2); accuracy 0.8933 vs 0.8936 (-0.02 pt); calibration error +0.0003.
Speed
One H100 80GB, --mode fp8 --llama-graph on.
| load | decisions/s | p50 latency |
|---|---|---|
| 1 client, short states | 56.8 | 16.0 ms |
| 1 client, long states | 6.0 | 174.0 ms |
| 16 clients | 96.1 | 164.3 ms |
| 64 clients | 99.2 | 609.4 ms |
| 8 clients, 16 questions per request | 100.8 | 1254.3 ms |
| 32 clients x 1,000 requests (load test) | 113.9 |
- Downloads last month
- 12
Model tree for Remek/basal-3.0-max-FP8
Base model
speakleash/Bielik-11B-v3-Base-20250730
docker model run hf.co/Remek/basal-3.0-max-FP8