Bittensor-Benchmark-Results / gunicorn_config.py
Defalt-404's picture
Add application file
ee5d33c
raw
history blame
220 Bytes
import multiprocessing
# Gunicorn config variables
bind = "0.0.0.0:7860" # Replace with your desired host and port
workers = multiprocessing.cpu_count() * 2 + 1
threads = 2 * multiprocessing.cpu_count()
timeout = 3600