Commit Graph

18 Commits

Author SHA1 Message Date
Genna Wingert
fce1a57211 refactor: Vector size generic (#4624) 2026-03-13 08:36:34 -04:00
Nathaniel Simard
3c6b710dca Refactor/device handle (#4593) 2026-03-11 18:46:49 -04:00
Genna Wingert
66733ae0eb refactor: Metadata type/strides refactor (#4534)
* Remove R::supported_line_sizes

* refactor: Metadata optimization

* Revert temp fix

* Rename `ShapeError` to `MetadataError`

* Cleanup

* Bump cubecl and cubek rev

* Fix doc test

* Bump cubecl rev
2026-02-19 10:07:37 -05:00
Florian Liao
51811d5563 chore: fix typos caught by xtask (#4406) 2026-01-30 07:38:12 -05:00
Genna Wingert
7b32614f16 refactor: Migrate to usize indexing (#4273)
* Migrate to `usize` indexing

* Fix merge

* Update cubecl

* Update cubek
2026-01-08 12:53:31 -05:00
Nathaniel Simard
19db09c968 Feat/error handling cubecl (#4076) 2025-11-27 11:05:09 -05:00
Nathaniel Simard
cc3ee1e0ef Chore/update dtypes (#3998) 2025-11-10 11:09:30 -05:00
Guillaume Lagrange
01912f80e2 Refactor Shape manipulations (#3845)
* Shape shape shape

* Add shape indexing/deref/as_slice...

* Add shape methods and refactor to use them

* Add shape cat + more refactor

* Add shape slice

* Cargo fmt

* More fmt

* Fix clippy

* Remove dead code

* Matmul output

* Remove comment
2025-10-09 09:37:17 -04:00
Nathaniel Simard
742e5ae1d1 Fix/autodiff/multi threads (#3793) 2025-10-03 11:38:46 -04:00
Crutcher Dunnavant
f5198e5e6f Chain lint inheritance [was: Disable new default clippy tests] (#3200) 2025-05-20 08:23:11 -04:00
Guillaume Lagrange
17e3167a70 Improve test tolerance assertions (#3024)
* wip new tolerance

* use the new assert_approx_eq

* fix or tag broken tests

* Fix more tests

* All tests pass cuda/wgpu

* Format

* Fix other modules tests tolerance

* Fix onnx import tolerances

* Remove broken comments

* Expected values are not defined with enough precision anyway

* Less strict tolerance for tch

* Fix docstring

* More tolerance

* Revert to 1e-1 abs (previous tolerance, probably set for tch)

* Tolerances againnnn

* Fix review

* relax some tolerances

---------

Co-authored-by: maxtremblay <t.maxime@pm.me>
2025-04-16 13:33:05 -04:00
Guillaume Lagrange
303a83e909 Update to edition 2024 (#2931)
* Upgrade to edition 2024

* Explicit unsafe

* Fix keywords and unnecessery ref modifiers

* Fix lifetime

* Update lock

* Cargo fmt

* Update CI prev
2025-03-20 10:28:51 -04:00
Nathaniel Simard
d9e41460ff Refactor burn jit => burn-cubecl (#2809) 2025-02-13 12:39:29 -05:00
nathaniel
3ed38cfcb9 Rename crate 2025-02-13 11:59:09 -05:00
Maxime Tremblay
29c383b87d Replace return with terminate (#2742)
* replace return with terminate

* bump cubecl

* cargo fmt
2025-01-27 09:57:28 -05:00
Genna Wingert
42e7c1f225 [Feat] 8-bit bool for JitBackend (#2526) 2024-11-29 09:21:13 -05:00
Guillaume Lagrange
9a2b841665 Add float cast op for JIT backend (#2511)
* Fix backend FloatElem docstring

* Remove elem type generic from JitTensor (float ops still using default dtype)

* Use execute_with_dtype macro for float ops

* Add cast for fusion

* Add warning for type promotion

* Add cast to backend router

* Add Primitive trait to correctly display the tensor dtype

* Fix primtiive associated type

* Fix jit bool tensor display

* Fix CI

* Fix clippy

* Whoops

* Fix candle bool tensor display

* Add shape to primitive trait

* Add primitive tests

* Rename trait to TensorMetadata

* Add missing changes to example

* Fix split from merge
2024-11-21 13:19:33 -05:00
Genna Wingert
d5e8e3185c Add documentation for custom cubecl kernels, update some outdated docs (#2404) 2024-10-25 13:22:23 -04:00