Text Generation
Transformers
Safetensors
English
qwen3_5_text
quantized
4-bit precision
int4
awq
conversational
compressed-tensors
Instructions to use ajinkyamulay/iolai-qwen35-solver with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ajinkyamulay/iolai-qwen35-solver with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ajinkyamulay/iolai-qwen35-solver") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ajinkyamulay/iolai-qwen35-solver") model = AutoModelForCausalLM.from_pretrained("ajinkyamulay/iolai-qwen35-solver", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ajinkyamulay/iolai-qwen35-solver with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ajinkyamulay/iolai-qwen35-solver" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ajinkyamulay/iolai-qwen35-solver", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ajinkyamulay/iolai-qwen35-solver
- SGLang
How to use ajinkyamulay/iolai-qwen35-solver 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 "ajinkyamulay/iolai-qwen35-solver" \ --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": "ajinkyamulay/iolai-qwen35-solver", "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 "ajinkyamulay/iolai-qwen35-solver" \ --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": "ajinkyamulay/iolai-qwen35-solver", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ajinkyamulay/iolai-qwen35-solver with Docker Model Runner:
docker model run hf.co/ajinkyamulay/iolai-qwen35-solver
| default_stage: | |
| default_modifiers: | |
| AWQModifier: | |
| mappings: | |
| - smooth_layer: re:.*layers\.(3|7|11|15|19|23|27|31)\.input_layernorm$ | |
| balance_layers: ['re:.*self_attn.q_proj$', 're:.*self_attn.k_proj$', 're:.*self_attn.v_proj$'] | |
| activation_hook_target: null | |
| - smooth_layer: re:.*layers\.(0|1|2|4|5|6|8|9|10|12|13|14|16|17|18|20|21|22|24|25|26|28|29|30)\.input_layernorm$ | |
| balance_layers: ['re:.*linear_attn.in_proj_qkv$', 're:.*linear_attn.in_proj_z$', 're:.*linear_attn.in_proj_b$', | |
| 're:.*linear_attn.in_proj_a$'] | |
| activation_hook_target: null | |
| - smooth_layer: re:.*post_attention_layernorm$ | |
| balance_layers: ['re:.*gate_proj$', 're:.*up_proj$'] | |
| activation_hook_target: null | |
| - smooth_layer: re:.*up_proj$ | |
| balance_layers: ['re:.*down_proj$'] | |
| activation_hook_target: null | |
| duo_scaling: true | |
| n_grid: 20 | |
| QuantizationModifier: | |
| targets: [Linear] | |
| ignore: [lm_head, 're:.*embed.*', 're:.*router.*', 're:.*\.gate$'] | |
| scheme: W4A16 | |
| bypass_divisibility_checks: false | |