mirror of
https://jihulab.com/mr-one/openpilot.git
synced 2026-10-27 13:03:42 +08:00
f1db2eb5aa
Downloaded/tinygrad-runner models are compiled with tinygrad e837e367a (the pinned tinygrad_ref in the model catalogs). The old 66ee3cfb4 runtime crashes rendering their uops (uop/render.py TypeError), so the device must ship this tinygrad for the new modeld_v2 pipeline.
11 lines
267 B
Python
11 lines
267 B
Python
import os, pytest, signal, threading
|
|
|
|
@pytest.hookimpl(wrapper=True)
|
|
def pytest_runtest_call(item):
|
|
t = threading.Timer(int(os.getenv("TEST_TIMEOUT", 90)), os.kill, args=(os.getpid(), signal.SIGABRT))
|
|
t.start()
|
|
try: yield
|
|
finally:
|
|
t.cancel()
|
|
t.join()
|