blob: a9b4afb4b0089d3c669fa44d0b4b5a02eef3b302 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
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
|
%global _empty_manifest_terminate_build 0
Name: python-sglang
Version: 0.4.6.post5
Release: 2
Summary: SGLang is yet another fast serving framework for large language models and vision language models.
License: Apache-2.0
URL: https://github.com/sgl-project/sglang
Source0: https://files.pythonhosted.org/packages/40/1f/3ac1eb0ea3962e0281b368a97b1f85c0735cce31c6a6efb22b1ceb57c160/sglang-0.4.6.post5.tar.gz
BuildArch: noarch
Requires: (python3-aiohttp)
Requires: (python3-requests)
Requires: (python3-tqdm)
Requires: (python3-numpy)
Requires: (python3-IPython)
Requires: (python3-setproctitle)
Requires: (python3-compressed-tensors)
Requires: (python3-datasets)
Requires: (python3-fastapi)
Requires: (python3-hf_transfer)
Requires: (python3-huggingface_hub)
Requires: (python3-interegular)
Requires: (python3-llguidance<0.8.0 with python3-llguidance>=0.7.11)
Requires: (python3-modelscope)
Requires: (python3-msgspec)
Requires: (python3-ninja)
Requires: (python3-orjson)
Requires: (python3-packaging)
Requires: (python3-partial_json_parser)
Requires: (python3-pillow)
Requires: (python3-prometheus-client>=0.20.0)
Requires: (python3-psutil)
Requires: (python3-pydantic)
Requires: (python3-pynvml)
Requires: (python3-python-multipart)
Requires: (python3-pyzmq>=25.1.2)
Requires: (python3-soundfile==0.13.1)
Requires: (python3-torchao==0.9.0)
Requires: (python3-transformers==4.51.1)
Requires: (python3-uvicorn)
Requires: (python3-uvloop)
Requires: (python3-xgrammar==0.1.19)
Requires: (python3-blobfile==3.0.0)
Requires: (python3-sglang[runtime_common])
Requires: (python3-sgl-kernel==0.1.4)
Requires: (python3-flashinfer_python==0.2.5)
Requires: (python3-torch==2.6.0)
Requires: (python3-torchvision==0.21.0)
Requires: (python3-cuda-python)
Requires: (python3-outlines<=0.1.11 with python3-outlines>=0.0.44)
Requires: (python3-einops)
Requires: (python3-sglang[runtime_common])
Requires: (python3-sgl-kernel)
Requires: (python3-torch)
Requires: (python3-torchvision)
Requires: (python3-cuda-python)
Requires: (python3-outlines<=0.1.11 with python3-outlines>=0.0.44)
Requires: (python3-einops)
Requires: (python3-flashinfer_python==0.2.5)
Requires: (python3-sglang[runtime_common])
Requires: (python3-torch)
Requires: (python3-vllm==0.6.7.dev2)
Requires: (python3-outlines==0.1.11)
Requires: (python3-sglang[runtime_common])
Requires: (python3-outlines<=0.1.11 with python3-outlines>=0.0.44)
Requires: (python3-sglang[runtime_common])
Requires: (python3-outlines<=0.1.11 with python3-outlines>=0.0.44)
Requires: (python3-sglang[runtime_common])
Requires: (python3-outlines<=0.1.11 with python3-outlines>=0.0.44)
Requires: (python3-torch)
Requires: (python3-sglang[runtime_common])
Requires: (python3-outlines<=0.1.11 with python3-outlines>=0.0.44)
Requires: (python3-openai>=1.0)
Requires: (python3-tiktoken)
Requires: (python3-anthropic>=0.20.0)
Requires: (python3-litellm>=1.0.0)
Requires: (python3-torch_memory_saver>=0.0.4)
Requires: (python3-decord)
Requires: (python3-accelerate)
Requires: (python3-jsonlines)
Requires: (python3-matplotlib)
Requires: (python3-pandas)
Requires: (python3-peft)
Requires: (python3-timm)
Requires: (python3-sentence_transformers)
Requires: (python3-sglang[srt])
Requires: (python3-sglang[openai])
Requires: (python3-sglang[anthropic])
Requires: (python3-sglang[litellm])
Requires: (python3-sglang[torch_memory_saver])
Requires: (python3-sglang[decord])
Requires: (python3-sglang[srt_hip])
Requires: (python3-sglang[openai])
Requires: (python3-sglang[anthropic])
Requires: (python3-sglang[litellm])
Requires: (python3-sglang[decord])
Requires: (python3-sglang[srt_xpu])
Requires: (python3-sglang[openai])
Requires: (python3-sglang[anthropic])
Requires: (python3-sglang[litellm])
Requires: (python3-sglang[decord])
Requires: (python3-sglang[srt_hpu])
Requires: (python3-sglang[openai])
Requires: (python3-sglang[anthropic])
Requires: (python3-sglang[litellm])
Requires: (python3-sglang[decord])
Requires: (python3-sglang[srt_cpu])
Requires: (python3-sglang[openai])
Requires: (python3-sglang[anthropic])
Requires: (python3-sglang[litellm])
Requires: (python3-sglang[decord])
Requires: (python3-sglang[srt_npu])
Requires: (python3-sglang[openai])
Requires: (python3-sglang[anthropic])
Requires: (python3-sglang[litellm])
Requires: (python3-sglang[decord])
Requires: (python3-sglang[all])
Requires: (python3-sglang[test])
Requires: (python3-sglang[all_hip])
Requires: (python3-sglang[test])
Requires: (python3-sglang[all_xpu])
Requires: (python3-sglang[test])
Requires: (python3-sglang[all_hpu])
Requires: (python3-sglang[test])
Requires: (python3-sglang[all_cpu])
Requires: (python3-sglang[test])
%description
SGLang is a fast serving framework for large language models and vision language models.
It makes your interaction with models faster and more controllable by co-designing the backend runtime and frontend language.
%package -n python3-sglang
Summary: SGLang is yet another fast serving framework for large language models and vision language models.
Provides: python-sglang
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
%description -n python3-sglang
SGLang is a fast serving framework for large language models and vision language models.
It makes your interaction with models faster and more controllable by co-designing the backend runtime and frontend language.
%prep
%autosetup -n sglang-0.4.6.post5
%build
%pyproject_build
%install
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
touch filelist.lst
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-sglang -f filelist.lst
%{python3_sitelib}/*
%changelog
* Sat Aug 30 2025 openEuler <contact@openeuler.org> - 0.4.6.post5-2
- add LICENSE.
* Tue May 27 2025 Python_Bot <Python_Bot@openeuler.org> - 0.4.6.post5-1
- Package Spec generated
|