Commit Graph

170 Commits

Author SHA1 Message Date
chenyu
e22cdb40f3 docs: fix mkdoc warnings and link to tensor.md (#4760) 2024-05-28 14:24:11 -04:00
wozeparrot
b2b49cef6f split tensor docs (#4754) 2024-05-28 11:03:52 -07:00
chenyu
e614b7c696 docs: showcase remove mnist_gan and add conversation.py (#4757)
fixed both examples, and i think it's better to show conversation
2024-05-28 11:09:26 -04:00
chenyu
16756af13c docs: polish tensor.py (#4750)
* docs: polish tensor.py

* don't change that
2024-05-27 20:00:56 -04:00
chenyu
c7beb36b73 docs: update page headers (#4748)
replaced the "Index" from Home page with "tinygrad documentation"
2024-05-27 18:04:14 -04:00
chenyu
db0e19fbd7 docs: minor update to quickstart (#4746)
update import, point to docs more, remove mention that assign to index not supported
2024-05-27 17:46:36 -04:00
wozeparrot
4cb38a15a5 tweak docs style (#4745) 2024-05-27 14:32:09 -07:00
chenyu
5b323d77db docs: change nav structure and add repo_url (#4743)
tensor / function / dtype / nn under API now
2024-05-27 15:45:54 -04:00
wozeparrot
5c6af97436 nn docs (#4735) 2024-05-26 13:08:22 -07:00
wozeparrot
5f503226de finish tensor docs (#4722) 2024-05-24 15:57:43 -07:00
chenyu
edf27470c1 docs: fix stack and add dtype.DType (#4721) 2024-05-24 18:23:01 -04:00
chenyu
a16d2572a0 docs: clean up mentions of mlops (#4720) 2024-05-24 17:49:32 -04:00
chenyu
ba116ff630 docs: fix mnist type and fixed seed and loss (#4717) 2024-05-24 16:18:30 -04:00
chenyu
a894209bf7 docs: add ConstType to dtypes, limit function to its member (#4714) 2024-05-24 14:22:34 -04:00
chenyu
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
a921f3317f docs: move down tinygrad op and add missing methods (#4710) 2024-05-24 00:11:12 -04:00
chenyu
12ec02d6a3 docs: example formatting, multi examples, activation inputs (#4709) 2024-05-23 23:39:02 -04:00
chenyu
8aee3f5a9a docs: split, chunk, pad2d, flatten, unflatten (#4706) 2024-05-23 20:34:40 -04:00
wozeparrot
30b07f3c5d reduce ops (#4690) 2024-05-22 16:20:56 -07:00
wozeparrot
6020595eb0 more tensor.py docs (#4686)
wow much docs
2024-05-22 21:28:26 +00:00
chenyu
f8f97562e0 remove File Specific Variables from env_vars.md (#4684) 2024-05-22 17:00:14 -04:00
chenyu
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
ff64bcab69 move graph/search to engine (#4596) 2024-05-14 23:12:59 -07:00
George Hotz
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
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
George Hotz
922e6e056a hotfix: fix docs 2024-05-10 21:51:35 -07:00
Nicklas Boman
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
George Hotz
995d264666 hotfix: add CNAME to put docs at docs.tinygrad.org 2024-04-30 23:17:35 -07:00
George Hotz
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
40264c7d1e Update index.md (#4315) 2024-04-27 15:12:44 +08:00
George Hotz
0f0627bc60 add mnist tutorial 2024-04-25 16:08:32 +08:00
Szymon Ożóg
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
60e3aa5cb1 more docs (#4271)
* more work on docs

* CompilerOptions is dataclass
2024-04-24 10:52:42 +08:00
George Hotz
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
d49d4324a3 update docs (#4189) 2024-04-16 16:07:02 +04:00
George Hotz
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
George Hotz
ea18d28253 some overview docs 2024-04-13 17:01:09 -07:00
George Hotz
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
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
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
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
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
42b9d999ea Buffer isn't always allocated (#3974)
* buffer alloc

* allocate

* missing allocates

* last one
2024-03-28 13:33:47 -07:00
qazal
27af37f2ad misc: remove unused env vars (#3963)
* remove unused env vars

* delete CPU
2024-03-27 16:08:15 -04:00
George Hotz
68ca4d4276 split to schedule.py (#3949)
* split to schedule.py

* split
2024-03-26 21:02:46 -07:00
George Hotz
150ea2eb76 create engine folder and move code (#3948)
* retry

* older tf

* that
2024-03-26 20:38:03 -07:00
George Hotz
629cbc5587 only abstractions 2 (#3947) 2024-03-26 20:02:18 -07:00
chenyu
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
3fb13ff892 HIP -> HSA in docs/env_vars (#3824) 2024-03-19 22:53:33 +03:00
qazal
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