sampling time sync (8700 lines) (#5843)

* sampling time sync

* jitter matrix

* comment

* pass mypy

* line count
This commit is contained in:
George Hotz
2024-08-02 14:44:35 -07:00
committed by GitHub
parent 41bbd3f4c1
commit 7348c40d9d
3 changed files with 47 additions and 15 deletions

View File

@@ -124,8 +124,8 @@ jobs:
python -c "from tinygrad.tensor import Tensor; print(Tensor([1,2,3,4,5]))"
- name: Test DEBUG
run: DEBUG=100 python3 -c "from tinygrad import Tensor; N = 1024; a, b = Tensor.rand(N, N), Tensor.rand(N, N); c = (a.reshape(N, 1, N) * b.T.reshape(1, N, N)).sum(axis=2); print((c.numpy() - (a.numpy() @ b.numpy())).mean())"
- name: Repo line count <8600 lines
run: MAX_LINE_COUNT=8600 python sz.py
- name: Repo line count <8700 lines
run: MAX_LINE_COUNT=8700 python sz.py
testopencl:
strategy: