Commit 1326a33
authored
upgrade vllm to 0.20.2 on ascend platform (#307)
<!--
Copyright 2026 FlagOS Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
### PR Category
Vendor
### Description
test cases:
Test | Model | Type | Result
-- | -- | -- | --
Text math (7×8) | 27B | Text | ✅ 56
Text knowledge (Capital of France) | 27B | Text | ✅ Paris
Text math (7×8) | 35B | Text | ✅ 56
Text knowledge (Capital of France) | 35B | Text | ✅ Paris
Image description | 27B | Image | ✅ Correct (black text, white
background)
Image OCR | 27B | Image | ✅ "Hello"
Image description | 35B | Image | ✅ Correct (black text, white
background)
Image OCR | 35B | Image | ✅ "Hello"
Concurrent text (8 requests) | 27B | Text | ✅ 8/8
Concurrent images (8 requests) | 27B | Image | ✅ 8/8
Concurrent mixed (8 requests) | 27B | Mixed | ✅ 8/8
Concurrent text (8 requests) | 35B | Text | ✅ 8/8
Concurrent images (8 requests) | 35B | Image | ✅ 8/8
Concurrent mixed (8 requests) | 35B | Mixed | ✅ 8/8
Prime numbers | 27B | Text | ✅ 2, 3, 5, 7, 11
Prime numbers | 35B | Text | ✅ 2, 3, 5, 7, 11
Code generation | 27B | Text | ✅ Valid Python
Code generation | 35B | Text | ✅ Valid Python
### Usage
```
export VLLM_PLUGINS=fl
export VLLM_FL_PLATFORM=ascend
vllm serve /models/Qwen3.6-35B-A3B \
--host 0.0.0.0 \
--trust-remote-code \
--max-model-len 4096 \
--enforce-eager \
--served-model-name qwen \
--tensor-parallel-size 2 \
--gpu-memory-utilization 0.8 \
--no-enable-chunked-prefill \
--no-async-scheduling \
--no-enable-prefix-caching
```1 parent 456bf68 commit 1326a33
13 files changed
Lines changed: 1751 additions & 181 deletions
File tree
- vllm_fl
- dispatch
- backends/vendor/ascend
- impl
- fla
- config
- worker
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
Lines changed: 36 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| 219 | + | |
218 | 220 | | |
219 | 221 | | |
220 | 222 | | |
| |||
433 | 435 | | |
434 | 436 | | |
435 | 437 | | |
436 | | - | |
| 438 | + | |
437 | 439 | | |
438 | 440 | | |
439 | 441 | | |
| |||
443 | 445 | | |
444 | 446 | | |
445 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
446 | 457 | | |
447 | 458 | | |
448 | 459 | | |
| |||
488 | 499 | | |
489 | 500 | | |
490 | 501 | | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
491 | 508 | | |
492 | 509 | | |
493 | 510 | | |
| |||
561 | 578 | | |
562 | 579 | | |
563 | 580 | | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
569 | 584 | | |
570 | 585 | | |
571 | 586 | | |
572 | 587 | | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
578 | 591 | | |
579 | 592 | | |
580 | 593 | | |
| |||
593 | 606 | | |
594 | 607 | | |
595 | 608 | | |
596 | | - | |
597 | 609 | | |
598 | 610 | | |
599 | | - | |
| 611 | + | |
| 612 | + | |
600 | 613 | | |
601 | | - | |
602 | | - | |
| 614 | + | |
| 615 | + | |
603 | 616 | | |
604 | 617 | | |
605 | | - | |
| 618 | + | |
606 | 619 | | |
607 | 620 | | |
608 | 621 | | |
| |||
625 | 638 | | |
626 | 639 | | |
627 | 640 | | |
628 | | - | |
629 | | - | |
630 | | - | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
631 | 644 | | |
632 | 645 | | |
633 | 646 | | |
| |||
641 | 654 | | |
642 | 655 | | |
643 | 656 | | |
644 | | - | |
| 657 | + | |
645 | 658 | | |
646 | 659 | | |
647 | 660 | | |
| |||
779 | 792 | | |
780 | 793 | | |
781 | 794 | | |
782 | | - | |
783 | | - | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
784 | 798 | | |
785 | 799 | | |
786 | 800 | | |
| |||
Lines changed: 94 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
0 commit comments