mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-28 00:53:45 +08:00
modeld: 2x faster chestnut build (#38656)
* not worth 1m * saves 24s * save 13s * parallelize model compilation * explain compiler affinity * full cpufreq * rm that for now * cmt --------- Co-authored-by: elkoled <elkoled@gmail.com>
This commit is contained in:
@@ -35,8 +35,8 @@ mac_brew_string = f'HOME={os.path.expanduser("~")}' if arch == 'Darwin' else ''
|
||||
|
||||
warp_deps = [File("#openpilot/system/camerad/cameras/nv12_info.py")]
|
||||
compiler = Dir('#tinygrad_repo/examples/openpilot').abspath
|
||||
# CPU 7 is isolated with isolcpus on AGNOS, so explicitly pin the compiler to it.
|
||||
taskset = 'taskset -c 7 ' if arch == 'comma_arm64' else ''
|
||||
# build on all cores
|
||||
taskset = 'taskset -c 0-7 ' if arch == 'comma_arm64' else ''
|
||||
|
||||
def chestnut_action(command):
|
||||
def do_compile(target, source, env):
|
||||
|
||||
Reference in New Issue
Block a user