@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 6bc1e30ef9
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 15, 13:30 UTC

Revert "[Misc] Add S3 environment variables for better support of MinIO." (#17021)

Chauncey committed Apr 23, 2025 at 10:22 UTC 6bc1e30ef9ebaca4fe87c4406e60298b29d73ef9
1 file changed +2 -12
vllm/transformers_utils/s3_utils.py
+2 -12
@@ -45,12 +45,7 @@ def glob(s3=None,
45 list[str]: List of full S3 paths allowed by the pattern
46 """
47 if s3 is None:
48 - s3 = boto3.client(
49 - 's3',
50 - aws_access_key_id=os.getenv("AWS_ACCESS_KEY_ID"),
51 - aws_secret_access_key=os.getenv("AWS_SECRET_ACCESS_KEY"),
52 - endpoint_url=os.getenv("AWS_ENDPOINT_URL"),
53 - region_name=os.getenv("AWS_REGION_NAME"))
48 + s3 = boto3.client("s3")
49 if not path.endswith("/"):
50 path = path + "/"
51 bucket_name, _, paths = list_files(s3,
@@ -112,12 +107,7 @@ class S3Model:
107 """
108
109 def __init__(self) -> None:
115 - self.s3 = boto3.client(
116 - 's3',
117 - aws_access_key_id=os.getenv("AWS_ACCESS_KEY_ID"),
118 - aws_secret_access_key=os.getenv("AWS_SECRET_ACCESS_KEY"),
119 - endpoint_url=os.getenv("AWS_ENDPOINT_URL"),
120 - region_name=os.getenv("AWS_REGION_NAME"))
110 + self.s3 = boto3.client('s3')
111 for sig in (signal.SIGINT, signal.SIGTERM):
112 existing_handler = signal.getsignal(sig)
113 signal.signal(sig, self._close_by_signal(existing_handler))