.env 970 B

1234567891011121314151617181920212223
  1. #HF_TOKEN=<secret>
  2. #HF_CACHE=~/.cache/huggingface
  3. #UID=1000
  4. #GID=0
  5. #TZ=UTC
  6. #PORT=7860
  7. #API_KEY=sk-example
  8. #SSL_KEYFILE=~/ssl/server.key
  9. #SSL_CERTFILE=~/ssl/server.crt
  10. #MODEL_NAME=mistralai/Mistral-7B-Instruct-v0.2
  11. #REVISION=main
  12. #DATATYPE=half # FP16. Recommended for quantization.
  13. #KVCACHE=fp8_e5m2 # It reduces the GPU memory footprint and boosts the performance. But it may cause slight accuracy drop.
  14. #CONTEXT_LENGTH=32768 # If unspecified, will be automatically derived from the model.
  15. #NUM_GPUS=1
  16. #GPU_MEMORY_UTILIZATION=0.8 # If you are running out of memory, consider decreasing 'gpu_memory_utilization' or enforcing eager mode.
  17. #QUANTIZATION=awq
  18. #ENFORCE_EAGER=true # If you are running out of memory, consider decreasing 'gpu_memory_utilization' or enforcing eager mode.
  19. #KOBOLD_API=true # use this to launch a kobold compatible server in addition to the OpenAI one
  20. #CMD_ADDITIONAL_ARGUMENTS="--seed 0"
  21. #HF_HUB_ENABLE_HF_TRANSFER=1 # for faster downloads