Text Generation
Transformers
Safetensors
PyTorch
ONNX
English
qtensorformer
q-tensorformer
high-throughput-inference
tensor-train
tensor-networks
tensorrt-llm
vllm
continuous-batching
paged-attention
speculative-decoding
zero-svd
adaptive-computation
dynamic-neural-networks
kv-cache
kv-cache-quantization
attention-sinks
lyapunov-stability
control-theory
contextual-bandits
edge-ai
edge-inference
on-device-ai
model-compression
hopper-h100
blackwell-b200
jetson-orin
jetson-thor
grouped-query-attention
rotary-position-embeddings
custom_code
academic-paper
ieee
neurips
vit-ap-university
deepseek
deepseek-r1
reasoning
chain-of-thought
gsm8k
openai-compatible
fastapi
rest-api
sse-streaming
onnx-runtime
embedded-ai
hardware-telemetry
power-efficiency
green-ai
raspberry-pi
smollm2
qwen2.5
llama-3.2
apple-silicon
Instructions to use Premchan369/Q-TensorFormer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Premchan369/Q-TensorFormer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Premchan369/Q-TensorFormer", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Premchan369/Q-TensorFormer", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Premchan369/Q-TensorFormer with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Premchan369/Q-TensorFormer" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Premchan369/Q-TensorFormer", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Premchan369/Q-TensorFormer
- SGLang
How to use Premchan369/Q-TensorFormer 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 "Premchan369/Q-TensorFormer" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Premchan369/Q-TensorFormer", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "Premchan369/Q-TensorFormer" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Premchan369/Q-TensorFormer", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Premchan369/Q-TensorFormer with Docker Model Runner:
docker model run hf.co/Premchan369/Q-TensorFormer
Premchandyadav369
feat: complete 6 frontier research extensions, empirical benchmarks, and 101-test suite
b5cb5a0 Download results/raw/frontier_research_benchmarks.json from Premchan369/Q-TensorFormer: direct link, hf CLI and curl.
- Browser
- Download file 3.18 kB
-
https://huggingface.co/Premchan369/Q-TensorFormer/resolve/main/results/raw/frontier_research_benchmarks.json
- Command line
-
hf download hf://Premchan369/Q-TensorFormer/results/raw/frontier_research_benchmarks.json
-
curl -L -o frontier_research_benchmarks.json https://huggingface.co/Premchan369/Q-TensorFormer/resolve/main/results/raw/frontier_research_benchmarks.json
3.18 kB
| { | |
| "status": "FRONTIER_RESEARCH_BENCHMARKS_COMPLETE", | |
| "timestamp_utc": "2026-10-19T03:12:08.632830+00:00", | |
| "benchmarks": { | |
| "zero_svd_speculative_decoding": { | |
| "draft_rank": 1, | |
| "target_rank": 8, | |
| "lookahead_k": 3, | |
| "standard_autoregressive_tok_per_sec": 178.05970566826537, | |
| "speculative_tok_per_sec": 246.28039646095064, | |
| "speedup_ratio": 1.3831337951315275, | |
| "acceptance_rate": 1.0, | |
| "extra_vram_overhead_mb": 0.0, | |
| "scientific_classification": "MEASURED" | |
| }, | |
| "semantic_anchor_kv_cache": { | |
| "sequence_length": 512, | |
| "cache_capacity": 128, | |
| "total_needles": 6, | |
| "retained_needles": 3, | |
| "retention_rate": 0.5, | |
| "full_fp16_memory_bytes": 262144, | |
| "cached_int8_memory_bytes": 32768, | |
| "memory_saved_pct": 87.5, | |
| "scientific_classification": "MEASURED" | |
| }, | |
| "fused_tt_engine": { | |
| "in_features": 512, | |
| "out_features": 2048, | |
| "rank": 8, | |
| "unfused_memory_traffic_bytes": 21642240, | |
| "fused_memory_traffic_bytes": 670720, | |
| "memory_traffic_reduction_pct": 96.9008753252898, | |
| "unfused_arithmetic_intensity_flops_per_byte": 0.0227111426543648, | |
| "fused_arithmetic_intensity_flops_per_byte": 0.732824427480916, | |
| "fused_advantage_multiplier": 32.26717557251908, | |
| "scientific_classification": "MEASURED" | |
| }, | |
| "contextual_bandit_allocator": { | |
| "evaluation_steps": 200, | |
| "avg_bandit_reward": -0.028453125, | |
| "avg_static_reward": -0.1375, | |
| "reward_improvement_pct": 79.30681818181819, | |
| "action_distribution": [ | |
| 103, | |
| 45, | |
| 48, | |
| 3, | |
| 1 | |
| ], | |
| "scientific_classification": "SIMULATED" | |
| }, | |
| "adaptive_vision_projector": { | |
| "total_patches": 196, | |
| "high_salience_foreground_patches": 50, | |
| "low_salience_background_patches": 146, | |
| "effective_mean_rank": 5.571428571428571, | |
| "compute_savings_pct": 65.17857142857143, | |
| "scientific_classification": "MEASURED" | |
| }, | |
| "dynamic_compute_grid": { | |
| "total_evaluated_grid_configurations": 20, | |
| "pareto_optimal_configurations": 7, | |
| "pareto_hypervolume": 0.8145089421452192, | |
| "sample_pareto_points": [ | |
| { | |
| "depth": 1, | |
| "rank": 1, | |
| "normalized_cost": 0.07421875, | |
| "quality_score": 0.43584795953317046, | |
| "cost_savings_pct": 92.578125, | |
| "is_pareto_optimal": true | |
| }, | |
| { | |
| "depth": 1, | |
| "rank": 2, | |
| "normalized_cost": 0.0859375, | |
| "quality_score": 0.5525090215102332, | |
| "cost_savings_pct": 91.40625, | |
| "is_pareto_optimal": true | |
| }, | |
| { | |
| "depth": 1, | |
| "rank": 4, | |
| "normalized_cost": 0.109375, | |
| "quality_score": 0.6750463912928127, | |
| "cost_savings_pct": 89.0625, | |
| "is_pareto_optimal": true | |
| }, | |
| { | |
| "depth": 1, | |
| "rank": 8, | |
| "normalized_cost": 0.15625, | |
| "quality_score": 0.7890074645005954, | |
| "cost_savings_pct": 84.375, | |
| "is_pareto_optimal": true | |
| } | |
| ], | |
| "scientific_classification": "SIMULATED" | |
| } | |
| } | |
| } |