Lemonade release v6.0.0: new OpenAI server, improvements, fixes#291
Merged
jeremyfowers merged 4 commits intomainfrom Feb 27, 2025
Merged
Lemonade release v6.0.0: new OpenAI server, improvements, fixes#291jeremyfowers merged 4 commits intomainfrom
jeremyfowers merged 4 commits intomainfrom
Conversation
danielholanda
approved these changes
Feb 27, 2025
ramkrishna2910
approved these changes
Feb 27, 2025
jeremyfowers
added a commit
that referenced
this pull request
Feb 27, 2025
Co-authored-by: amd-pworfolk <166068376+amd-pworfolk@users.noreply.github.com> Co-authored-by: Daniel Holanda <holand.daniel@gmail.com> Co-authored-by: Ramakrishnan Sivakumar <ramkrishna2910@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking Changes
New OpenAI-Compatible Server
The previous
serveToolhas been replaced by a new standalone serving command. This new server has OpenAI API compatibility and will add Ollama compatibility in the near future.lemoande -i CHECKPOINT oga-load --args servelemonade serve, then use REST APIs to control model loading, completions, etc. See https://github.com/onnx/turnkeyml/blob/main/docs/lemonade/server_spec.md to learn more.The server can also be installed and used with no-code by running
Lemonade_Server_Installer.exe, which is provided as a release asset in this and all future releases.The server code was also moved out of tools/chat.py into its own file in tools/serve.py. We also renamed chat.py to prompt.py for clarity, since that file now only contains the prompting tool.
The LEAP name has been deprecated
In the interest of reducing naming confusion, the "LEAP API" is now simply the "high-level lemonade API".
from lemonade.leap import from_pretrainedfrom lemonade.api import from_pretrainedSummary of Contributions
--prompts 128 256 512(@amd-pworfolk)avg_accuracystats has been renamed toaverage_mmlu_accuracyfor clarity with respect to non-MMLU accuracy tests (@jeremyfowers), (attn @apsonawane)Lemonade_Server_Installer.exe(@jeremyfowers)servetool (@danielholanda)chatmodule toprompt(@jeremyfowers)