Skip to content

Feature Request: Can the Llamafile server be ready prior to model warming? #485

@metaskills

Description

@metaskills

Prerequisites

  • I am running the latest code. Mention the version if possible as well.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new and useful enhancement to share.

Feature Description

I need a cold start or readiness check to be as fast as possible. Hope there is a way to disable the warmup warming up the model with an empty run when starting the server.

Motivation

I am using llamafile with AWS Lambda behind the Lambda Web Adapter. The lazier I can be on init the better I can get a working instance running without hitting various 10s timeout issue.

Possible Implementation

Not sure, thinking a --warmup=false server option would be helpful?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions