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
Default values for v1.0.7 are inconsistent so was getting errors.
Fix was to change lightrag.py line 145 "dimensions" to 768 from the default 1536 to run the lightrag_ollama_demo..py on windows 11 machine with nividia rtx gpu.
Suggest making dimensions parameter for default_factory line 145 in lightrag.py a global constant that can be used by the demo files . Was getting errors that went away once I made this change and made default dimensions in the example and the lightrag.py consistent
The text was updated successfully, but these errors were encountered:
They aren't linked, as you can see with this other example: mixedbread-ai/mxbai-embed-large-v1 has:
A context length of 512 (max_position_embeddings here) but a dimension of 1024 too.
Default values for v1.0.7 are inconsistent so was getting errors.
Fix was to change lightrag.py line 145 "dimensions" to 768 from the default 1536 to run the lightrag_ollama_demo..py on windows 11 machine with nividia rtx gpu.
Suggest making dimensions parameter for default_factory line 145 in lightrag.py a global constant that can be used by the demo files . Was getting errors that went away once I made this change and made default dimensions in the example and the lightrag.py consistent
The text was updated successfully, but these errors were encountered: