chenyu and GitHub
9f01775cf4
dtype_from_uop for THREEFRY and FDIV ( #17727 )
2026-08-25 08:43:59 -04:00
chenyu and GitHub
9607787ce1
delete more explicitly set dtype to UOp [PR] ( #17726 )
...
* delete more explicitly set dtype to UOp [PR]
* not that
2026-08-25 08:32:45 -04:00
George Hotz and GitHub
a5678317c2
split rangeify to prepare.py ( #17722 )
2026-08-24 19:12:13 -07:00
chenyu and GitHub
a7df1a1ace
const are weak 3 [pr] ( #17695 )
2026-08-24 20:32:57 -04:00
chenyu and GitHub
8b164aefea
test update from weak const ( #17689 )
2026-08-23 17:30:16 -04:00
chenyu and GitHub
356f665377
test update for weak const ( #17675 )
2026-08-21 21:50:29 -04:00
chenyu and GitHub
daa154aa22
FLOORDIV to SHR for powers of 2 [pr] ( #17669 )
2026-08-21 16:28:04 -04:00
chenyu and GitHub
8f9cbdf0cc
few more self folding [pr] ( #17657 )
2026-08-21 15:21:28 -04:00
chenyu and GitHub
554d078ac4
fix render_marg [pr] ( #17656 )
2026-08-21 10:03:22 -04:00
qazal and GitHub
1c3c9e96f6
remove setUp from test_sqtt_profiler ( #17652 )
...
* remove setUp from test_sqtt_profiler
* remove that
* cleaner
* do not need that
2026-08-21 17:29:11 +09:00
qazal and GitHub
e8a8d99b99
profiler tracing using unique keys ( #17651 )
...
* profiler tracing using unique keys
* cleaner + comment
2026-08-21 17:06:01 +09:00
qazal and GitHub
dcc2d021e7
prereq viz cleanups for unique profile keys ( #17649 )
...
* cleaner
* just use VIZ=-2
* better
2026-08-21 16:18:25 +09:00
qazal and GitHub
80bf60d782
profiler failing test for non unique kernel names ( #17647 )
...
* err
* expected
2026-08-21 13:52:35 +09:00
George Hotz and GitHub
3fdbb82bfe
add ansipad and PARALLEL contextvar ( #17642 )
2026-08-20 16:26:02 -07:00
chenyu and GitHub
592e3f8363
update const selector where folding [pr] ( #17640 )
...
folding a strong dtype WHERE to a weak const branch keeps the strong dtype
2026-08-20 18:49:34 -04:00
sirhcm and GitHub
3715006a21
fix float_to_bf16 on non-float32 inputs ( #17638 )
2026-08-20 18:14:30 -04:00
chenyu and GitHub
e6324d1e1c
test updates from weak const branch ( #17618 )
2026-08-19 22:56:25 -04:00
sirhcm and GitHub
2067133732
cpu: link with rt ( #17608 )
2026-08-19 17:55:08 -04:00
chenyu and GitHub
fc214da417
test updates for weak const change ( #17606 )
2026-08-19 15:56:01 -04:00
chenyu and GitHub
b8cc74ecf8
no float in tensor shape [pr] ( #17605 )
2026-08-19 15:40:16 -04:00
chenyu and GitHub
c218b4842d
fold_bitcast should truncate its input [pr] ( #17601 )
2026-08-19 14:39:36 -04:00
chenyu and GitHub
bd6e70ac15
delete stale tests ( #17596 )
2026-08-19 11:18:05 -04:00
chenyu and GitHub
9550378704
finish casted_consts migration [PR] ( #17595 )
2026-08-19 10:43:55 -04:00
chenyu and GitHub
b3e2f17b24
update NULL tests that depends on strong dtype CONST ( #17594 )
2026-08-19 10:26:38 -04:00
chenyu and GitHub
68b4407fe3
casted CONST migration for cstyle [pr] ( #17587 )
2026-08-19 09:01:40 -04:00
George Hotz and GitHub
c31038ff37
use KernelCountException when kernel count is being compared ( #17584 )
2026-08-18 16:06:03 -07:00
chenyu and GitHub
34c9b9d434
add back cast where rule [pr] ( #17572 )
2026-08-17 15:27:20 -04:00
chenyu and GitHub
138fb4a783
delete dead DType.scalar [PR] ( #17561 )
2026-08-16 21:12:17 -04:00
chenyu and GitHub
26cbadd69a
no pm_fold_cast_const in full_rewrite_to_sink [PR] ( #17547 )
2026-08-15 10:18:59 -04:00
chenyu and GitHub
4b0525e594
no pm_fold_cast_const in UOp.simplify and hcq2 [pr] ( #17540 )
2026-08-14 21:39:47 -04:00
chenyu and GitHub
13c381b0c0
remove pm_fold_cast_const from initial symbolic [pr] ( #17535 )
...
interestingly it gives more accurate numerics when composing const like log10
2026-08-14 14:14:40 -04:00
chenyu and GitHub
80169c6758
remove where push cast to branches from sym [pr] ( #17533 )
...
* remove where push cast to branches from sym [pr]
not really needed and one less place that generates casted weak const when it's not needed
* fix
2026-08-14 12:57:56 -04:00
George Hotz and GitHub
b1859805b1
remove Ops.BIND ( #17511 )
...
* remove Ops.BIND
* param arg
* simplify that
* simplify
* cleaner
* props, not functions
* param and buffer can share
2026-08-13 23:52:16 -07:00
Raine and GitHub
de04781b36
simplify equivalent const max ( #17505 )
...
* add const max folds
* add regression test
* move
2026-08-12 08:39:29 -07:00
sirhcm and GitHub
479ffb0cda
remove Ops.SLICE ( #17492 )
2026-08-11 18:50:04 -04:00
George Hotz and GitHub
d4d537c8ae
add SPEC checking for the kernel graph ( #17432 )
...
Unit Tests / Null Tests (pull_request) Failing after 22s
Unit Tests / Unit Tests (pull_request) Failing after 22s
Unit Tests / Docs (pull_request) Failing after 34s
Unit Tests / Fuzzing (pull_request) Failing after 26s
Unit Tests / Torch Backend Tests (pull_request) Failing after 57s
Unit Tests / CL IMAGE Tests (pull_request) Failing after 42s
Unit Tests / Test LLM (pull_request) Failing after 12s
Unit Tests / openpilot Compile Tests (pull_request) Failing after 48s
Unit Tests / Linters (pull_request) Failing after 1m29s
Unit Tests / Optimization Tests (pull_request) Failing after 52s
Unit Tests / Linux (DEV=CL) (pull_request) Failing after 42s
Unit Tests / Linux (DSP) (pull_request) Successful in 1m46s
Unit Tests / Python Backend (pull_request) Failing after 3m11s
Unit Tests / Linux (DEV=CPU:X86) (pull_request) Failing after 24s
Unit Tests / SPEC=2 (2) (pull_request) Successful in 3m53s
Unit Tests / SPEC=2 (1) (pull_request) Successful in 4m4s
Unit Tests / Linux (am) (pull_request) Canceled after 0s
Unit Tests / Linux (amd gfx1100) (pull_request) Canceled after 0s
Unit Tests / Linux (amdllvm gfx1100) (pull_request) Canceled after 0s
Unit Tests / Linux (amd gfx1201) (pull_request) Canceled after 0s
Unit Tests / Linux (amdllvm gfx1201) (pull_request) Canceled after 0s
Unit Tests / Linux (amd gfx950) (pull_request) Canceled after 0s
Unit Tests / Linux (amdllvm gfx950) (pull_request) Canceled after 0s
Unit Tests / Linux (nv) (pull_request) Canceled after 0s
Unit Tests / Linux (ptx) (pull_request) Canceled after 0s
Unit Tests / MacOS (unit) (pull_request) Canceled after 0s
Unit Tests / MacOS (unit, mock) (pull_request) Canceled after 0s
Unit Tests / MacOS (DEV=METAL) (1) (pull_request) Canceled after 0s
Unit Tests / MacOS (DEV=METAL) (2) (pull_request) Canceled after 0s
Unit Tests / MacOS (DEV=CPU:CLANG) (pull_request) Canceled after 0s
Unit Tests / MacOS (DEV=CPU:LLVM) (pull_request) Canceled after 0s
Unit Tests / MacOS (DEV=CPU:LVP) (pull_request) Canceled after 0s
Unit Tests / MacOS (DEV=WEBGPU) (pull_request) Canceled after 0s
Unit Tests / Windows (DEV=CPU:CLANG) (pull_request) Canceled after 0s
Unit Tests / Windows (DEV=CPU:LLVM) (pull_request) Canceled after 0s
Unit Tests / Windows (DEV=CPU:X86) (pull_request) Canceled after 0s
Unit Tests / Windows (DEV=WEBGPU) (pull_request) Canceled after 0s
Unit Tests / Compile-only (ir3) (pull_request) Canceled after 0s
Unit Tests / Compile-only (nak) (pull_request) Canceled after 0s
Unit Tests / Compile-only (QCOM CL) (pull_request) Canceled after 0s
Check Line Counts / Check PR Branch status (pull_request_target) Canceled after 0s
Check Line Counts / Core Library Line Difference (pull_request_target) Canceled after 0s
Unit Tests / Linux (DEV=CPU:LVP) (pull_request) Canceled after 1m10s
Unit Tests / Models (pull_request) Canceled after 3m4s
Unit Tests / hcq2 (pull_request) Canceled after 17s
Unit Tests / AMD ASM IDE (pull_request) Canceled after 28s
Unit Tests / Linux (DEV=CPU:CLANG) (pull_request) Canceled after 2m35s
Unit Tests / Linux (DEV=WEBGPU) (pull_request) Canceled after 51s
Unit Tests / Linux (DEV=CPU:LLVM) (pull_request) Canceled after 2m17s
Unit Tests / ONNX (CPU) Tests (pull_request) Canceled after 3m46s
* add SPEC checking for the kernel graph
* skip test
* raise there, not None
* handwritten
* issue with unshard
* multi works
* and bitcast
* fix new tests
* fix linear
* remove call index
* fix shrink
* fixes
2026-08-08 10:00:06 -07:00
chenyu and GitHub
4a3b8f6501
better _drop_valid_stmts [pr] ( #17454 )
2026-08-07 15:18:35 -04:00
chenyu and GitHub
f76422b8af
fix cast to float _min_max [pr] ( #17451 )
2026-08-07 11:56:19 -04:00
chenyu and GitHub
9020a88f03
truncate float in DType.const [pr] ( #17439 )
2026-08-06 20:19:08 -04:00
chenyu and GitHub
28e6ef6937
fix postopt symbolic [pr] ( #17433 )
...
REDUCE with src simplied to const would become unparented
2026-08-06 00:12:30 -04:00
chenyu and GitHub
7a9cd8e329
move weak function and pm to uop/weak [PR] ( #17429 )
2026-08-05 22:27:40 -04:00
chenyu and GitHub
d726e5f7f3
split pm_fold_cast_const [PR] ( #17425 )
...
need to delete this rule that writes strong typed CONST
2026-08-05 19:56:04 -04:00
George Hotz and GitHub
581bfdd94f
merge track_rewrites and profile_matches into rewrite_group [PR] ( #17420 )
...
* merge track_rewrites and profile_matches into rewrite_group
* bug
* flip ctx polarity
2026-08-05 14:41:38 -07:00
George Hotz and GitHub
46f0003776
more KernelCountException ( #17407 )
2026-08-04 22:55:38 -07:00
chenyu and GitHub
9b508dfafc
remove invalid special case in cast [PR] ( #17405 )
2026-08-04 23:08:07 -04:00
George Hotz and GitHub
e1f42681fa
add new schedule tests + format better ( #17402 )
...
* add new schedule tests + format better
* assert_kernel_count
2026-08-04 18:46:38 -07:00
George Hotz and GitHub
6122b3c98f
use check_schedule in tests where possible ( #17400 )
2026-08-04 18:17:29 -07:00
chenyu and GitHub
c1a10e0726
fix _min_max for CAST from float to int [pr] ( #17396 )
...
* fix _min_max for CAST from float to int [pr]
* fix
2026-08-04 18:06:50 -04:00
George Hotz and GitHub
c2625c78cb
scalar ALU index fix + llm: preserve_thinking ( #17381 )
...
* cstyle: scalar ALU index fix, serve: preserve_thinking, test: fix Handler import
- cstyle.py: return scalar directly when ALU buffer has 1 element
- cli.py: add preserve_thinking param to FallbackTemplate.render
- serve.py: pass preserve_thinking=True when rendering chat completions
- test_llm_server.py: fix import to use Handler from llm.serve
* real fix
2026-08-03 15:10:21 -07:00
George Hotz and GitHub
05bc7c6994
fix llm reasoning and Linear import ( #17372 )
2026-08-02 12:31:52 -07:00