chenyu and GitHub
a16d2572a0
docs: clean up mentions of mlops ( #4720 )
2024-05-24 17:49:32 -04:00
chenyu and GitHub
ba116ff630
docs: fix mnist type and fixed seed and loss ( #4717 )
2024-05-24 16:18:30 -04:00
chenyu and GitHub
a894209bf7
docs: add ConstType to dtypes, limit function to its member ( #4714 )
2024-05-24 14:22:34 -04:00
chenyu and GitHub
a41701ce71
docs: elementwise ops (broadcasted) and update examples ( #4713 )
...
* docs: elementwise ops (broadcasted) and update examples
* fix where
* space
2024-05-24 13:19:21 -04:00
chenyu and GitHub
a921f3317f
docs: move down tinygrad op and add missing methods ( #4710 )
2024-05-24 00:11:12 -04:00
chenyu and GitHub
12ec02d6a3
docs: example formatting, multi examples, activation inputs ( #4709 )
2024-05-23 23:39:02 -04:00
chenyu and GitHub
8aee3f5a9a
docs: split, chunk, pad2d, flatten, unflatten ( #4706 )
2024-05-23 20:34:40 -04:00
wozeparrot and GitHub
30b07f3c5d
reduce ops ( #4690 )
2024-05-22 16:20:56 -07:00
wozeparrot and GitHub
6020595eb0
more tensor.py docs ( #4686 )
...
wow much docs
2024-05-22 21:28:26 +00:00
chenyu and GitHub
f8f97562e0
remove File Specific Variables from env_vars.md ( #4684 )
2024-05-22 17:00:14 -04:00
chenyu and GitHub
d70988dddf
add blob and raw=true for image in docs showcase ( #4632 )
...
this should render the image correctly
2024-05-17 16:57:15 -04:00
George Hotz and GitHub
ff64bcab69
move graph/search to engine ( #4596 )
2024-05-14 23:12:59 -07:00
George Hotz and GitHub
9425973bc7
docs cleanup and move ( #4593 )
...
* cleanup and move
* docs-legacy is gone
* don't update setup.py
2024-05-14 20:44:59 -07:00
George Hotz and GitHub
7a26bdac65
move scheduleitem to schedule.py ( #4541 )
...
* move scheduleitem to schedule.py
* don't need that type checking anymore
2024-05-11 21:13:04 -07:00
geohot
922e6e056a
hotfix: fix docs
2024-05-10 21:51:35 -07:00
Nicklas Boman and GitHub
cc33947fa5
Update links in new docs ( #4363 )
...
tensor and nn links to tensor.md and nn.md
2024-05-08 06:13:00 -07:00
geohot
995d264666
hotfix: add CNAME to put docs at docs.tinygrad.org
2024-04-30 23:17:35 -07:00
George Hotz and GitHub
d325be2540
update docs ( #4356 )
...
* update docs
* nn.md
* mnist cleanups
* rhip test is very slow
2024-04-30 16:51:42 +09:00
Victor Ziliang Peng and GitHub
40264c7d1e
Update index.md ( #4315 )
2024-04-27 15:12:44 +08:00
geohot
0f0627bc60
add mnist tutorial
2024-04-25 16:08:32 +08:00
Szymon Ożóg and GitHub
c606a0ba6f
Docs link fix ( #4286 )
...
* Update quickstart.md
* Update README.md
* Update quickstart.md
* Update README.md
2024-04-24 12:54:43 -04:00
George Hotz and GitHub
60e3aa5cb1
more docs ( #4271 )
...
* more work on docs
* CompilerOptions is dataclass
2024-04-24 10:52:42 +08:00
George Hotz and GitHub
967638f0d5
update docs, remove corealize ( #4264 )
...
* update docs, remove corealize
* handle 0 line count
* tensor schedule
2024-04-23 12:05:29 +04:00
George Hotz and GitHub
d49d4324a3
update docs ( #4189 )
2024-04-16 16:07:02 +04:00
George Hotz and GitHub
8f749ae0eb
New docs are in mkdocs ( #4178 )
...
* start mkdocs
* simple docs for tensor
* more docs
* move those back
* more docs
* copy markdown extensions
* docs legacy
* docs building workflow
* fix showcase links
* only that?
* install tinygrad
* add docs to setup.py
* Delete examples/llm.c/data
2024-04-16 10:59:51 +04:00
geohot
ea18d28253
some overview docs
2024-04-13 17:01:09 -07:00
George Hotz and GitHub
b67f759780
abstractions3 is currently wishful thinking ( #4124 )
...
* abstractions3 is currently wishful thinking
* a3
* work
* minor
* progress on a3
* more
* update abstractions3
* cleaner
2024-04-12 16:46:01 -07:00
MaximilianEmel and GitHub
27a98aaecc
Rewritten SVG Logos ( #4150 )
...
* rewrote the svg logos to use polygons and render better
* changed self-closing tags' style to better conform to the original
2024-04-12 14:09:57 -07:00
George Hotz and GitHub
52ee5b73b2
update logo ( #4055 )
...
* update logo
* update svg
* put svg in file
* Revert "put svg in file"
This reverts commit 735528047a .
* better
* move a tag
* remove extra
2024-04-03 07:16:57 -07:00
George Hotz and GitHub
1bf0a7a2d1
move assign logic into lazy.py ( #3984 )
...
* move assign logic into lazy.py
* don't check the buffer
2024-03-28 20:26:38 -07:00
George Hotz and GitHub
9a6ac2a50a
create the buffer with the LazyBuffer ( #3977 )
...
* create the buffer with the LazyBuffer
* fixes
* hack underlying buffer when we change dtype
* we only care about allocated buffers
* asserts
2024-03-28 19:31:28 -07:00
George Hotz and GitHub
42b9d999ea
Buffer isn't always allocated ( #3974 )
...
* buffer alloc
* allocate
* missing allocates
* last one
2024-03-28 13:33:47 -07:00
qazal and GitHub
27af37f2ad
misc: remove unused env vars ( #3963 )
...
* remove unused env vars
* delete CPU
2024-03-27 16:08:15 -04:00
George Hotz and GitHub
68ca4d4276
split to schedule.py ( #3949 )
...
* split to schedule.py
* split
2024-03-26 21:02:46 -07:00
George Hotz and GitHub
150ea2eb76
create engine folder and move code ( #3948 )
...
* retry
* older tf
* that
2024-03-26 20:38:03 -07:00
George Hotz and GitHub
629cbc5587
only abstractions 2 ( #3947 )
2024-03-26 20:02:18 -07:00
chenyu and GitHub
83f39a8ceb
env var to change default float ( #3902 )
...
* env var to change default float to fp16 or bf16
looking for standard names for these. we have FLOAT16 that does something to IMAGE and HALF to convert weights.
working on default bf16 too.
```
RuntimeError: compile failed: <null>(6): error: identifier "__bf16" is undefined
__bf16 cast0 = (nv_bfloat16)(val0);
```
remove that in cifar
* DEFAULT_FLOAT
* default of default
* unit test
* don't check default
* tests work on linux
2024-03-24 20:33:57 -04:00
nimlgen and GitHub
3fb13ff892
HIP -> HSA in docs/env_vars ( #3824 )
2024-03-19 22:53:33 +03:00
qazal and GitHub
337cd53444
multioutput ScheduleItem ( #3699 )
...
* refactor realize.py
* update docs
* update test_sched
* update runners and devices
* update openpilot and unit tests
* cleanup runner lowering
* update more tests
2024-03-13 08:59:38 -07:00
qazal and GitHub
aec4c4f01b
linearizer ast as a tuple of lazyops ( #3689 )
...
* multi store op linearizer
* currently we do only one output per kernel
* named opts
2024-03-11 15:39:04 -07:00
Jungwan Woo and GitHub
e5ee6bb2bd
fix outdated url in showcase doc ( #3624 )
2024-03-05 14:44:40 -08:00
geohotstan and GitHub
9268a8b154
remove MULACC ( #3459 )
...
* init
* removed mulacc
* is uoptimize the problem?
* lol hax make work temporarily fix l8er
* revert extra/ changes
* clean up
* flaky metal tests?
* add back mulacc for metal
* revert last commit
* try skipping linearizer_failure tests
* skip flammit tests... cuz tests all work locally
* try narrow down exact linearizer failure test
* try 2
* try 4
* generated code is the exact same wtf why CI fails
* code for 15 and 17 are exact same with or without mulacc, this should pass
* try only 1 failure
* try garbage collecting lol...
* try del variables lol
* try gcing after del lol...
* is diskcache the problem???
* try disabling opts cache idk
* try remove hack
* try disable github metal cache...
* try CACHELEVEL=0 :D idk anymore
* try increase newCommandQueueWithMaxCommandBufferCount_, im almost out of ideas...
* revert
* actually not a HACK
* oops
2024-02-29 07:40:40 -05:00
Caleb Bunch and GitHub
b41761488d
change specific string 'CLANG' to DEVICE variable in abstractions2.py ( #3488 )
2024-02-24 07:51:39 -05:00
qazal and GitHub
7864fb69d1
delete MovementOps ( #3434 )
...
* delete MovementOps
* keep extra/to_movement_ops.py
2024-02-19 23:21:44 +01:00
0a4029c519
fix path to models folder ( #3442 )
...
Co-authored-by: Chen-Chen Yeh <[email protected] >
2024-02-19 13:35:57 +01:00
28a8b72024
Remove Interpreted device & remaining CPU/TORCH ref ( #3423 )
...
* Remove Interpreted device & remaining CPU/TORCH ref
* Oops
* supports_device was useful
* Fix doc wording
---------
Co-authored-by: chenyu <[email protected] >
2024-02-16 00:30:21 -05:00
George Hotz and GitHub
b1c0d8c99d
remove cpu and torch backends ( #3399 )
...
* remove cpu and torch backends
* don't copy to cpu
* use clang instead of cpu
* multitensor gathers on the first device
* clang is cpu + use default
* fixup
* bugfix
2024-02-15 16:55:39 +01:00
George Hotz and GitHub
a40df14fef
ops_ext to replace cpu import ( #3409 )
...
* ops_ext to replace cpu import
* don't allow zero copy with as buffer
* memoryview(bytearray
* reenable test
* fix jit issue
2024-02-15 13:03:42 +01:00
George Hotz and GitHub
6356474d6d
Revert "ops_ext to replace cpu import ( #3406 )" ( #3408 )
...
This reverts commit 91eb93f85a .
2024-02-15 12:16:10 +01:00
George Hotz and GitHub
91eb93f85a
ops_ext to replace cpu import ( #3406 )
...
* ops_ext to replace cpu import
* don't allow zero copy with as buffer
* memoryview(bytearray
* reenable test
2024-02-15 12:14:58 +01:00