File size: 694 Bytes
964d65a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
###########################
## Environment Variables ##
###########################


# ChromaDB Directory
PERSIST_DIRECTORY=./data/vectorstore

# ChromaDB Telemetry
ANONYMIZED_TELEMETRY=False 
ALLOW_RESET=TRUE

GRADIO_ANALYTICS_ENABLED=False


# Environment Variables
CUDA_VISIBLE_DEVICES = 0 # cpu only
NUMEXPR_MAX_THREADS=4 # set number of threads to use
ROCM_VERSION=5.6
#CUDA_HOME=""

# CACHE 
APP_CACHE = "./models/"
SENTENCE_TRANSFORMERS_HOME=${APP_CACHE}sentence-transformers/
HF_HOME=${APP_CACHE}huggingface
XDG_CACHE_HOME=${APP_CACHE}xdg
TRANSFORMERS_CACHE=${APP_CACHE}transformers
PYTORCH_TRANSFORMERS_CACHE=${APP_CACHE}pytorch
PYTORCH_PRETRAINED_BERT_CACHE=${APP_CACHE}pytorch-bert