mirror of
https://github.com/ajouatom/openpilot.git
synced 2026-02-18 13:03:55 +08:00
* UV+DTR model * DTR model.. again. * fix naviGPS * fix radar... * fix.. * test * fix.. * carrot serv * fix.. * fix.. fleet * fix.. radar * fix atc * Steam Powered model.. * fix.. radarLatFactor range.. 200->500 * fix.. dbc.. * side * SP v2 * brake light * fix brakelight * fix.. * add datetime... * fix.. * fix.. * fix.. * fix.. * blind spot * fix tz * fix.. * ff * radarLatFactor * fix.. bsd * Revert "fix.. bsd" This reverts commit1d0d143447. * fix.. bsd side.. * test * fix.. e2e conditions * Revert "test" This reverts commit0ce791dbd6. * TR16 * fix cut-in detect threshold 3.4 -> 2.6 * fix.. jerk_l limit 5->10 * fix.. * fix.. gm * fix.. OPTIMA_H mass * fix.. radar.. * fix radar.. * fix.. * Radar... * fix.. * fix.. * fix.. * fix.. radartrack 3 * fix.. * fix.. * fix.. * merge.. * fix.. canfd * fix.. * fix.. * fix.. * fix.. radard * new cut_in * Revert "new cut_in" This reverts commitb9b6e9b333. * fix.. * new cut_in detect... * fix.. disp.. * fix.. * fix.. * fix.. center radar.. * fix.. radar y_sane.. * fix.. * fix.. * hkg jerk 10 -> 5 * fix.. * fix.. * fix.. radar dbc.. * fix.. * fix.. jLead filter.. * test new radar interface.. * fix.. * fix.. * test time... * Revert "test time..." This reverts commit63e9187736. * fix radar.. * fix.. * FireHose model.. * tinygrad * Update interface.py * fix.. * fix.. nff toyota corolla_tss2 * fix.. * fix.. * fix.. radar * fix.. * fix.. radar, y_gate * fix.. radar.. * fix.. for clone.. * scc radar enable at low speed.. * fix.. settings.. * fix. * fix.. * fix.. radarTimeStep. * TR16 model again.. * RELEASE.md * fix cut-in detection... * fix.. registeration timeout 15sec.. * fix.. * fix.. radar processing. * fix.. * fix.. * fix.. * fix.. * fix.. * fix..
110 lines
2.9 KiB
Python
110 lines
2.9 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==2.7.1",
|
|
"pytest",
|
|
"pytest-xdist",
|
|
"hypothesis",
|
|
"z3-solver",
|
|
"ml_dtypes"
|
|
]
|
|
|
|
setup(name='tinygrad',
|
|
version='0.11.0',
|
|
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.apps',
|
|
'tinygrad.codegen',
|
|
'tinygrad.codegen.opt',
|
|
'tinygrad.codegen.late',
|
|
'tinygrad.engine',
|
|
'tinygrad.frontend',
|
|
'tinygrad.nn',
|
|
'tinygrad.renderer',
|
|
'tinygrad.runtime',
|
|
'tinygrad.runtime.autogen',
|
|
'tinygrad.runtime.autogen.am',
|
|
'tinygrad.runtime.autogen.nv',
|
|
'tinygrad.runtime.graph',
|
|
'tinygrad.runtime.support',
|
|
'tinygrad.runtime.support.am',
|
|
'tinygrad.runtime.support.nv',
|
|
'tinygrad.schedule',
|
|
'tinygrad.shape',
|
|
'tinygrad.uop',
|
|
'tinygrad.viz',
|
|
],
|
|
package_data = {'tinygrad': ['py.typed'], 'tinygrad.viz': ['index.html', 'assets/**/*', 'js/*']},
|
|
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.18.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",
|
|
],
|
|
},
|
|
include_package_data=True)
|