
* fix.. speed_limit error... * draw tpms settings. * fix.. traffic light stopping only.. * fix.. waze cam * fix.. waze... * add setting (Enable comma connect ) * auto detect LFA2 * fix.. cruisespeed1 * vff2 driving model. * fix.. * agnos 12.3 * fix.. * ff * ff * test * ff * fix.. drawTurnInfo.. * Update drive_helpers.py * fix.. support eng voice eng sounds fix settings... english fix.. mph.. fix.. roadlimit speed bug.. * new vff model.. 250608 * fix soundd.. * fix safe exit speed.. * fix.. sounds. * fix.. radar timeStep.. * KerryGold model * Update drive_helpers.py * fix.. model. * fix.. * fix.. * Revert "fix.." This reverts commit b09ec459afb855c533d47fd7e8a1a6b1a09466e7. * Revert "fix.." This reverts commit 290bec6b83a4554ca232d531a911edccf94a2156. * fix esim * add more acc table. 10kph * kg update.. * fix cruisebutton mode3 * test atc..cond. * fix.. canfd * fix.. angle control limit
94 lines
2.7 KiB
Python
94 lines
2.7 KiB
Python
#!/usr/bin/env python3
|
|
|
|
from pathlib import Path
|
|
from setuptools import setup
|
|
|
|
directory = Path(__file__).resolve().parent
|
|
with open(directory / 'README.md', encoding='utf-8') as f:
|
|
long_description = f.read()
|
|
|
|
testing_minimal = [
|
|
"numpy",
|
|
"torch",
|
|
"pytest",
|
|
"pytest-xdist",
|
|
"hypothesis",
|
|
"z3-solver",
|
|
"ml_dtypes"
|
|
]
|
|
|
|
setup(name='tinygrad',
|
|
version='0.10.3',
|
|
description='You like pytorch? You like micrograd? You love tinygrad! <3',
|
|
author='George Hotz',
|
|
license='MIT',
|
|
long_description=long_description,
|
|
long_description_content_type='text/markdown',
|
|
packages = ['tinygrad', 'tinygrad.runtime.autogen', 'tinygrad.runtime.autogen.am', 'tinygrad.codegen', 'tinygrad.nn',
|
|
'tinygrad.renderer', 'tinygrad.engine', 'tinygrad.viz', 'tinygrad.runtime', 'tinygrad.runtime.support',
|
|
'tinygrad.runtime.support.am', 'tinygrad.runtime.graph', 'tinygrad.shape', 'tinygrad.uop'],
|
|
package_data = {'tinygrad': ['py.typed'], 'tinygrad.viz': ['index.html', 'perfetto.html', 'assets/**/*', 'lib/**/*']},
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License"
|
|
],
|
|
install_requires=[],
|
|
python_requires='>=3.10',
|
|
extras_require={
|
|
'arm': ["unicorn"],
|
|
'triton': ["triton-nightly>=2.1.0.dev20231014192330"],
|
|
'linting': [
|
|
"pylint",
|
|
"mypy==1.13.0",
|
|
"typing-extensions",
|
|
"pre-commit",
|
|
"ruff",
|
|
"numpy",
|
|
],
|
|
#'mlperf': ["mlperf-logging @ git+https://github.com/mlperf/logging.git@5.0.0-rc3"],
|
|
'testing_minimal': testing_minimal,
|
|
'testing_unit': testing_minimal + [
|
|
"tqdm",
|
|
"safetensors",
|
|
"tabulate", # for sz.py
|
|
],
|
|
'testing': testing_minimal + [
|
|
"pillow",
|
|
"onnx==1.17.0",
|
|
"onnx2torch",
|
|
"onnxruntime",
|
|
"opencv-python",
|
|
"tabulate",
|
|
"tqdm",
|
|
"safetensors",
|
|
"transformers",
|
|
"sentencepiece",
|
|
"tiktoken",
|
|
"blobfile",
|
|
"librosa",
|
|
"networkx",
|
|
"nibabel",
|
|
"bottle",
|
|
"ggml-python",
|
|
"capstone",
|
|
"pycocotools",
|
|
"boto3",
|
|
"pandas",
|
|
"influxdb3-python"
|
|
],
|
|
'docs': [
|
|
"mkdocs",
|
|
"mkdocs-material",
|
|
"mkdocstrings[python]",
|
|
"markdown-callouts",
|
|
"markdown-exec[ansi]",
|
|
"black",
|
|
"numpy",
|
|
],
|
|
'testing_tf': [
|
|
"tensorflow==2.15.1",
|
|
"tensorflow_addons",
|
|
],
|
|
},
|
|
include_package_data=True)
|