使用joblib.Memory在AWS S3中缓存数据

问题描述 投票:2回答:1

是否有可能在AWS S3中使用joblib.Memory缓存功能输出,例如将远程链接传递到cachedir参数?

例如:

s3_url = 'https://foo.s3..../folder/cache_folder/project_name/joblib'
from joblib import Memory
memory = Memory(s3_url, verbose=0)

@memory.cache
def my_function(x): return x
python amazon-web-services amazon-s3 joblib
1个回答
0
投票

[您可能想在GitHub和此Python at this comment上查看package

© www.soinside.com 2019 - 2024. All rights reserved.