Instructions to use divagr1925/Qwen3.5-4B-Qwenputer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use divagr1925/Qwen3.5-4B-Qwenputer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="divagr1925/Qwen3.5-4B-Qwenputer") 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("divagr1925/Qwen3.5-4B-Qwenputer") model = AutoModelForCausalLM.from_pretrained("divagr1925/Qwen3.5-4B-Qwenputer", 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 divagr1925/Qwen3.5-4B-Qwenputer with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "divagr1925/Qwen3.5-4B-Qwenputer" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "divagr1925/Qwen3.5-4B-Qwenputer", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/divagr1925/Qwen3.5-4B-Qwenputer
- SGLang
How to use divagr1925/Qwen3.5-4B-Qwenputer 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 "divagr1925/Qwen3.5-4B-Qwenputer" \ --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": "divagr1925/Qwen3.5-4B-Qwenputer", "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 "divagr1925/Qwen3.5-4B-Qwenputer" \ --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": "divagr1925/Qwen3.5-4B-Qwenputer", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use divagr1925/Qwen3.5-4B-Qwenputer with Docker Model Runner:
docker model run hf.co/divagr1925/Qwen3.5-4B-Qwenputer
CPU !! WELL DONE :
we need to basically : have the main code to run this :
as well as we will need to be able to run this in LMSTUDIO with a GGUF :
I like the way you have inserted the chip details etc :
meaing we could do this with various early x86 chips ( a begining _ )
but it seems we are basically using assembly code inside :
I like the fact we can also load roms ! ( hence choosing the main rom for nes etc 6502 etc this is where i think we need to begin )
so we can basically tilize existing roms : (savingthe past technology firstly but also havng that extra library that can be loaded at runtime : )
so i think we could also provide a assembly code as a context / instead of a rom ( alternative ) which would also give the model a mini hranes in assembly to use internally , such as a language ... such as cpython / pyscript / a layer on top of assembly ( python interpretor is the closest we have to the original basic ) - ( very important as this is what people are using rust is still too new ) .. so current programmers can also send code in as context ( internal tools or harness ) ... ( only for the internal system ) obvilusy these would have to e small to begin with ( micro programs ) :
so now with this we can actually get to a agi in the sense that the model itself has a system ( programmable rom ) ...as well as state : so it can remeber its last state without needing to send turn history :
it begins with game roms & assembly !... then x86 cpu ! with interpretor
technically nerual network as a computer ( this is the genius ) ... We shoudl also b considering it as a module ! so when compiling we compile to gguf and module ... just like the vision models have a vision module extra : then all you need it to be able to run that module with llama cpp ! ( binary ) :
so to execute you will run the gguf with module :
so for a vison model you would have the cpu module and vision module ! .. etc ..
hopefully this does nto get left and forgotton for month and months then stolen by somebody making claims !
probably share your things with qwen team directly if possible here ! ...