You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/runner/work/datachain/datachain/.nox/examples-3-12/lib/python3.12/site-packages/datachain/lib/prefetcher.py", line 31, in _prefetch_inputawait obj._prefetch()
File "/home/runner/work/datachain/datachain/.nox/examples-3-12/lib/python3.12/site-packages/datachain/lib/file.py", line 275, in _prefetchawait client._download(self, callback=self._download_cb)
File "/home/runner/work/datachain/datachain/.nox/examples-3-12/lib/python3.12/site-packages/datachain/client/fsspec.py", line 374, in _downloadawaitself._put_in_cache(file, callback=callback)
File "/home/runner/work/datachain/datachain/.nox/examples-3-12/lib/python3.12/site-packages/datachain/client/fsspec.py", line 382, in _put_in_cache
etag =awaitself.get_current_etag(file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/datachain/datachain/.nox/examples-3-12/lib/python3.12/site-packages/datachain/client/fsspec.py", line 204, in get_current_etag
info =awaitself.fs._info(self.get_full_path(file.path))
^^^^^^^^^^^^^AttributeError: 'HfFileSystem' object has no attribute '_info'. Did you mean: 'info'?
HfClient does not implement all the APIs necessary for caching. That also breaks prefetching. HFFileSystem only offers sync interface, so it is very much incompatible with the expectation of Client which expects an AsyncFileSystem. So it's fundamentally broken.
The text was updated successfully, but these errors were encountered:
Description
HfClient
does not implement all the APIs necessary for caching. That also breaks prefetching.HFFileSystem
only offers sync interface, so it is very much incompatible with the expectation ofClient
which expects anAsyncFileSystem
. So it's fundamentally broken.The text was updated successfully, but these errors were encountered: