pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-tinygrad: Add v0.9.0
Module Name: pkgsrc-wip
Committed By: Malte Dehling <mdehling%gmail.com@localhost>
Pushed By: mdehling
Date: Fri May 31 14:32:28 2024 -0700
Changeset: 7c88800afe12853da7b1525e20893c05c352a5f5
Modified Files:
Makefile
Added Files:
py-tinygrad/DESCR
py-tinygrad/Makefile
py-tinygrad/PLIST
py-tinygrad/distinfo
Log Message:
py-tinygrad: Add v0.9.0
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7c88800afe12853da7b1525e20893c05c352a5f5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
py-tinygrad/DESCR | 1 +
py-tinygrad/Makefile | 36 +++++++++++
py-tinygrad/PLIST | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++
py-tinygrad/distinfo | 5 ++
5 files changed, 214 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 3794f2221b..16d90a02be 100644
--- a/Makefile
+++ b/Makefile
@@ -4691,6 +4691,7 @@ SUBDIR+= py-tils
SUBDIR+= py-timeago
SUBDIR+= py-timeline
SUBDIR+= py-tinyarray
+SUBDIR+= py-tinygrad
SUBDIR+= py-tklsystem
SUBDIR+= py-tldr
SUBDIR+= py-tmatrix
diff --git a/py-tinygrad/DESCR b/py-tinygrad/DESCR
new file mode 100644
index 0000000000..66b2b6ed1b
--- /dev/null
+++ b/py-tinygrad/DESCR
@@ -0,0 +1 @@
+Something between PyTorch and karpathy/micrograd.
diff --git a/py-tinygrad/Makefile b/py-tinygrad/Makefile
new file mode 100644
index 0000000000..1e59b1da55
--- /dev/null
+++ b/py-tinygrad/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD$
+
+DISTNAME= tinygrad-0.9.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= math python
+MASTER_SITES= ${MASTER_SITE_GITHUB:=tinygrad/}
+GITHUB_PROJECT= ${DISTNAME:C/-[^-]*$//}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= mdehling%gmail.com@localhost
+HOMEPAGE= https://github.com/tinygrad/tinygrad
+COMMENT= Something between PyTorch and karpathy/micrograd
+LICENSE= mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
+DEPENDS+= ${PYPKGPREFIX}-tqdm-[0-9]*:../../misc/py-tqdm
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
+#TEST_DEPENDS+= ${PYPKGPREFIX}-librosa-[0-9]*:../../wip/py-librosa
+#TEST_DEPENDS+= ${PYPKGPREFIX}-onnx-[0-9]*:../../wip/py-onnx
+#TEST_DEPENDS+= ${PYPKGPREFIX}-tiktoken-[0-9]*:../../wip/py-tiktoken
+#TEST_DEPENDS+= ${PYPKGPREFIX}-torch-[0-9]*:../../wip/py-torch
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+do-test:
+ #cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest test/
+ # XXX: ${TEST_ENV} defines ${PYTHON} which confuses Device.DEFAULT
+ cd ${WRKSRC} && ${PYTHONBIN} -m pytest test/
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-tinygrad/PLIST b/py-tinygrad/PLIST
new file mode 100644
index 0000000000..9733142f49
--- /dev/null
+++ b/py-tinygrad/PLIST
@@ -0,0 +1,171 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/tinygrad/__init__.py
+${PYSITELIB}/tinygrad/__init__.pyc
+${PYSITELIB}/tinygrad/__init__.pyo
+${PYSITELIB}/tinygrad/codegen/kernel.py
+${PYSITELIB}/tinygrad/codegen/kernel.pyc
+${PYSITELIB}/tinygrad/codegen/kernel.pyo
+${PYSITELIB}/tinygrad/codegen/linearizer.py
+${PYSITELIB}/tinygrad/codegen/linearizer.pyc
+${PYSITELIB}/tinygrad/codegen/linearizer.pyo
+${PYSITELIB}/tinygrad/codegen/uops.py
+${PYSITELIB}/tinygrad/codegen/uops.pyc
+${PYSITELIB}/tinygrad/codegen/uops.pyo
+${PYSITELIB}/tinygrad/device.py
+${PYSITELIB}/tinygrad/device.pyc
+${PYSITELIB}/tinygrad/device.pyo
+${PYSITELIB}/tinygrad/dtype.py
+${PYSITELIB}/tinygrad/dtype.pyc
+${PYSITELIB}/tinygrad/dtype.pyo
+${PYSITELIB}/tinygrad/engine/__init__.py
+${PYSITELIB}/tinygrad/engine/__init__.pyc
+${PYSITELIB}/tinygrad/engine/__init__.pyo
+${PYSITELIB}/tinygrad/engine/graph.py
+${PYSITELIB}/tinygrad/engine/graph.pyc
+${PYSITELIB}/tinygrad/engine/graph.pyo
+${PYSITELIB}/tinygrad/engine/jit.py
+${PYSITELIB}/tinygrad/engine/jit.pyc
+${PYSITELIB}/tinygrad/engine/jit.pyo
+${PYSITELIB}/tinygrad/engine/realize.py
+${PYSITELIB}/tinygrad/engine/realize.pyc
+${PYSITELIB}/tinygrad/engine/realize.pyo
+${PYSITELIB}/tinygrad/engine/schedule.py
+${PYSITELIB}/tinygrad/engine/schedule.pyc
+${PYSITELIB}/tinygrad/engine/schedule.pyo
+${PYSITELIB}/tinygrad/engine/search.py
+${PYSITELIB}/tinygrad/engine/search.pyc
+${PYSITELIB}/tinygrad/engine/search.pyo
+${PYSITELIB}/tinygrad/function.py
+${PYSITELIB}/tinygrad/function.pyc
+${PYSITELIB}/tinygrad/function.pyo
+${PYSITELIB}/tinygrad/helpers.py
+${PYSITELIB}/tinygrad/helpers.pyc
+${PYSITELIB}/tinygrad/helpers.pyo
+${PYSITELIB}/tinygrad/lazy.py
+${PYSITELIB}/tinygrad/lazy.pyc
+${PYSITELIB}/tinygrad/lazy.pyo
+${PYSITELIB}/tinygrad/multi.py
+${PYSITELIB}/tinygrad/multi.pyc
+${PYSITELIB}/tinygrad/multi.pyo
+${PYSITELIB}/tinygrad/nn/__init__.py
+${PYSITELIB}/tinygrad/nn/__init__.pyc
+${PYSITELIB}/tinygrad/nn/__init__.pyo
+${PYSITELIB}/tinygrad/nn/datasets.py
+${PYSITELIB}/tinygrad/nn/datasets.pyc
+${PYSITELIB}/tinygrad/nn/datasets.pyo
+${PYSITELIB}/tinygrad/nn/optim.py
+${PYSITELIB}/tinygrad/nn/optim.pyc
+${PYSITELIB}/tinygrad/nn/optim.pyo
+${PYSITELIB}/tinygrad/nn/state.py
+${PYSITELIB}/tinygrad/nn/state.pyc
+${PYSITELIB}/tinygrad/nn/state.pyo
+${PYSITELIB}/tinygrad/ops.py
+${PYSITELIB}/tinygrad/ops.pyc
+${PYSITELIB}/tinygrad/ops.pyo
+${PYSITELIB}/tinygrad/renderer/__init__.py
+${PYSITELIB}/tinygrad/renderer/__init__.pyc
+${PYSITELIB}/tinygrad/renderer/__init__.pyo
+${PYSITELIB}/tinygrad/renderer/assembly.py
+${PYSITELIB}/tinygrad/renderer/assembly.pyc
+${PYSITELIB}/tinygrad/renderer/assembly.pyo
+${PYSITELIB}/tinygrad/renderer/cstyle.py
+${PYSITELIB}/tinygrad/renderer/cstyle.pyc
+${PYSITELIB}/tinygrad/renderer/cstyle.pyo
+${PYSITELIB}/tinygrad/renderer/llvmir.py
+${PYSITELIB}/tinygrad/renderer/llvmir.pyc
+${PYSITELIB}/tinygrad/renderer/llvmir.pyo
+${PYSITELIB}/tinygrad/runtime/autogen/amd_gpu.py
+${PYSITELIB}/tinygrad/runtime/autogen/amd_gpu.pyc
+${PYSITELIB}/tinygrad/runtime/autogen/amd_gpu.pyo
+${PYSITELIB}/tinygrad/runtime/autogen/comgr.py
+${PYSITELIB}/tinygrad/runtime/autogen/comgr.pyc
+${PYSITELIB}/tinygrad/runtime/autogen/comgr.pyo
+${PYSITELIB}/tinygrad/runtime/autogen/cuda.py
+${PYSITELIB}/tinygrad/runtime/autogen/cuda.pyc
+${PYSITELIB}/tinygrad/runtime/autogen/cuda.pyo
+${PYSITELIB}/tinygrad/runtime/autogen/hip.py
+${PYSITELIB}/tinygrad/runtime/autogen/hip.pyc
+${PYSITELIB}/tinygrad/runtime/autogen/hip.pyo
+${PYSITELIB}/tinygrad/runtime/autogen/hsa.py
+${PYSITELIB}/tinygrad/runtime/autogen/hsa.pyc
+${PYSITELIB}/tinygrad/runtime/autogen/hsa.pyo
+${PYSITELIB}/tinygrad/runtime/autogen/kfd.py
+${PYSITELIB}/tinygrad/runtime/autogen/kfd.pyc
+${PYSITELIB}/tinygrad/runtime/autogen/kfd.pyo
+${PYSITELIB}/tinygrad/runtime/autogen/nv_gpu.py
+${PYSITELIB}/tinygrad/runtime/autogen/nv_gpu.pyc
+${PYSITELIB}/tinygrad/runtime/autogen/nv_gpu.pyo
+${PYSITELIB}/tinygrad/runtime/autogen/opencl.py
+${PYSITELIB}/tinygrad/runtime/autogen/opencl.pyc
+${PYSITELIB}/tinygrad/runtime/autogen/opencl.pyo
+${PYSITELIB}/tinygrad/runtime/driver/hip_comgr.py
+${PYSITELIB}/tinygrad/runtime/driver/hip_comgr.pyc
+${PYSITELIB}/tinygrad/runtime/driver/hip_comgr.pyo
+${PYSITELIB}/tinygrad/runtime/driver/hsa.py
+${PYSITELIB}/tinygrad/runtime/driver/hsa.pyc
+${PYSITELIB}/tinygrad/runtime/driver/hsa.pyo
+${PYSITELIB}/tinygrad/runtime/graph/clang.py
+${PYSITELIB}/tinygrad/runtime/graph/clang.pyc
+${PYSITELIB}/tinygrad/runtime/graph/clang.pyo
+${PYSITELIB}/tinygrad/runtime/graph/cuda.py
+${PYSITELIB}/tinygrad/runtime/graph/cuda.pyc
+${PYSITELIB}/tinygrad/runtime/graph/cuda.pyo
+${PYSITELIB}/tinygrad/runtime/graph/hcq.py
+${PYSITELIB}/tinygrad/runtime/graph/hcq.pyc
+${PYSITELIB}/tinygrad/runtime/graph/hcq.pyo
+${PYSITELIB}/tinygrad/runtime/graph/hsa.py
+${PYSITELIB}/tinygrad/runtime/graph/hsa.pyc
+${PYSITELIB}/tinygrad/runtime/graph/hsa.pyo
+${PYSITELIB}/tinygrad/runtime/graph/metal.py
+${PYSITELIB}/tinygrad/runtime/graph/metal.pyc
+${PYSITELIB}/tinygrad/runtime/graph/metal.pyo
+${PYSITELIB}/tinygrad/runtime/ops_amd.py
+${PYSITELIB}/tinygrad/runtime/ops_amd.pyc
+${PYSITELIB}/tinygrad/runtime/ops_amd.pyo
+${PYSITELIB}/tinygrad/runtime/ops_clang.py
+${PYSITELIB}/tinygrad/runtime/ops_clang.pyc
+${PYSITELIB}/tinygrad/runtime/ops_clang.pyo
+${PYSITELIB}/tinygrad/runtime/ops_cuda.py
+${PYSITELIB}/tinygrad/runtime/ops_cuda.pyc
+${PYSITELIB}/tinygrad/runtime/ops_cuda.pyo
+${PYSITELIB}/tinygrad/runtime/ops_disk.py
+${PYSITELIB}/tinygrad/runtime/ops_disk.pyc
+${PYSITELIB}/tinygrad/runtime/ops_disk.pyo
+${PYSITELIB}/tinygrad/runtime/ops_gpu.py
+${PYSITELIB}/tinygrad/runtime/ops_gpu.pyc
+${PYSITELIB}/tinygrad/runtime/ops_gpu.pyo
+${PYSITELIB}/tinygrad/runtime/ops_hsa.py
+${PYSITELIB}/tinygrad/runtime/ops_hsa.pyc
+${PYSITELIB}/tinygrad/runtime/ops_hsa.pyo
+${PYSITELIB}/tinygrad/runtime/ops_llvm.py
+${PYSITELIB}/tinygrad/runtime/ops_llvm.pyc
+${PYSITELIB}/tinygrad/runtime/ops_llvm.pyo
+${PYSITELIB}/tinygrad/runtime/ops_metal.py
+${PYSITELIB}/tinygrad/runtime/ops_metal.pyc
+${PYSITELIB}/tinygrad/runtime/ops_metal.pyo
+${PYSITELIB}/tinygrad/runtime/ops_npy.py
+${PYSITELIB}/tinygrad/runtime/ops_npy.pyc
+${PYSITELIB}/tinygrad/runtime/ops_npy.pyo
+${PYSITELIB}/tinygrad/runtime/ops_nv.py
+${PYSITELIB}/tinygrad/runtime/ops_nv.pyc
+${PYSITELIB}/tinygrad/runtime/ops_nv.pyo
+${PYSITELIB}/tinygrad/runtime/ops_python.py
+${PYSITELIB}/tinygrad/runtime/ops_python.pyc
+${PYSITELIB}/tinygrad/runtime/ops_python.pyo
+${PYSITELIB}/tinygrad/shape/shapetracker.py
+${PYSITELIB}/tinygrad/shape/shapetracker.pyc
+${PYSITELIB}/tinygrad/shape/shapetracker.pyo
+${PYSITELIB}/tinygrad/shape/symbolic.py
+${PYSITELIB}/tinygrad/shape/symbolic.pyc
+${PYSITELIB}/tinygrad/shape/symbolic.pyo
+${PYSITELIB}/tinygrad/shape/view.py
+${PYSITELIB}/tinygrad/shape/view.pyc
+${PYSITELIB}/tinygrad/shape/view.pyo
+${PYSITELIB}/tinygrad/tensor.py
+${PYSITELIB}/tinygrad/tensor.pyc
+${PYSITELIB}/tinygrad/tensor.pyo
diff --git a/py-tinygrad/distinfo b/py-tinygrad/distinfo
new file mode 100644
index 0000000000..dfdf7cfff5
--- /dev/null
+++ b/py-tinygrad/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (tinygrad-0.9.0.tar.gz) = f5767854dcf0c72106e24849f9b0cb0ebbb2b66f2bfba2f6fb2926e672f447f3
+SHA512 (tinygrad-0.9.0.tar.gz) = c9def73f7a56f8744de29f8170f5ece9ce59628d9814bb643817f92f48ee9eb39e8bc5f7143df2b41bd793badff472a7aa0e1a554f38dad4011bca9e13791e52
+Size (tinygrad-0.9.0.tar.gz) = 5227191 bytes
Home |
Main Index |
Thread Index |
Old Index