Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from tinygrad:master #81

Merged
merged 11 commits into from
Feb 6, 2025
Merged

[pull] master from tinygrad:master #81

merged 11 commits into from
Feb 6, 2025

Conversation

pull[bot]
Copy link

@pull pull bot commented Feb 6, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

chenyuxyz and others added 11 commits February 5, 2025 19:30
* move positive const ** t to a rewrite rule

* one more test
* move more pow const to rewrite

one less use of _to_const_val

* fix
* Pass host CPU features to LLVM target

This gets `test_gemm_fp16` to pass on Windows. It would fail because the
generated machine code would call compiler-rt functions to to perform
truncating. This gets the test to pass on some hardware, because LLVM
gets access to more instructions. Essentially this is similar to
`-march=native`.

Unless this was intentionally left as is to be re-implemented fully in
LLVM IR or something.

* Fix linter complaints
* remove Tensor._to_const_val

added a TODO for advance indexing on const, which was the last place that checks const in Tensor

* that is not folding now

* one more
* Fix AttributeError occurring after ValueError in _apply_uop

* Update tensor.py

---------

Co-authored-by: George Hotz <72895+geohot@users.noreply.github.com>
* cleanup some llvm stuff [pr]

* debug

* default to newer llvm

* repr
* add float4 support to LLVM

* is_bool
* benchmark kernel launch

* don't realize unneeded

* faster

* faster metal

* fix mypy

* without sync

* no div 0

* lru cache that

* no sync in the profile
@pull pull bot added the ⤵️ pull label Feb 6, 2025
@pull pull bot merged commit 0cbb7d7 into kp-forks:master Feb 6, 2025
Copy link

github-actions bot commented Feb 6, 2025

This branch currently is behind tinygrad/master. The line count difference bot is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants