mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-09 03:07:04 +08:00
Signed-off-by: iAmir97 <Amir.balwel@embeddedllm.com> Signed-off-by: iAmir97 <71513472+iAmir97@users.noreply.github.com> Co-authored-by: iAmir97 <Amir.balwel@embeddedllm.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
14 lines
390 B
Python
14 lines
390 B
Python
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
|
MB_bytes = 1_000_000
|
|
"""The number of bytes in one megabyte (MB)."""
|
|
|
|
MiB_bytes = 1 << 20
|
|
"""The number of bytes in one mebibyte (MiB)."""
|
|
|
|
GB_bytes = 1_000_000_000
|
|
"""The number of bytes in one gigabyte (GB)."""
|
|
|
|
GiB_bytes = 1 << 30
|
|
"""The number of bytes in one gibibyte (GiB)."""
|