Spaces:
Paused
Paused
Update ingest.py
Browse files
ingest.py
CHANGED
@@ -9,9 +9,6 @@ from langchain.embeddings import HuggingFaceInstructEmbeddings
|
|
9 |
from langchain.text_splitter import Language, RecursiveCharacterTextSplitter
|
10 |
from langchain.vectorstores import Chroma
|
11 |
|
12 |
-
torch.cuda.empty_cache()
|
13 |
-
torch.cuda.memory_summary(device=None, abbreviated=False)
|
14 |
-
|
15 |
from constants import (
|
16 |
CHROMA_SETTINGS,
|
17 |
DOCUMENT_MAP,
|
|
|
9 |
from langchain.text_splitter import Language, RecursiveCharacterTextSplitter
|
10 |
from langchain.vectorstores import Chroma
|
11 |
|
|
|
|
|
|
|
12 |
from constants import (
|
13 |
CHROMA_SETTINGS,
|
14 |
DOCUMENT_MAP,
|