SciCore-Mol is a large language model based on the Qwen3 architecture, developed by OpenBMB. It is designed for scientific computing and chemistry-related tasks, with strong capabilities in molecular understanding and scientific reasoning.
| Item | Status |
|---|---|
| Architecture | Qwen3ForCausalLM |
| vLLM Registry | Already supported |
| Attention Type | Full attention (GQA) |
| Quantization | None |
| MoE | No |
| MLA | No |
All operators used by Qwen3 are natively supported on Ascend NPU:
Status: Passed
INFO [model.py:533] Resolved architecture: Qwen3ForCausalLM
INFO [model_runner_v1.py:2589] Loading model weights took 15.2820 GB
INFO [worker.py:357] Available KV cache memory: 38.94 GiB
INFO [llm.py:391] Supported tasks: ['generate']
Output: '寓መ寓መ寓መ寓መ'
Token IDs: [101516, 148580, 101516, 148580, 101516, 148580, 101516, 148580]
SUCCESS: Dummy weight test passedStatus: Passed
Model loaded successfully with real weights from ModelScope:
INFO [model.py:533] Resolved architecture: Qwen3ForCausalLM
INFO [model_runner_v1.py:2562] Starting to load model /tmp/scicore-mol...
Loading safetensors checkpoint shards: 100% Completed | 4/4 [00:46<00:00, 11.56s/it]
INFO [default_loader.py:384] Loading weights took 46.29 seconds
INFO [model_runner_v1.py:2589] Loading model weights took 15.2820 GB
INFO [worker.py:357] Available KV cache memory: 38.94 GiB
INFO [kv_cache_utils.py:1316] GPU KV cache size: 283,520 tokens
INFO [core.py:281] init engine (profile, create kv cache, warmup model) took 5.32 seconds
INFO [llm.py:391] Supported tasks: ['generate']
Prompt: "Hello, how are you?"
NPU Output: " I'm sorry for the late reply."
NPU Token IDs: [358, 2776, 14589, 369, 279, 3309, 9851, 13]Test Environment:
VLLM_TARGET_DEVICE=cpu)Note: GPU was not available in the test environment. CPU serves as the precision baseline for validation.
Multi-Prompt Comparison Results:
| # | Prompt | NPU Output | CPU Output | Match |
|---|---|---|---|---|
| 1 | Hello, how are you? | " I'm sorry for the late reply. I'm currently in the middle of a" | " I'm sorry for the late reply. I'm currently in the middle of a" | 16/16 |
| 2 | What is the chemical formula for water? | " The chemical formula for water is H₂O, which consists of two hydrogen atoms" | " The chemical formula for water is H₂O, which consists of two hydrogen atoms" | 16/16 |
| 3 | Explain quantum mechanics in simple terms. | " Quantum mechanics is a fundamental theory in physics that describes the behavior of the smallest particles" | " Quantum mechanics is a fundamental theory in physics that describes the behavior of the smallest particles" | 16/16 |
| 4 | The capital of France is | " Paris. The capital of Italy is Rome. The capital of Spain is Madrid." | " Paris. The capital of Italy is Rome. The capital of Spain is Madrid." | 16/16 |
| 5 | 1 + 1 = | " 2\n\n# 1. Two Sum\n\nGiven an array of integers `" | " 2\n\n# 1. Two Sum\n\nGiven an array of integers `" | 16/16 |
Token-by-Token Comparison (Prompt 1):
| Position | NPU Token | CPU Token | Match |
|---|---|---|---|
| 1 | 358 | 358 | Yes |
| 2 | 2776 | 2776 | Yes |
| 3 | 14589 | 14589 | Yes |
| 4 | 369 | 369 | Yes |
| 5 | 279 | 279 | Yes |
| 6 | 3309 | 3309 | Yes |
| 7 | 9851 | 9851 | Yes |
| 8 | 13 | 13 | Yes |
| 9 | 358 | 358 | Yes |
| 10 | 2776 | 2776 | Yes |
| 11 | 5023 | 5023 | Yes |
| 12 | 304 | 304 | Yes |
| 13 | 279 | 279 | Yes |
| 14 | 6149 | 6149 | Yes |
| 15 | 315 | 315 | Yes |
| 16 | 264 | 264 | Yes |
Precision Summary:
| Metric | Value |
|---|---|
| Total Prompts Tested | 5 |
| Total Tokens Compared | 80 (5 x 16) |
| Matching Tokens | 80 |
| Mismatched Tokens | 0 |
| Match Rate | 100% |
| First Divergence | None |
| Feature | Status |
|---|---|
| Text Generation | Supported and verified |
| ACLGraph | Supported |
| Chunked Prefill | Supported |
| Prefix Caching | Supported |
| Tensor Parallelism | Supported (not tested) |
vllm serve /path/to/scicore-mol \
--dtype bfloat16 \
--max-model-len 4096 \
--max-num-seqs 16 \
--trust-remote-code \
--port 8000# Readiness check
curl -sf http://127.0.0.1:8000/v1/models
# Text inference
curl -s http://127.0.0.1:8000/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model":"scicore-mol","messages":[{"role":"user","content":"say hi"}],"temperature":0,"max_tokens":16}'None required. The Qwen3ForCausalLM architecture is already natively supported in vLLM and works on Ascend NPU without any modifications.
SciCore-Mol is fully compatible with vLLM-Ascend. No adapter code is needed - the model works out-of-the-box using the existing Qwen3 implementation in vLLM. Precision validation shows 100% token-level agreement between NPU and CPU outputs across 5 diverse prompts (80 tokens total).