Files
vllm/vllm/benchmarks/sweep/utils.py
2025-10-21 20:30:03 -07:00

5 lines
232 B
Python

# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
def sanitize_filename(filename: str) -> str:
return filename.replace("/", "_").replace("..", "__").strip("'").strip('"')