ray.tune.syncer._BackgroundSyncer.validate_upload_dir#

classmethod _BackgroundSyncer.validate_upload_dir(upload_dir: str) bool#

Checks if upload_dir is supported by the Syncer.

Returns True if upload_dir is valid, otherwise raises ValueError.

Parameters

upload_dir – Path to validate.