Skip to content

Commit

Permalink
feat: added keep_warm config
Browse files Browse the repository at this point in the history
  • Loading branch information
limcheekin committed Jan 16, 2024
1 parent ffabc31 commit 7ad7d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phi-2/fastapi_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
)


@stub.function(image=image, cpu=4, memory=5632, timeout=600)
@stub.function(image=image, cpu=4, memory=5632, timeout=600, keep_warm=1)
@asgi_app()
def fastapi_app():
from llama_cpp.server.app import create_app, Settings
Expand Down

0 comments on commit 7ad7d54

Please sign in to comment.