blob: 7bc27a27bddadedde581c2b99bffbd3192cc058a (
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
|
# Maintainer: envolution
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=python-vllm-bin
_pkgname=vllm
pkgver=0.11.2
pkgrel=1
pkgdesc="high-throughput and memory-efficient inference and serving engine for LLMs"
arch=('x86_64')
url='https://github.com/vllm-project/vllm'
provides=(python-vllm)
conflicts=(python-vllm)
license=(Apache-2.0)
depends=(
python-sympy
numactl
python-pytorch
python-transformers
python-sphinx
python-aiohttp
python-cachetools
python-uvloop
python-fastapi
uvicorn
python-soundfile
python-starlette
python-tqdm
python-boto3
python-openai
python-importlib-metadata
python-torchvision
python-pydantic
python-psutil
python-opencv
python-py-cpuinfo
python-msgspec
python-pyzmq
python-blake3
python-cloudpickle
python-triton
python-huggingface-hub
python-gguf
python-prometheus-fastapi-instrumentator
python-partial-json-parser
python-watchfiles
python-diskcache
python-pybase64
)
optdepends=(
'cuda: use nvidia GPU'
'cuda-tools: use nvidia GPU'
'python-openai: required for openai protocols'
'python-prometheus_client: Prometheus instrumentation library for Python applications'
'python-pillow: required for image processing'
'python-outlines: guided text generation'
'python-lark: parsing toolkit'
'python-typing_extensions: typing hints'
'python-msgspec: JSON/MessagePack library with validation'
'python-mistral-common: mistral tools for opencv'
'python-einops: required for QWen2-VL models'
'python-compressed-tensors: required to load compressed tensor files'
'python-torchaudio: required for image processor of minicpm-o-2.6'
'python-torchvision: required for image processor of phi3v'
'python-datasets: tools to benchmark scripts'
'python-tiktoken: required for DBRX tokenizer'
#not in aur/upstream
'python-depyf: required for debugging and profiling with complilation config'
'python-lm-format-enforcer: required for JSON/REGEX llm output'
'python-xgrammar: flexible structured generation'
)
makedepends=(
python-installer
zip
unzip
)
options=(!strip)
_cpy=38
_cuda=129
_whl="vllm-${pkgver}+cu${_cuda}-cp${_cpy}-abi3-manylinux1_x86_64.whl"
source=(
"https://github.com/vllm-project/vllm/releases/download/v${pkgver}/${_whl}"
)
noextract=("${_whl}")
sha256sums=('6d4a063c411a07b24af5b4785c2a8f71a37f9283c66e1f1d7a8efabfc00ff268')
package() {
python -m installer --destdir="${pkgdir}" "${_whl}"
}
# vim:set ts=2 sw=2 et:
|