tinygrad/test
qazal 73b067f5ce
Bitcast p2 bfloat16 tests + clang fix (#2635)
* add bf16 test support

this model takes me almost a minute to download though:

https://huggingface.co/TinyPixel/Llama-2-7B-bf16-sharded/resolve/main/pytorch_model-00001-of-00014.bin?download=true: 100%|█████████████████████████████| 981M/981M [00:40<00:00, 24.2MB/s]

* ensure we first load if it is bitcast to avoid taking the address of an rvalue

* tiny bf16 in the cloud

skip GPU

* should skip torch

lint

* Revert "ensure we first load if it is bitcast to avoid taking the address of an rvalue"

This reverts commit b86a28ab84.

* break the kernel

* skip LLVM and GPU in CI

* skip CUDA
2023-12-08 10:30:10 -08:00
..
external multitensor start (#2676) 2023-12-07 17:07:05 -08:00
extra more test cleanups (#2631) 2023-12-05 16:17:57 -08:00
imported enable test_index and test_advancedindex (#2648) 2023-12-07 19:44:39 -05:00
models multitensor start (#2676) 2023-12-07 17:07:05 -08:00
unit Bitcast p2 bfloat16 tests + clang fix (#2635) 2023-12-08 10:30:10 -08:00
web fast path for copy (#2548) 2023-12-01 11:34:47 -08:00
__init__.py All devices are equal! (#196) 2020-12-15 23:44:08 -08:00
Dockerfile Docker fix (#1039) 2023-06-25 10:38:58 -07:00
helpers.py lower schedule (#2559) 2023-12-01 19:17:46 -08:00
test_assign.py Apply ruff linting rules to tests (#2473) 2023-11-27 21:24:06 -08:00
test_conv.py update pytest marks and CI test filters (#2587) 2023-12-03 15:20:44 -05:00
test_conv_shapetracker.py fix some tests related to JitItem (#2279) 2023-11-11 23:00:35 -05:00
test_copy_speed.py Fix cl import in the copy_speed test and cifar example (#2586) 2023-12-03 09:22:07 -08:00
test_custom_function.py update pytest marks and CI test filters (#2587) 2023-12-03 15:20:44 -05:00
test_dtype.py Bitcast support / fast bf16 load (#2011) 2023-12-05 16:19:28 -08:00
test_dtype_alu.py green more dtypes tests (#2656) 2023-12-08 10:29:20 -08:00
test_gc.py fix up eye and fix gc test 2023-02-27 06:53:18 -08:00
test_hip_rdna3.py Non fp32 math (#2264) 2023-12-03 13:45:49 -08:00
test_image_dtype.py cast image doesn't work on nvidia (#2626) 2023-12-05 12:48:19 -08:00
test_jit.py split large jit into several graphs (#2650) 2023-12-07 10:58:25 -08:00
test_kernel_cache.py move device to device.py (#2466) 2023-11-27 11:34:37 -08:00
test_lazybuffer.py new style device (#2530) 2023-11-30 17:07:16 -08:00
test_lazyop.py Apply ruff linting rules to tests (#2473) 2023-11-27 21:24:06 -08:00
test_linearizer.py support vals on WebGPU, run more tests (#2668) 2023-12-07 16:45:21 -08:00
test_linearizer_failures.py support vals on WebGPU, run more tests (#2668) 2023-12-07 16:45:21 -08:00
test_masked_st.py multitensor start (#2676) 2023-12-07 17:07:05 -08:00
test_net_speed.py Profiling-helper (#2321) 2023-11-16 14:15:56 -08:00
test_nn.py support vals on WebGPU, run more tests (#2668) 2023-12-07 16:45:21 -08:00
test_ops.py Get all WEBGPU test_ops passing (#2646) 2023-12-06 07:40:37 -08:00
test_optim.py use class Foo: instead of class Foo(): (#1797) 2023-09-06 12:20:25 -07:00
test_randomness.py update pytest marks and CI test filters (#2587) 2023-12-03 15:20:44 -05:00
test_sample.py enable test_sample for all backend (#2593) 2023-12-03 17:20:27 -05:00
test_schedule.py rewrite 0 size loadop into a CONST (#2556) 2023-12-01 18:29:06 -05:00
test_search.py new style device (#2530) 2023-11-30 17:07:16 -08:00
test_specific_conv.py Non fp32 math (#2264) 2023-12-03 13:45:49 -08:00
test_speed_v_torch.py Apply ruff linting rules to tests (#2473) 2023-11-27 21:24:06 -08:00
test_symbolic_jit.py improve test assertions for jit cache len with graph executor (#2476) 2023-11-27 23:02:45 -08:00
test_symbolic_ops.py support vals on WebGPU, run more tests (#2668) 2023-12-07 16:45:21 -08:00
test_symbolic_shapetracker.py use one kvcache tensor in gpt2 instead of two separate caches (#2662) 2023-12-06 20:59:17 -05:00
test_tensor.py move to new cached fetch (#2493) 2023-11-28 17:36:55 -08:00
test_tensor_data.py masked shapetrackers (#2657) 2023-12-06 11:22:26 -08:00
test_to_numpy.py Apply ruff linting rules to tests (#2473) 2023-11-27 21:24:06 -08:00
test_uops.py support vals on WebGPU, run more tests (#2668) 2023-12-07 16:45:21 -08:00
test_winograd.py Profiling-helper (#2321) 2023-11-16 14:15:56 -08:00
test_zero_copy.py Remove as_buffer for TORCH (#2554) 2023-12-01 18:51:38 -08:00