Commit Graph

14 Commits

Author SHA1 Message Date
cac51fe16a (hotfix) fix the doc test for indexer (#2970) 2025-05-28 06:13:26 +02:00
13b2a8a4a0 Complete the missing backticks in the comments (#2469) 2024-09-11 16:37:05 +02:00
d3fe989d08 Add documentation examples for Tensor::i and Tensor::narrow methods (#2308)
* Add documentation examples for `Tensor` methods

* Apply fmt.

* Cosmetic tweaks.

---------

Co-authored-by: Laurent <laurent.mazare@gmail.com>
2024-08-10 08:11:09 +02:00
1e86717bf2 Fix a couple typos (#1451)
* Mixtral quantized instruct.

* Fix a couple typos.
2023-12-17 05:20:05 -06:00
14a2bdc062 Small tweak: remove the macro usage for the range indexing trait. (#1376) 2023-11-26 16:30:59 +00:00
d6447ad635 Tensor based indexing. (#842) 2023-09-14 07:47:07 +01:00
51e51da896 Rename the candle crate to candle-core (#301)
* Rename to candle-core.

* More candle-core renaming.
2023-08-02 08:20:22 +01:00
f291065f6c Do not panic on empty ranges. (#257) 2023-07-27 09:28:47 +01:00
8aab787384 Test the index op + bugfix. (#148) 2023-07-12 15:42:36 +01:00
b3b39cca92 Llama batch (#144)
* Add a batch dimension to llama.

* Bugfixes.
2023-07-12 11:38:19 +01:00
2be09dbb1d Macroify the repeating bits. (#129) 2023-07-10 19:44:06 +01:00
1ad235953b Clippy ? 2023-07-10 19:34:38 +02:00
5ea747c047 Update candle-core/src/indexer.rs 2023-07-10 19:02:35 +02:00
ef0375d8bc i(..) indexing sugar (partial).
- Only range, and select (no tensor_select)
- No negative indexing
2023-07-10 17:34:04 +02:00