python3Packages.tyro: 0.9.27 -> 0.9.28 (#437064)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
flax,
|
||||
jax,
|
||||
ml-collections,
|
||||
msgspec,
|
||||
omegaconf,
|
||||
pydantic,
|
||||
pytestCheckHook,
|
||||
@@ -26,14 +27,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tyro";
|
||||
version = "0.9.27";
|
||||
version = "0.9.28";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "brentyi";
|
||||
repo = "tyro";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-2duLVdBwNpGWCV+WgtzyXjoVhukVjUUhIWXVBEk4QIA=";
|
||||
hash = "sha256-dxciOLNxOjTTIm7P1XTRMgW1a6Sdbnfnqc0EEfyq7IM=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
@@ -51,6 +52,7 @@ buildPythonPackage rec {
|
||||
flax
|
||||
jax
|
||||
ml-collections
|
||||
msgspec
|
||||
omegaconf
|
||||
pydantic
|
||||
pytestCheckHook
|
||||
|
||||
@@ -27,20 +27,21 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "unsloth-zoo";
|
||||
version = "2025.8.1";
|
||||
version = "2025.8.8";
|
||||
pyproject = true;
|
||||
|
||||
# no tags on GitHub
|
||||
src = fetchPypi {
|
||||
pname = "unsloth_zoo";
|
||||
inherit version;
|
||||
hash = "sha256-AkAfd+dJb8A9cUYK/VH30Q5xN2BW/x4zyndnIyN9y14=";
|
||||
hash = "sha256-Njezsl9+oxAyiRF87AXQJbLjNz/lco0j8JG8RnTiZAE=";
|
||||
};
|
||||
|
||||
# pyproject.toml requires an obsolete version of protobuf,
|
||||
# but it is not used.
|
||||
# Upstream issue: https://github.com/unslothai/unsloth-zoo/pull/68
|
||||
pythonRelaxDeps = [
|
||||
"datasets"
|
||||
"protobuf"
|
||||
"transformers"
|
||||
"torch"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
diff --git a/unsloth_zoo/__init__.py b/unsloth_zoo/__init__.py
|
||||
index a629854..06014b1 100644
|
||||
index 2332907..2eed5e9 100644
|
||||
--- a/unsloth_zoo/__init__.py
|
||||
+++ b/unsloth_zoo/__init__.py
|
||||
@@ -17,8 +17,6 @@
|
||||
__version__ = "2025.5.11"
|
||||
@@ -64,8 +64,6 @@ pass
|
||||
|
||||
|
||||
from importlib.util import find_spec
|
||||
-if find_spec("unsloth") is None:
|
||||
@@ -11,7 +11,7 @@ index a629854..06014b1 100644
|
||||
pass
|
||||
del find_spec
|
||||
|
||||
@@ -28,13 +26,14 @@ def get_device_type():
|
||||
@@ -75,12 +73,13 @@ def get_device_type():
|
||||
return "cuda"
|
||||
elif hasattr(torch, "xpu") and torch.xpu.is_available():
|
||||
return "xpu"
|
||||
@@ -22,7 +22,6 @@ index a629854..06014b1 100644
|
||||
pass
|
||||
DEVICE_TYPE : str = get_device_type()
|
||||
|
||||
import os
|
||||
-if not ("UNSLOTH_IS_PRESENT" in os.environ):
|
||||
- raise ImportError("Please install Unsloth via `pip install unsloth`!")
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user