-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
choer: refactor project structure to handle multiple pyprojects in mo…
…norepo (#361) * break out pyproject into each package * minor fixes: package build dests, docs, remove unused deploy values * minor config and docs changes * move sdk out of leapfrogai_api * fully separate api and sdk * replace components packages reference to sdk * Makefile and README clarifications * update e2e workflow * add whisper dev dependencies * update make clean target to remove src and package builds * Update pyproject descriptions and documentation * remove sdk package versions from pyprojects * use pinned dev dependencies in whisper build * simplify docker wheel builds --------- Co-authored-by: Jon Perry <yrrepnoj@gmail.com>
- Loading branch information
Showing
70 changed files
with
1,402 additions
and
915 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[project] | ||
name = "lfai-llama-cpp-python" | ||
version = "0.6.1" | ||
description = "A LeapfrogAI API-compatible llama-cpp-python wrapper for quantized and un-quantized model inferencing on CPU infrastructures." | ||
|
||
dependencies = [ | ||
"llama-cpp-python == 0.2.28", | ||
"leapfrogai-sdk", | ||
] | ||
requires-python = "~=3.11" | ||
readme = "README.md" | ||
|
||
[tool.pip-tools] | ||
generate-hashes = true | ||
|
||
[tool.setuptools] | ||
packages = ["leapfrogai_sdk"] | ||
package-dir = {"" = "../../src"} | ||
|
||
[tool.pytest.ini_options] | ||
addopts = ["--import-mode=importlib"] | ||
|
||
[tool.ruff] | ||
target-version = "py311" | ||
|
||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[project] | ||
name = "lfai-text-embeddings" | ||
version = "0.6.1" | ||
description = "A LeapfrogAI API-compatible embeddings library wrapper for text-based embedding generation." | ||
|
||
dependencies = [ | ||
"InstructorEmbedding >= 1.0.1", | ||
"torch == 2.1.2", | ||
"numpy == 1.26.3", | ||
"tqdm == 4.66.1", | ||
"sentence-transformers == 2.2.2", | ||
"transformers == 4.36.0", | ||
"leapfrogai-sdk", | ||
] | ||
requires-python = "~=3.11" | ||
readme = "README.md" | ||
|
||
[tool.pip-tools] | ||
generate-hashes = true | ||
|
||
[tool.setuptools] | ||
packages = ["leapfrogai_sdk"] | ||
package-dir = {"" = "../../src"} | ||
|
||
[tool.pytest.ini_options] | ||
addopts = ["--import-mode=importlib"] | ||
|
||
[tool.ruff] | ||
target-version = "py311" | ||
|
||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" |
This file contains 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
This file contains 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
Oops, something went wrong.