Commit Graph

831 Commits

Author SHA1 Message Date
George Hotz
d128e4fcae does pybind fix CI? 2021-12-30 14:11:39 -05:00
George Hotz
6bee5bdb7d add torch tests 2021-10-30 18:58:45 -07:00
George Hotz
7472a7ebe2 not forcing 3.9 for a stupid type 2021-10-30 16:52:40 -07:00
George Hotz
f193eeed25 bump all to python 3.9 2021-10-30 16:15:41 -07:00
George Hotz
ac8afd24fa refactor accel 2021-10-30 16:10:59 -07:00
Dinesh Kumar Gnanasekaran
2146860307 fixed OpenCL installation while running tests (#262)
Co-authored-by: dinesh <dinesh-GDK>
2021-06-12 11:14:21 -07:00
George Hotz
6842ad9ec8 minor cleanups, yolo work 2021-01-03 08:14:16 -08:00
Liam
ebd72ff437 Test split (#231)
* Split tests

Split tests into "Test CPU" and "Test GPU".

Add test flag "TEST_DEVICES" which is a comma separated list of devices:
CPU,GPU,ANE

* Run tests based on provided TEST_DEVICES flag

By default will run all "CPU,GPU,ANE"

* fix bad quote

* Revert changes and use GPU=1

This is done through setting the default Tensor Device to Device.CPU of
GPU=1 is set.

Run GPU tests: GPU=1 pytest -s -v
2021-01-01 09:19:03 -05:00
iainwo
56d44637f3 fixed pylint, formatted python files iwth cblack on localhost (#204)
* fixed pylint, formatted python files iwth cblack on localhost

* Revert "fixed pylint, formatted python files iwth cblack on localhost"

This reverts commit 07e2b88466.

* dedented 4-spaces added linter

Co-authored-by: Iain Wong <iainwong@outlook.com>
2020-12-17 14:37:31 -08:00
Mufeed VH
e6a5c6c93e Added indentation linter (#187)
* Added indentation linter

* pylint package latest
2020-12-12 17:15:09 -08:00
Liam
e79cda6dad Add pyopencl to dependency installs (#174)
* Add pyopencl to dependency installs

OpenCL was not actually being tested as pyopencl was not installed.

* Reduce installation to 1 liner
2020-12-10 09:24:08 -08:00
George Hotz
df64658a2c weee, opencl tests in CI 2020-11-10 10:04:45 -08:00
George Hotz
d47a128812 pocl 2020-11-10 10:02:13 -08:00
George Hotz
c05401a9ca sudo maybe 2020-11-10 09:53:49 -08:00
George Hotz
09bc8eddfe clinfo 2020-11-10 09:51:38 -08:00
George Hotz
58e703d099 fix tests 2020-11-10 09:49:19 -08:00
George Hotz
23405cec43 intel opencl 2020-11-10 09:41:40 -08:00
George Hotz
33090c4b0d install more 2020-11-10 09:34:56 -08:00
George Hotz
a52590e76c cpu opencl maybe 2020-11-10 09:32:54 -08:00
George Hotz
2e7f16bf3f the power of cheating 2020-11-02 07:42:11 -08:00
George Hotz
fc358a07ad print sloccount 2020-11-02 07:38:13 -08:00
Omar Ben Brahim
ec7bdb87ca clean up CI (#28) 2020-10-29 07:43:31 -07:00
Liam
4a663d31da less than 1000 lines (#24)
* Actions sloccount check for < 1000 lines (tests and source)

* Sudo lol

* Test sloccount in actions ci

* More tests for the expression

* apt install test to do validation in cli

* fuck test

* try something that probably won't work

* ofcourse not

* test that test fails if lines greater than 1000

* more than 1000 results in 1,000 not 1000. Delete

* remove test lines. Should pass now

* Untouch file

Untouched a file that was changed in testing
2020-10-27 08:07:15 -07:00
Adrian Garcia Badaracco
02ecdc86c3 remove install from workflow 2020-10-24 09:03:22 -05:00
Adrian Garcia Badaracco
5ed2bbfa0a remove newline 2020-10-21 18:43:11 -05:00
Adrian Garcia Badaracco
81fe70a3c0 make single line 2020-10-21 18:42:40 -05:00
Adrian Garcia Badaracco
466a67f4dd Add requirements.txt 2020-10-21 18:37:47 -05:00
Adrian Garcia Badaracco
02adb0ac3a Make test_mnist runnable by pytest and directly 2020-10-21 11:30:08 -05:00
George Hotz
d5662e09e3 run both tests 2020-10-19 08:59:20 -07:00
grekiki
f394a5edee Make unit-tests run in all branches 2020-10-18 23:03:51 +02:00
William Gibson
02729c7f2a Add CI for tests 2020-10-18 21:26:01 +01:00