removed torch from requirement lightrag server

This commit is contained in:
Yannick Stephan
2025-02-18 20:05:51 +01:00
parent 2524e02428
commit ea41d08b9f
3 changed files with 9 additions and 44 deletions

View File

@@ -246,6 +246,9 @@ rag = LightRAG(
<summary> Using Hugging Face Models </summary>
* If you want to use Hugging Face models, you only need to set LightRAG as follows:
See lightrag_hf_demo.py
```python
from lightrag.llm import hf_model_complete, hf_embed
from transformers import AutoModel, AutoTokenizer