storage_from_uri - Tinker Documentation
tinker_cookbook.stores.storage_from_uri
tinker_cookbook.stores.storage_from_uri( uri, ** kwargs)
Create a Storage backend from a URI string.
Supported schemes:
- /path/to/dir → LocalStorage("/path/to/dir")
- file:///path/to/dir → LocalStorage("/path/to/dir")
- s3://bucket/prefix → FsspecStorage (requires s3fs)
- gs://bucket/prefix → FsspecStorage (requires gcsfs)
- az://container/prefix → FsspecStorage (requires adlfs)
Extra keyword arguments are passed to the fsspec filesystem constructor
(e.g., anon=True for public S3 buckets).
This is the recommended way to create a Storage from user config
(e.g., log_path in training scripts).
Parameters:
Returns: Storage