是否有可能在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
[您可能想在GitHub和此Python at this comment上查看package。