Skip to content
Draft

ir3? #38399

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openpilot/selfdrive/modeld/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def estimate_pickle_max_size(onnx_size):

if arch == 'larch64':
tg_backend = 'QCOM'
tg_flags = f'DEV={tg_backend} IMAGE=1 FLOAT16=1 NOLOCALS=1 JIT_BATCH_SIZE=0 OPENPILOT_HACKS=1'
tg_flags = f'DEV={tg_backend}:IR3 IMAGE=1 FLOAT16=1 NOLOCALS=1 JIT_BATCH_SIZE=0 OPENPILOT_HACKS=1'
else:
tg_backend = 'CPU'
tg_flags = f'DEV=CPU' if arch == 'Darwin' else 'DEV=CPU:LLVM'
Expand Down
1 change: 1 addition & 0 deletions openpilot/selfdrive/modeld/modeld.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
import os
os.environ['GMMU'] = '0' # for usbgpu fast loading, noop for qcom
os.environ['DEV'] = 'QCOM:IR3' # tmp: we shouldn't be compiling anything at runtime
from tinygrad.tensor import Tensor
import threading
import time
Expand Down
2 changes: 1 addition & 1 deletion tinygrad_repo
Submodule tinygrad_repo updated 130 files
Loading