- Build and install FlexFlow, or build and run
source ./set_python_envs.shfrom the build folder - Edit the FlexFlow/inference/python/streamlit/fastapi_incr.py to configure the model to run and the system configs (num gpus, amount of memory, etc)
- In one terminal, launch the LLM engine with the commands below, and wait until the model's weights loading completes
cd FlexFlow/inference/python/streamlit
python fastapi_incr.py
- In another terminal, launch the streamlit app:
cd FlexFlow/inference/python/streamlit
streamlit run app.py
- Open the URL printed to the terminal, e.g.
http://localhost:8501and interact with the app via browser