qazal and GitHub
e684fcc689
pm_reduce_collapse fix for re enabling stack for cat of same shape (codex) ( #17251 )
...
* change
* stack cat
* remove nop
* change
2026-07-29 14:47:28 +09:00
George Hotz and GitHub
57ae1bc7a7
rename MULTI to UNSHARD ( #17267 )
...
* rename MULTI to UNSHARD
* comment updates (glm)
* rename method to unshard
2026-07-28 16:51:41 -07:00
George Hotz and GitHub
1757067fa6
add device range as src[1] to multi (kimi) ( #17264 )
...
* add device range as src[1] to multi (kimi)
* cleanup
* fix tests
2026-07-28 16:39:34 -07:00
chenyu and GitHub
23e9e76e8c
DEFAULT_FLOAT/DEFAULT_INT ContextVar [pr] ( #17265 )
2026-07-28 19:08:18 -04:00
chenyu and GitHub
fde3a8faff
CAPTURE_PROCESS_REPLAY=0 default chaging test [PR] ( #17261 )
...
* CAPTURE_PROCESS_REPLAY=0 default chaging test [PR]
quick patch before making default dtype context vars, which is quite annoying
* few more
2026-07-28 17:32:35 -04:00
drk and GitHub
d1c3ae0f91
preserve typed ranges through reshape ( #17259 )
2026-07-28 16:51:06 -04:00
qazal and GitHub
05e4727feb
arange stack regression test ( #17250 )
...
* simple failing test
* commend out stack
* a little smaller
* work
2026-07-28 20:00:22 +09:00
qazal and GitHub
e3b3eea1e2
test for extra copy in allreduce_cast ( #16740 )
...
* test for extra copy in allreduce_cast
* simpler
* cleanup
2026-07-28 19:02:54 +09:00
chenyu and GitHub
4b7022e8f4
Revert "64-bit UOp.variable support ( #17246 )" ( #17248 )
...
This reverts commit ab8fb191b2 .
2026-07-28 00:00:26 -04:00
sirhcm and GitHub
ab8fb191b2
64-bit UOp.variable support ( #17246 )
2026-07-27 23:56:09 -04:00
chenyu and GitHub
0bb36c9989
make Tensor(None) weakfloat ( #17241 )
...
match other float consts
2026-07-27 16:45:28 -04:00
nimlgen and GitHub
8b9ef157d1
run_linear in external_test_gpu_crash ( #17239 )
2026-07-27 22:00:11 +03:00
b1tg and GitHub
bdbb1d702f
fix shard axis through symbolic reshape ( #17238 )
...
* fix shard axis through symbolic reshape
* bind
2026-07-27 11:32:15 -04:00
chenyu and GitHub
818a892ebc
flip from_py to use weak dtypes [pr] ( #17229 )
2026-07-27 10:07:00 -04:00
chenyu and GitHub
f45fc4c566
test updates from weak flip ( #17231 )
2026-07-27 01:27:42 -04:00
qazal and GitHub
95e3b0066f
webgpu failing test for duplicate PARAM in CALL [pr] ( #17230 )
...
* webgpu failing test for duplicate PARAM in CALL [pr]
* typo
2026-07-27 14:06:06 +09:00
chenyu and GitHub
0f98212e80
skip test_float_to_fp8e4m3_extreme_values ( #17228 )
...
fp8 overflow behavior changed in torch 2.13.0, skipped the test for now
2026-07-26 21:01:51 -04:00
chenyu and GitHub
456b5b5060
fix python_alu inf ( #17227 )
2026-07-26 20:04:12 -04:00
nimlgen and GitHub
97a2265362
hcq2: amd indirect ( #17220 )
...
* ind
* mock
2026-07-26 21:36:01 +03:00
chenyu and GitHub
4b6760539b
fix _prepare_jit_inputs for weak [pr] ( #17222 )
2026-07-26 14:03:27 -04:00
chenyu and GitHub
a8d51097dc
realize weak is no-op [pr] ( #17219 )
...
None device and weak dtype are both virtual
2026-07-26 11:52:56 -04:00
79c07a334c
fix ValueError in UOp.axis for shard reshape crossing boundary ( #16547 )
...
Co-authored-by: George Hotz <[email protected] >
2026-07-26 08:38:10 -07:00
George Hotz and GitHub
960430a5e5
Revert "nv: set lower interleave level to reduce GPU hogging (ai slop) ( #15518 )" ( #17218 )
...
This reverts commit ac12914506 .
2026-07-26 08:15:16 -07:00
ac12914506
nv: set lower interleave level to reduce GPU hogging (ai slop) ( #15518 )
...
Fixes #10773 . The NV backend makes desktop systems unusable (cursor lag,
video drops) because the channel group runs at the default HIGH interleave
level, monopolizing the GPU and starving the display compositor.
Sets tsgInterleaveLevel to LOW (0) by default so the GPU scheduler can
preempt compute work for display refresh. Dedicated compute machines can
restore full priority with NV_INTERLEAVE=2.
Also adds SET_INTERLEAVE_LEVEL to the mock GPU driver's pass-through list.
Co-authored-by: Yasko C <[email protected] >
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected] >
2026-07-26 08:12:05 -07:00
chenyu and GitHub
5d1aa84901
SHR/SHL are Broadcastable [pr] ( #17216 )
2026-07-26 02:11:03 -04:00
chenyu and GitHub
acc2374b6f
minor normalize cleanup [pr] ( #17215 )
...
and add a few no-op clones in test_ops to prep for weak flip
2026-07-26 00:39:53 -04:00
chenyu and GitHub
a96974e70c
slight weak behavior tweak and cleanups [pr] ( #17214 )
...
* slight weak behavior tweak and cleanups [pr]
* ruff
2026-07-25 22:51:24 -04:00
chenyu and GitHub
076b37e1ae
failing batch norm test ( #17206 )
...
* failing batch norm test
running stats does not schedule in training now since there's no reader
* not that
2026-07-25 18:46:49 -04:00
chenyu and GitHub
492dc6d5fb
delete _index_to_concrete_int [pr] ( #17205 )
...
staying weak is okay
2026-07-25 16:05:08 -04:00
chenyu and GitHub
74c2121d99
promo (uint64, int) -> weakfloat like JAX [pr] ( #17204 )
2026-07-25 15:20:42 -04:00
chenyu and GitHub
ee2ccb1f24
put weakint in dtypes.weaks [pr] ( #17202 )
...
* put weakint in dtypes.weaks [pr]
* custom_add_var
2026-07-25 14:00:34 -04:00
sirhcm and GitHub
9fdaa4bff2
standardize Program class ( #17189 )
2026-07-25 00:17:38 -04:00
chenyu and GitHub
0a6125e571
Invalid is bool, put weakint in promo lattice [pr] ( #17188 )
2026-07-25 00:06:53 -04:00
chenyu and GitHub
de3508e375
update create_non_native_float_pats [PR] ( #17191 )
...
match based on WHERE dtype, not branch dtyle to prep for new Invalid
2026-07-24 21:21:16 -04:00
George Hotz and GitHub
f65001e297
cleanups because copy is not allowed in rangeify (kimi) ( #17186 )
...
* cleanups because copy is not allowed in rangeify (kimi)
* gpt cleanups
2026-07-24 14:17:10 -07:00
George Hotz and GitHub
dcad119415
convert COPY -> STORE early ( #17172 )
...
* convert COPY -> STORE early
* finish it (glm)
* no slop
* fixes
* not None
* copy one
* bugs fixed, just kernel count i think
* fix disk to disk
* move out of realize
* revert that
* simpler
* fixes
* add copy kernel simplification
* fixes
* dead copy
* remove reshape on store
* fix mstack lowering
2026-07-24 13:49:17 -07:00
chenyu and GitHub
38c04fa648
data_src concept in run_rangeify [pr] ( #17183 )
...
fixed a skip based on `dtypes.weakint`, it was pulling shape args
2026-07-24 14:20:41 -04:00
Raine and GitHub
fcb1d3fc9f
add x86 loops ( #17179 )
...
* add x86 loops
* lint
2026-07-24 07:26:09 -07:00
chenyu and GitHub
2dd2e3d786
don't support Tensor(list(np.array)) [pr] ( #17175 )
2026-07-24 03:13:28 -04:00
George Hotz and GitHub
08eceb0ad9
llm: fix generated tokens in usage accounting ( #17174 )
2026-07-23 21:38:07 -07:00
chenyu and GitHub
a292dab8ab
corner cases from weak const branch ( #17173 )
2026-07-24 00:09:56 -04:00
chenyu and GitHub
f5d9c31d15
arange upcast to int64 with big N ( #17167 )
...
simplifies _one_hot_along_dim
2026-07-23 20:11:39 -04:00
George Hotz and GitHub
bf5989ea48
support loops in nir (kimi) ( #17166 )
...
* support loops in nir
* tpying
2026-07-23 17:05:15 -07:00
chenyu and GitHub
3e031d6c4d
AND OR XOR SHL SHR cannot have float operands [PR] ( #17164 )
...
* AND OR XOR SHL SHR cannot have float operands [PR]
* dont
2026-07-23 18:51:56 -04:00
chenyu and GitHub
1b616669d2
few more symbolic rules [pr] ( #17161 )
...
bitcast twice can skip middle one; bool != False is self; two more where combine
2026-07-23 18:05:32 -04:00
sirhcm and GitHub
6ee16eb1fa
split out LLVM compilers ( #17160 )
2026-07-23 17:45:23 -04:00
chenyu and GitHub
250de4b142
use stack for same shape cat [pr] ( #17156 )
...
same device multi cat benefits too
2026-07-23 13:50:28 -04:00
chenyu and GitHub
9267fca91a
use STACK in wino ( #17155 )
...
STACK is great
2026-07-23 13:02:42 -04:00
chenyu and GitHub
2983987321
clean up some tests ( #17154 )
...
duplicated or typo or slow
2026-07-23 11:22:18 -04:00
chenyu and GitHub
e9a86c99ed
more symmetrical x//d<c -> x<c*d [pr] ( #17146 )
...
* more symmetrical x//d<c -> x<c*d [pr]
* parse_valid too
2026-07-23 00:19:53 -04:00