openllm: move to top-level

This commit is contained in:
natsukium 2024-08-24 11:31:34 +09:00
parent 569142683b
commit 77707d800f
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53
3 changed files with 20 additions and 22 deletions

View File

@ -1,30 +1,29 @@
{ {
lib, lib,
buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
hatch-vcs, python3,
hatchling,
pythonOlder,
accelerate,
bentoml,
dulwich,
nvidia-ml-py,
openai,
psutil,
pyaml,
questionary,
tabulate,
typer,
uv,
}: }:
let
python = python3.override {
self = python;
packageOverrides = _: super: {
cattrs = super.cattrs.overridePythonAttrs (oldAttrs: rec {
version = "23.1.2";
build-system = [ super.poetry-core ];
src = oldAttrs.src.override {
rev = "refs/tags/v${version}";
hash = "sha256-YO4Clbo5fmXbysxwwM2qCHJwO5KwDC05VctRVFruJcw=";
};
});
};
};
in
buildPythonPackage rec { python.pkgs.buildPythonApplication rec {
pname = "openllm"; pname = "openllm";
version = "0.6.10"; version = "0.6.10";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bentoml"; owner = "bentoml";
repo = "openllm"; repo = "openllm";
@ -39,12 +38,12 @@ buildPythonPackage rec {
pythonRelaxDeps = [ "openai" ]; pythonRelaxDeps = [ "openai" ];
build-system = [ build-system = with python.pkgs; [
hatch-vcs hatch-vcs
hatchling hatchling
]; ];
dependencies = [ dependencies = with python.pkgs; [
accelerate accelerate
bentoml bentoml
dulwich dulwich

View File

@ -354,6 +354,7 @@ mapAliases ({
openai-triton-no-cuda = triton-no-cuda; # added 2024-07-18 openai-triton-no-cuda = triton-no-cuda; # added 2024-07-18
openapi-schema-pydantic = throw "openapi-schema-pydantic has been removed, since it is no longer maintained"; # added 2023-10-30 openapi-schema-pydantic = throw "openapi-schema-pydantic has been removed, since it is no longer maintained"; # added 2023-10-30
opencv3 = throw "opencv3 has been removed as it is obsolete"; # added 2023-10-12 opencv3 = throw "opencv3 has been removed as it is obsolete"; # added 2023-10-12
openllm = throw "openllm has moved to pkgs.openllm"; # added 2021-12-31
openllm-client = throw "openllm-client has been removed, since it is abandoned due to a change in philosophy"; # added 2024-08-24 openllm-client = throw "openllm-client has been removed, since it is abandoned due to a change in philosophy"; # added 2024-08-24
openllm-core = throw "openllm-core has been removed, since it is abandoned due to a change in philosophy"; # added 2024-08-24 openllm-core = throw "openllm-core has been removed, since it is abandoned due to a change in philosophy"; # added 2024-08-24
opsdroid_get_image_size = opsdroid-get-image-size; # added 2023-10-16 opsdroid_get_image_size = opsdroid-get-image-size; # added 2023-10-16

View File

@ -4651,8 +4651,6 @@ self: super: with self; {
oelint-parser = callPackage ../development/python-modules/oelint-parser { }; oelint-parser = callPackage ../development/python-modules/oelint-parser { };
openllm = callPackage ../development/python-modules/openllm { };
openstep-parser = callPackage ../development/python-modules/openstep-parser { }; openstep-parser = callPackage ../development/python-modules/openstep-parser { };
openstep-plist = callPackage ../development/python-modules/openstep-plist { }; openstep-plist = callPackage ../development/python-modules/openstep-plist { };