Commit Graph
2380 Commits
Author SHA1 Message Date
Szymon Ożóg 7499a7004e split chain with parentheses for and node 2023-08-23 09:43:41 +02:00
Szymon Ożóg 9e96911771 negative infinity now properly rendered 2023-08-23 09:25:21 +02:00
Szymon Ożóg 1bcded84a3 limit global size 2023-08-23 09:08:05 +02:00
Szymon Ożóg 5aa7725e83 infinity render fixed 2023-08-23 08:51:15 +02:00
Szymon Ożóg bea30b8087 update dtypes for load 2023-08-23 07:41:48 +02:00
Szymon Ożóg 319b223721 update variable signatures 2023-08-23 07:39:52 +02:00
Szymon Ożóg ee7fd5e482 ensure we are running triton backend 2023-08-22 13:30:54 +02:00
Szymon Ożóg b46e1aa0ba Remove print 2023-08-22 13:21:52 +02:00
Szymon Ożóg 40b45be21a Print device default 2023-08-22 13:18:58 +02:00
Szymon Ożóg e8a1bcdeb5 print used device 2023-08-22 13:16:10 +02:00
Szymon Ożóg 7839657b42 use cudacpu in tests 2023-08-22 13:06:02 +02:00
Szymon Ożóg f6c99e84eb disable cuda backend in triton tests 2023-08-22 12:59:11 +02:00
Szymon Ożóg 5c6edfb064 use triton tests 2023-08-22 10:54:07 +02:00
Szymon Ożóg fbb3793b7a Add triton to existing testing routine 2023-08-22 10:32:58 +02:00
Szymon Ożóg 39d238734b remove pytorch cpu extra index 2023-08-22 09:47:45 +02:00
Szymon Ożóg 991c9eaf6f Merge remote-tracking branch 'upstream/master' into triton 2023-08-22 09:03:26 +02:00
Szymon Ożóg 3a87a32b23 ignore test example 2023-08-22 09:03:07 +02:00
Szymon Ożóg 0b4d1022e8 ignore triton saturation tests 2023-08-22 09:02:52 +02:00
Szymon Ożóg 1be36efb9d linter errors 2023-08-22 08:47:14 +02:00
Szymon Ożóg d3f370d69d pretty ptx print on debug 5 2023-08-22 08:32:36 +02:00
Szymon Ożóg 4e18f4e7ae remove print and starting whitespace 2023-08-22 08:32:22 +02:00
Szymon Ożóg 1d5cd82ed5 split file into renderer and program 2023-08-22 08:26:14 +02:00
Szymon Ożóg 4220908646 Old testing routine 2023-08-22 08:21:10 +02:00
Szymon Ożóg bf092c55ac fix envs in testing 2023-08-22 08:10:14 +02:00
8e8724d3a8 perf: if argument order (mops) (#1599)
Co-authored-by: Roelof van Dijk <[email protected]>
2023-08-21 11:20:39 -07:00
George HotzandGitHub 2e60920317 Revert "sparse cat cross entropy (#1591)" (#1596)
This reverts commit f0ee850e98.
2023-08-21 10:04:26 -07:00
Yixiang GaoandGitHub f0ee850e98 sparse cat cross entropy (#1591)
* add sparse cat cross entropy

* minor fix

* add log_softmax into loss function

* add test

* update docs
2023-08-21 09:56:41 -07:00
Yixiang GaoandGitHub 8d6662a741 .cpu().numpy() -> .numpy() (#1594)
* .cpu().numpy() -> .numpy()

* restore ops_torch

* restore test_speed_v_torch
2023-08-21 09:53:29 -07:00
Szymon Ożóg 8fcc25d0aa Merge triton tests into global tests 2023-08-21 18:08:01 +02:00
Szymon Ożóg f7ab9051f2 accumulate local shapes instead of using max shape 2023-08-21 18:06:59 +02:00
Szymon Ożóg 2bdd60565c Merge remote-tracking branch 'upstream/master' into triton 2023-08-21 17:53:17 +02:00
Szymon Ożóg 4bd31550b5 Add local size override 2023-08-21 09:56:29 +02:00
Szymon Ożóg 13eed8f9cc Add wait logic 2023-08-21 09:55:54 +02:00
Umut ZenginandGitHub 35bf21276f Argmax/Argmin Feature (#1576)
* implemented argmax and argmin

* lint

* lint

* match torch behaviour

* format

* removed flip
2023-08-20 18:46:46 -07:00
1900acda09 [READY] ci: setup venv cache (#1475)
* ci: cache installed packages

* ci: trigger jobs

* ci: fix hashfiles argument

---------

Co-authored-by: Roelof van Dijk <[email protected]>
2023-08-20 18:43:16 -07:00
Umut ZenginandGitHub 3fc7e984f0 __getitem__ refactoring (#1586)
* dene

* dene

* form

* form

* form

* form

* lint

* small change

* preserve old

* revert to explicit reshape
2023-08-20 18:42:30 -07:00
George HotzandGitHub d627349af0 teeny changes (#1589)
* teeny changes

* import order
2023-08-20 13:38:38 -07:00
George HotzandGitHub 012ee7d162 not worth the speed (#1584)
* not worth the speed

* no slots

* uops comments

* bump to python 3.11 for speed

* add critical slots back
2023-08-20 10:24:58 -07:00
George HotzandGitHub 739f327d2d Shorter (#1582)
* deleting lines

* remove insert dims

* if statement is never hit

* bug fixes
2023-08-20 08:12:16 -07:00
Szymon Ożóg 6f38842ef0 fix linter error 2023-08-20 10:35:28 +02:00
Szymon Ożóg 4b4280bcfb remove deprecated import 2023-08-20 10:34:59 +02:00
Szymon Ożóg 59dc1ad772 Enable test_nn 2023-08-20 10:31:50 +02:00
David HouandGitHub 4fbce972d7 CSE at uop level (#1483)
* uop-level cse

* add test

* don't cache reduce alu ops

* types

* rename variable

* fix

* delete lines
2023-08-19 23:40:40 -07:00
geohot b9feb1b743 fp16 support in stable diffusion 2023-08-20 05:37:21 +00:00
George HotzandGitHub ad7d26c393 fix __launch_bounds__ and benchmark TC MATMUL (#1575)
* fix

* benchmark matmul
2023-08-19 10:54:39 -07:00
David HouandGitHub 92754e177c cache buffer loads across multiple bufs (#1482)
* cache loads across buffers (since they may share rawbufs)

* typing

* add test

* fix test

* small changes to test

* fix test

* one big cache

* whitespace

* golf a line?

* invalid is RawBuffer(0)[0], valid 1.
2023-08-19 09:09:58 -07:00
George HotzandGitHub e464442adf WMMA for 7900XTX (#1563)
* go

* hip no LRU

* work

* works

* 16 TFLOPS

* 29 TFLOPS

* 30 TFLOPS

* never mind, it's 60 TFLOPS

* fix metal WMMA

* put hip alloc back
2023-08-19 09:07:23 -07:00
Szymon Ożóg 5533db9a6a const ops match local shape 2023-08-19 14:31:36 +02:00
Szymon Ożóg 320a012772 get global program from name 2023-08-19 14:29:37 +02:00
Szymon Ożóg 4123920bcc remove deprecated variables 2023-08-19 13:56:37 +02:00