python3Packages.hf-xet: 1.4.2 -> 1.4.3; python3Packages.huggingface-hub: 1.5.0 -> 1.8.0; python3Packages.transformers: 5.3.0 -> 5.5.0 (#504839)
This commit is contained in:
@@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "hf-xet";
|
||||
version = "1.4.2";
|
||||
version = "1.4.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huggingface";
|
||||
repo = "xet-core";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-UdHEpJztlVI8LPs8Ne9sKe1Nv3kVVk4YLxQ3W8sUPbQ=";
|
||||
hash = "sha256-zAliMR2d2j6ynHQmAljQ8XgDyjuPxNawI1bZks5aRgs=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/hf_xet";
|
||||
@@ -28,7 +28,7 @@ buildPythonPackage (finalAttrs: {
|
||||
src
|
||||
sourceRoot
|
||||
;
|
||||
hash = "sha256-GV+XY5uV57yQWVGdRLpGU3eD8Gz2gy6p7OHlF+mlJI4=";
|
||||
hash = "sha256-TOgBT0l7TvJamVdIAdAUFRWs8AMRRY+Ydoh6e+3dEp0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -25,6 +25,9 @@
|
||||
toml,
|
||||
fastai,
|
||||
fastcore,
|
||||
# gradio
|
||||
gradio,
|
||||
requests,
|
||||
# mcp
|
||||
mcp,
|
||||
|
||||
@@ -34,14 +37,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "huggingface-hub";
|
||||
version = "1.5.0";
|
||||
version = "1.9.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huggingface";
|
||||
repo = "huggingface_hub";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-XuqZvTu3DuncGpRWXipxtDLY2alY7QVm89ZmpgTdfVo=";
|
||||
hash = "sha256-7spvenDWuSDVTlcbOQd8oJ3bwzsyuQDIyMiVSyFIhuQ=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -72,6 +75,10 @@ buildPythonPackage (finalAttrs: {
|
||||
fastai
|
||||
fastcore
|
||||
];
|
||||
gradio = [
|
||||
gradio
|
||||
requests
|
||||
];
|
||||
hf_xet = [
|
||||
hf-xet
|
||||
];
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
gitpython,
|
||||
urllib3,
|
||||
libcst,
|
||||
tomli,
|
||||
# opentelemetry
|
||||
opentelemetry-api,
|
||||
opentelemetry-exporter-otlp,
|
||||
@@ -93,14 +94,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "transformers";
|
||||
version = "5.3.0";
|
||||
version = "5.5.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huggingface";
|
||||
repo = "transformers";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-5FzsPIG4dFTR2WgcZbdmVwwwY9Dkqu5aprl5uIIalD0=";
|
||||
hash = "sha256-2fOCORAsQDKxp6EPe1OHysPWb/q168z6sCYg89tRXdU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -191,6 +192,10 @@ buildPythonPackage (finalAttrs: {
|
||||
urllib3
|
||||
libcst
|
||||
rich
|
||||
tomli
|
||||
];
|
||||
docs = [
|
||||
# hf-docs-builder
|
||||
];
|
||||
benchmark = [
|
||||
# optimum-benchmark
|
||||
|
||||
Reference in New Issue
Block a user