HuggingFace space won't boot with error
nsthorat opened this issue · 0 comments
Runtime error
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.11/site-packages/lilac/cli.py", line 105, in hf_docker_start_command
hf_docker_start()
File "/home/user/.local/lib/python3.11/site-packages/lilac/hf_docker_start.py", line 62, in hf_docker_start
_hf_docker_start()
File "/home/user/.local/lib/python3.11/site-packages/lilac/hf_docker_start.py", line 145, in _hf_docker_start
ds = get_dataset(ds_namespace, ds_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.11/site-packages/lilac/db_manager.py", line 44, in get_dataset
_CACHED_DATASETS[cache_key] = _DEFAULT_DATASET_CLS(
^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.11/site-packages/lilac/data/dataset_duckdb.py", line 347, in init
self.manifest()
File "/home/user/.local/lib/python3.11/site-packages/lilac/data/dataset_duckdb.py", line 594, in manifest
return self._recompute_joint_table(latest_mtime_micro_sec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.11/site-packages/lilac/data/dataset_duckdb.py", line 536, in _recompute_joint_table
size_query_result = cast(Any, self._query(size_query)[0])
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.11/site-packages/lilac/data/dataset_duckdb.py", line 2920, in _query
result = self._execute(query)
^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.11/site-packages/lilac/data/dataset_duckdb.py", line 2911, in _execute
return local_con.execute(query)
^^^^^^^^^^^^^^^^^^^^^^^^
duckdb.duckdb.InvalidInputException: Invalid Input Error: Python Object "t" of type "module" found on line "/home/user/.local/lib/python3.11/site-packages/click/core.py:783" not suitable for replacement scans.
Make sure that "t" is either a pandas.DataFrame, duckdb.DuckDBPyRelation, pyarrow Table, Dataset, RecordBatchReader, Scanner, or NumPy ndarrays with supported format