-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(nix): Package python scripts independently of main derivation
- Loading branch information
Showing
14 changed files
with
300 additions
and
265 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
buildPythonPackage, | ||
poetry-core, | ||
breakpointHook, | ||
python3Packages, | ||
gguf-py | ||
}@inputs: | ||
|
||
buildPythonPackage { | ||
pname = "llama-scripts"; | ||
src = ../../.; | ||
version = "0.0.0"; | ||
pyproject = true; | ||
nativeBuildInputs = [ poetry-core ]; | ||
projectDir = ../../.; | ||
propagatedBuildInputs = with python3Packages; [ | ||
numpy | ||
sentencepiece | ||
transformers | ||
protobuf | ||
torchWithoutCuda | ||
gguf-py | ||
]; | ||
} |
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,9 +4,9 @@ version = "0.7.0" | |
description = "Read and write ML models in GGUF for GGML" | ||
authors = ["GGML <[email protected]>"] | ||
packages = [ | ||
{include = "gguf"}, | ||
{include = "gguf/py.typed"}, | ||
{include = "scripts"}, | ||
{ include = "gguf" }, | ||
{ include = "gguf/py.typed" }, | ||
{ include = "scripts" }, | ||
] | ||
readme = "README.md" | ||
homepage = "https://ggml.ai" | ||
|
Oops, something went wrong.