vllm.transformers_utils.s3_utils
¶
Functions:
-
glob–List full file names from S3 path and filter by allow pattern.
-
list_files–List files from S3 path and filter by pattern.
glob(s3=None, path='', allow_pattern=None)
¶
list_files(s3, path, allow_pattern=None, ignore_pattern=None)
¶
List files from S3 path and filter by pattern.
Parameters:
-
(s3¶BaseClient) –S3 client to use.
-
(path¶str) –The S3 path to list from.
-
(allow_pattern¶list[str] | None, default:None) –A list of patterns of which files to pull.
-
(ignore_pattern¶list[str] | None, default:None) –A list of patterns of which files not to pull.
Returns: