Skip to content

Commit e601cd8

Browse files
Document DEV_MODE for local development
1 parent 1e60263 commit e601cd8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@ The FastAPI server provides endpoints to interact with Sugar-AI.
3939
```sh
4040
pip install -r requirements.txt
4141
```
42+
## Local Development (DEV_MODE)
43+
44+
By default, Sugar-AI loads large language models intended for production use.
45+
These models may require significant memory and can cause startup failures
46+
on low-memory contributor machines.
47+
48+
To improve the local development experience, Sugar-AI provides a development
49+
mode that uses a lightweight, CPU-friendly model.
50+
51+
### Enable DEV_MODE
52+
53+
```bash
54+
DEV_MODE=1 python main.py
55+
4256
4357
### Run the server
4458

0 commit comments

Comments
 (0)