Skip to content

Commit

Permalink
assert
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellgoffpc authored and haraschax committed Sep 20, 2024
1 parent 6e82d0d commit 491f44d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion selfdrive/modeld/runners/tinygradmodel.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from pathlib import Path
import sys
sys.path.append(str(Path(__file__).parent.parent.parent.parent / 'tinygrad_repo'))
TINYGRAD_REPO_PATH = Path(__file__).parent.parent.parent.parent / 'tinygrad_repo'
assert TINYGRAD_REPO_PATH.exists()
assert (TINYGRAD_REPO_PATH / 'extra').exists()
sys.path.append(str(TINYGRAD_REPO_PATH))

import onnx
import itertools
Expand Down

0 comments on commit 491f44d

Please sign in to comment.