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 "/app/app.py", line 15, in
app = App()
File "/app/libs/ktem/ktem/app.py", line 73, in init
self.initialize_indices()
File "/app/libs/ktem/ktem/app.py", line 84, in initialize_indices
self.index_manager.on_application_startup()
File "/app/libs/ktem/ktem/index/manager.py", line 184, in on_application_startup
self.load_index_types()
File "/app/libs/ktem/ktem/index/manager.py", line 155, in load_index_types
cls: Type[BaseIndex] = import_dotted_string(index_str, safe=False)
File "/usr/local/lib/python3.10/site-packages/theflow/utils/modules.py", line 45, in import_dotted_string
module = importlib.import_module(module_name)
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/app/libs/ktem/ktem/index/file/graph/init.py", line 2, in
from .light_graph_index import LightRAGIndex
File "/app/libs/ktem/ktem/index/file/graph/light_graph_index.py", line 5, in
from .lightrag_pipelines import LightRAGIndexingPipeline, LightRAGRetrieverPipeline
File "/app/libs/ktem/ktem/index/file/graph/lightrag_pipelines.py", line 25, in
from lightrag import LightRAG, QueryParam
File "/usr/local/lib/python3.10/site-packages/lightrag/init.py", line 1, in
from .lightrag import LightRAG as LightRAG, QueryParam as QueryParam
File "/usr/local/lib/python3.10/site-packages/lightrag/lightrag.py", line 8, in
from .llm import (
File "/usr/local/lib/python3.10/site-packages/lightrag/llm.py", line 27, in
from transformers import AutoTokenizer, AutoModelForCausalLM
File "/usr/local/lib/python3.10/site-packages/transformers/init.py", line 26, in
from . import dependency_versions_check
File "/usr/local/lib/python3.10/site-packages/transformers/dependency_versions_check.py", line 16, in
from .utils.versions import require_version, require_version_core
File "/usr/local/lib/python3.10/site-packages/transformers/utils/init.py", line 27, in
from .chat_template_utils import DocstringParsingException, TypeHintParsingException, get_json_schema
File "/usr/local/lib/python3.10/site-packages/transformers/utils/chat_template_utils.py", line 25, in
from .import_utils import is_jinja_available, is_torch_available, is_vision_available
File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 160, in
_pygments_available = _is_package_available("pygments")
File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 49, in _is_package_available
package_version = importlib.metadata.version(pkg_name)
File "/usr/local/lib/python3.10/importlib/metadata/init.py", line 996, in version
return distribution(distribution_name).version
File "/usr/local/lib/python3.10/site-packages/importlib_metadata/init.py", line 508, in version
return self.metadata['Version']
File "/usr/local/lib/python3.10/site-packages/importlib_metadata/_adapters.py", line 54, in getitem
raise KeyError(item)
KeyError: 'Version'
Reproduction steps
using docker compose up -d to start main-full,not success
docker logs -f kotaemon-kotaemon-1 output above
Screenshots
![DESCRIPTION](LINK.png)
Logs
No response
Browsers
No response
OS
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Description
File "/app/app.py", line 15, in
app = App()
File "/app/libs/ktem/ktem/app.py", line 73, in init
self.initialize_indices()
File "/app/libs/ktem/ktem/app.py", line 84, in initialize_indices
self.index_manager.on_application_startup()
File "/app/libs/ktem/ktem/index/manager.py", line 184, in on_application_startup
self.load_index_types()
File "/app/libs/ktem/ktem/index/manager.py", line 155, in load_index_types
cls: Type[BaseIndex] = import_dotted_string(index_str, safe=False)
File "/usr/local/lib/python3.10/site-packages/theflow/utils/modules.py", line 45, in import_dotted_string
module = importlib.import_module(module_name)
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/app/libs/ktem/ktem/index/file/graph/init.py", line 2, in
from .light_graph_index import LightRAGIndex
File "/app/libs/ktem/ktem/index/file/graph/light_graph_index.py", line 5, in
from .lightrag_pipelines import LightRAGIndexingPipeline, LightRAGRetrieverPipeline
File "/app/libs/ktem/ktem/index/file/graph/lightrag_pipelines.py", line 25, in
from lightrag import LightRAG, QueryParam
File "/usr/local/lib/python3.10/site-packages/lightrag/init.py", line 1, in
from .lightrag import LightRAG as LightRAG, QueryParam as QueryParam
File "/usr/local/lib/python3.10/site-packages/lightrag/lightrag.py", line 8, in
from .llm import (
File "/usr/local/lib/python3.10/site-packages/lightrag/llm.py", line 27, in
from transformers import AutoTokenizer, AutoModelForCausalLM
File "/usr/local/lib/python3.10/site-packages/transformers/init.py", line 26, in
from . import dependency_versions_check
File "/usr/local/lib/python3.10/site-packages/transformers/dependency_versions_check.py", line 16, in
from .utils.versions import require_version, require_version_core
File "/usr/local/lib/python3.10/site-packages/transformers/utils/init.py", line 27, in
from .chat_template_utils import DocstringParsingException, TypeHintParsingException, get_json_schema
File "/usr/local/lib/python3.10/site-packages/transformers/utils/chat_template_utils.py", line 25, in
from .import_utils import is_jinja_available, is_torch_available, is_vision_available
File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 160, in
_pygments_available = _is_package_available("pygments")
File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 49, in _is_package_available
package_version = importlib.metadata.version(pkg_name)
File "/usr/local/lib/python3.10/importlib/metadata/init.py", line 996, in version
return distribution(distribution_name).version
File "/usr/local/lib/python3.10/site-packages/importlib_metadata/init.py", line 508, in version
return self.metadata['Version']
File "/usr/local/lib/python3.10/site-packages/importlib_metadata/_adapters.py", line 54, in getitem
raise KeyError(item)
KeyError: 'Version'
Reproduction steps
Screenshots
![DESCRIPTION](LINK.png)
Logs
No response
Browsers
No response
OS
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: