Instructions to use QuantTrio/Qwen3-Coder-Next-E400 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantTrio/Qwen3-Coder-Next-E400 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="QuantTrio/Qwen3-Coder-Next-E400") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("QuantTrio/Qwen3-Coder-Next-E400") model = AutoModelForCausalLM.from_pretrained("QuantTrio/Qwen3-Coder-Next-E400") 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
- vLLM
How to use QuantTrio/Qwen3-Coder-Next-E400 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QuantTrio/Qwen3-Coder-Next-E400" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantTrio/Qwen3-Coder-Next-E400", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QuantTrio/Qwen3-Coder-Next-E400
- SGLang
How to use QuantTrio/Qwen3-Coder-Next-E400 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 "QuantTrio/Qwen3-Coder-Next-E400" \ --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": "QuantTrio/Qwen3-Coder-Next-E400", "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 "QuantTrio/Qwen3-Coder-Next-E400" \ --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": "QuantTrio/Qwen3-Coder-Next-E400", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use QuantTrio/Qwen3-Coder-Next-E400 with Docker Model Runner:
docker model run hf.co/QuantTrio/Qwen3-Coder-Next-E400
Add files using upload-large-folder tool
Browse files- model-00002-of-00042.safetensors +3 -0
- model-00003-of-00042.safetensors +3 -0
- model-00004-of-00042.safetensors +3 -0
- model-00005-of-00042.safetensors +3 -0
- model-00006-of-00042.safetensors +3 -0
- model-00007-of-00042.safetensors +3 -0
- model-00008-of-00042.safetensors +3 -0
- model-00009-of-00042.safetensors +3 -0
- model-00010-of-00042.safetensors +3 -0
- model-00011-of-00042.safetensors +3 -0
- model-00012-of-00042.safetensors +3 -0
- model-00013-of-00042.safetensors +3 -0
- model-00014-of-00042.safetensors +3 -0
- model-00015-of-00042.safetensors +3 -0
- model-00016-of-00042.safetensors +3 -0
- model-00017-of-00042.safetensors +3 -0
- model-00018-of-00042.safetensors +3 -0
- model-00039-of-00042.safetensors +3 -0
- model-00040-of-00042.safetensors +3 -0
- model-00041-of-00042.safetensors +3 -0
model-00002-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06ba1405e4072cd6c6a6241a36f7681e64571726538d64ae9966409667c8e5f7
|
| 3 |
+
size 2998523672
|
model-00003-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e1d9e80f0f66a8377b908f75c74a86fa2bdfaf60e13c7e3c9c42add8550767b
|
| 3 |
+
size 2998198784
|
model-00004-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48cbc7e498c177af2f7cfde07edd468c65bdc66cd8fd30d0226dea2a7cae45c4
|
| 3 |
+
size 2998522160
|
model-00005-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbc9b9db3831debc16f5281dbff42faf5727c363a9fb68dbbfc3262c0aa4adba
|
| 3 |
+
size 2998523704
|
model-00006-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf348597ed35c06ad702c3ef3f555c56ffc0690c1c81d0ea7d718c02661ad0c2
|
| 3 |
+
size 2998523600
|
model-00007-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a95ee075601eac4d43544855421465f065c1c645d2cb467a51cffc606efb23b9
|
| 3 |
+
size 2999714360
|
model-00008-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fddd9e066f9e314071e4ad8177f9f4f389c1a693fad0b5d4ff5886cdc06245bd
|
| 3 |
+
size 2998523680
|
model-00009-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86f0b9996a9f39d99681695f6416e3f998fe9a1dea1e3814411fb57e67b4c9c0
|
| 3 |
+
size 2998524256
|
model-00010-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8080a225672618a5f845eff7434fd276cc4bc1cf9c25fce0f729402e4f39165
|
| 3 |
+
size 2998200216
|
model-00011-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17faceb5ea80df404719d1ded91418b9993e048ac9f6a132efe6efccdce3019f
|
| 3 |
+
size 2998523544
|
model-00012-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcbb6edf3169a0ad1102a16813d543d3e76a8ef447356832f84a8664c064998c
|
| 3 |
+
size 2998525072
|
model-00013-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb733f5dcde1607bee054c7e9def2b11072bd9c8ee28779c0b20cc6bd9af0571
|
| 3 |
+
size 2999717272
|
model-00014-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75fc720a5f92d83429068125e70ac158442db2235998c81a11c516b5366ee71f
|
| 3 |
+
size 2998523552
|
model-00015-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:948a9dee90a3a5dcb6500407f2dd7988984af7a8c0d9bab61822d6ad3f91c4ce
|
| 3 |
+
size 2998525080
|
model-00016-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:774c9f799daa76d16badd71e0917a2c47fd47dee2ff19531161a44a77e5a50d3
|
| 3 |
+
size 2998525088
|
model-00017-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5c50f19481862e5b986ffffc490483b44000119f070a512797742dede41e065
|
| 3 |
+
size 2998200216
|
model-00018-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88fc065721dcd5432b02888982ffae6bff43f6acbe1a674358235bbced44d7ec
|
| 3 |
+
size 2998523632
|
model-00039-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90c27db5069b5678e729b6ae1fce4b6de1710624b129e197da3457d532933283
|
| 3 |
+
size 2998852416
|
model-00040-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:631267268811b6499b52da8970d8df5903e7680bb54e0636d8310928abccf8fb
|
| 3 |
+
size 2998525088
|
model-00041-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6204789302998adf62113950578c23a1dd3f555d75c4dd3fa774862ea29dcdfa
|
| 3 |
+
size 2998200216
|