From 3a92df66ea6f7012ffe74668f0415d357dfd59e4 Mon Sep 17 00:00:00 2001 From: wozeparrot Date: Sun, 11 Jan 2026 21:19:49 -0800 Subject: [PATCH] feat: bump version to 0.12.0 (#14105) --- pyproject.toml | 2 +- tinygrad/helpers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3a7482d494..859cdc0671 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "tinygrad" -version = "0.11.0" +version = "0.12.0" description = "You like pytorch? You like micrograd? You love tinygrad! <3" authors = [{ name = "George Hotz" }] diff --git a/tinygrad/helpers.py b/tinygrad/helpers.py index a1b6c33237..aec2c3cf2a 100644 --- a/tinygrad/helpers.py +++ b/tinygrad/helpers.py @@ -389,7 +389,7 @@ def fetch(url:str, name:pathlib.Path|str|None=None, subdir:str|None=None, gunzip fp = _ensure_downloads_dir() / (subdir or "") / ((name or hashlib.md5(url.encode('utf-8')).hexdigest()) + hh + (".gunzip" if gunzip else "")) if not fp.is_file() or not allow_caching: (_dir := fp.parent).mkdir(parents=True, exist_ok=True) - with urllib.request.urlopen(urllib.request.Request(url, headers={"User-Agent": "tinygrad 0.11.0", **headers}), timeout=10) as r: + with urllib.request.urlopen(urllib.request.Request(url, headers={"User-Agent": "tinygrad 0.12.0", **headers}), timeout=10) as r: assert r.status in {200, 206}, r.status length = int(r.headers.get('content-length', 0)) if not gunzip else None readfile = gzip.GzipFile(fileobj=r) if gunzip else r