Repository navigation
Commit 366d879
committed
fix(vllm): declare a weight version only when a caller supplies one
Review found that a successful update omitting weight_version still
recorded the synthetic "unknown" placeholder, so get_weight_version could
answer version_declared: true for a version nobody chose. The routes still
respond "unknown" to keep the response shape stable, but only a
caller-supplied tag now counts as a declaration.
Also drop the defensive getattr in get_weight_version and initialize
_weight_version in the test constructor that bypasses __init__, and
describe the route in the RL guide as reporting the last version declared
rather than the version being served.
Regenerate the Python API reference pages. The freshness gate attributes
drift to any branch touching components/src, which this branch does; the
drift itself came from main (this branch's own head regenerates clean, and
the four stale pages carry no vLLM or RL content). The generated output is
byte-identical at the CI base and at current main, so regenerating settles
it rather than racing the next merge.
Signed-off-by: svc-glamr@nvidia.com <svc-glamr@nvidia.com>1 parent 656d0de commit 366d879
7 files changed
Lines changed: 251 additions & 159 deletions
File tree
- components/src/dynamo/vllm
- tests
- docs/fern/pages
- reference/api/python
- use-cases/reinforcement-learning
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1731 | 1731 | | |
1732 | 1732 | | |
1733 | 1733 | | |
1734 | | - | |
| 1734 | + | |
1735 | 1735 | | |
1736 | | - | |
1737 | | - | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
1738 | 1741 | | |
1739 | 1742 | | |
1740 | 1743 | | |
| |||
1754 | 1757 | | |
1755 | 1758 | | |
1756 | 1759 | | |
1757 | | - | |
| 1760 | + | |
1758 | 1761 | | |
1759 | 1762 | | |
1760 | 1763 | | |
| |||
1820 | 1823 | | |
1821 | 1824 | | |
1822 | 1825 | | |
1823 | | - | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
1824 | 1832 | | |
1825 | 1833 | | |
1826 | 1834 | | |
| |||
1883 | 1891 | | |
1884 | 1892 | | |
1885 | 1893 | | |
1886 | | - | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
1887 | 1898 | | |
1888 | 1899 | | |
1889 | 1900 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
1857 | 1859 | | |
1858 | 1860 | | |
1859 | 1861 | | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
1860 | 1891 | | |
1861 | 1892 | | |
1862 | 1893 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments