Closed giladrubin1 closed 1 month ago
@giladrubin1 I think this might be an azure issue - https://github.com/microsoft/autogen/issues/79
Can you try specifying a different location for the cache? or trying https://github.com/microsoft/autogen/issues/79#issuecomment-1744086814 if that makes sense?
Yes, - it seems like it's an sqlite issue on AzureML Compute. I'll change the directory of the cache to be outside of the compute filesystem, hopefully it'll work. Thanks!
Current behavior
When trying to use
hamilton.experimental.h_cache.CachingGraphAdapter
on an Azure Linux ML Compute, a 'database is locked' error occurs after running for about a minute.Stack Traces
Steps to replicate behavior
Run the following code:
Library & System Information
Expected behavior
The
CachingGraphAdapter
should initialize without a 'database is locked' error.Additional context
After the error occurs, the cache.db file cannot be deleted until the kernel is restarted. This suggests that the file remains locked even after the error occurs.