Commit Graph

59 Commits

Author SHA1 Message Date
Laurent Mazare f7773d498a
Deactivate some book test that breaks the CI. (#2233)
* Deactivate some book test that breaks the CI.

* Clippy fix.
2024-06-01 09:44:22 +02:00
Laurent Mazare 9b8537a62f
Remove the deprecated wav crate in favor of hound. (#2202) 2024-05-21 21:43:35 +02:00
hardlydearly c68ed8963f
chore: fix some typos in comments (#2121)
Signed-off-by: hardlydearly <799511800@qq.com>
2024-04-28 08:34:32 +02:00
Nicolas Patry b4cb982e49
Simplifying our internal cargo dependencies. (#1529) 2024-01-07 12:04:14 +01:00
Nicolas Patry d76ac20e0e Fix. 2023-12-29 12:06:38 +01:00
Nicolas Patry 5b12fbb143 Trying to fix flakyness by making hub_2 and hub_3 serial tests (potential issue on mingw with mmap). 2023-12-29 11:13:33 +01:00
Laurent Mazare d35f0a1376
Bump the crate version to 0.3.3. (#1490) 2023-12-28 13:38:30 +01:00
Laurent Mazare 94817dac56
Bump the crate version to 0.3.2. (#1452) 2023-12-17 05:34:53 -06:00
Laurent Mazare 1e86717bf2
Fix a couple typos (#1451)
* Mixtral quantized instruct.

* Fix a couple typos.
2023-12-17 05:20:05 -06:00
Laurent Mazare a209ce8ceb
Update for 0.3.1. (#1324) 2023-11-11 18:48:52 +00:00
OlivierDehaene 75629981bc
feat: parse Cuda compute cap from env (#1066)
* feat: add support for multiple compute caps

* Revert to one compute cap

* fmt

* fix
2023-10-16 15:37:38 +01:00
Evgeny Igumnov ff513314fc
small misspeling and polish fix 2023-10-03 15:47:04 +06:00
Nicolas Patry 7b06872f90
Merge pull request #926 from evgenyigumnov/book-trainin-simplified
Book train simlified example
2023-10-03 10:41:30 +02:00
Nicolas Patry 638ccf9f46 Fix include code. 2023-10-02 10:22:44 +02:00
Nicolas Patry 0baf5a1e19 Fixed PR warnings. 2023-10-02 10:15:10 +02:00
Laurent Mazare 096dee7073
Bump the version to 0.3.0. (#1014)
* Bump the version to 0.3.0.

* Changelog update.
2023-10-01 13:51:57 +01:00
Evgeny Igumnov 4ac6039a42
Merge branch 'main' into book-trainin-simplified 2023-09-22 11:01:23 +06:00
Evgeny Igumnov 52a60ca3ad
https://github.com/huggingface/candle/issues/637 2023-09-22 10:57:11 +06:00
Ikko Eltociear Ashimine 9cf26c5cff
Fix typo in error_manage.md (#888)
occured -> occurred
2023-09-19 07:14:15 +01:00
Laurent Mazare 7dd8e12472
Bump the crate versions to v0.2.3. (#886)
* Bump the crate version.

* Also update the python bindings.
2023-09-18 12:14:03 +01:00
Laurent Mazare 2257f4d475
Bump the crate version + update the changelog. (#822) 2023-09-12 06:39:24 +01:00
Ssslakter 18d6db2180
more doc fixes (#804) 2023-09-10 20:36:29 +01:00
Ssslakter 6c58fc59fd
Little docs changes (#791)
* Little doc fixes

* change imports in lib

* rename candle_core to candle

* revert "rename candle_core to candle"
2023-09-10 12:02:52 +01:00
Laurent Mazare 618f4e4c78
Add some documentation. (#673)
* Add some documentation.

* Bump the crate version.
2023-08-30 11:54:00 +01:00
Nicolas Patry 2d5b7a735d Update the book with new layout of datasets. 2023-08-29 12:51:59 +02:00
Nicolas Patry 09c5bd1881 Rebased 2023-08-28 15:47:03 +02:00
Nicolas Patry dd06d93d0b Cleanup:
- Moved around book from `examples` to `candle-book` proper (overlapping
  the book and the lib structures)
2023-08-28 15:15:26 +02:00
Nicolas Patry c109c93db7 Update candle-book/src/SUMMARY.md 2023-08-28 15:15:02 +02:00
Nicolas Patry d7a273be51 Training:
- Removed a lot of surface (SerializedFileReader ownership is really
  painful).
- Moved example + vision to hf.co version.
- Removed feature gate.
2023-08-28 15:15:01 +02:00
Nicolas Patry dd02f589c0 Better training+hub 2023-08-28 15:14:43 +02:00
Nicolas Patry 7602323667 [Book] Add small error management + start training (with generic dataset
inclusion).
2023-08-28 15:14:17 +02:00
Patrick von Platen 1f58bdbb1d
Apply suggestions from code review 2023-08-23 13:33:45 +02:00
Patrick von Platen c98d3cfd8b
Update candle-book/src/guide/installation.md 2023-08-23 13:31:54 +02:00
Patrick von Platen c5e43ad0ab
Apply suggestions from code review 2023-08-23 13:27:29 +02:00
Patrick von Platen 2c280007e8
Apply suggestions from code review 2023-08-23 13:26:21 +02:00
Patrick von Platen 649202024c fix code snippets 2023-08-23 09:05:07 +00:00
Patrick von Platen c8211fc474 fix code snippets 2023-08-23 09:04:08 +00:00
Patrick von Platen 7732bf6238 correct 2023-08-23 08:54:48 +00:00
Patrick von Platen 7c0ca80d3a move installation to book 2023-08-23 08:52:53 +00:00
Laurent Mazare 95462c6a2e
Add a vision transformer example (dino-v2). (#502)
* Add a vision transformer example (dino-v2).

* Add some documentation + test.

* CI fix.

* Another fix (still unable to replicate the errors locally :( )
2023-08-18 11:58:06 +01:00
Nicolas Patry dece0b8a76
Merge pull request #263 from huggingface/book_3
Book 3 (advanced loading + hub)
2023-08-09 16:50:11 +02:00
choisi 47a5bee249 fix repo link 2023-08-09 11:29:48 +08:00
Nicolas Patry dba31473d4 Typos and format and CD only when PR lands. 2023-08-02 19:18:43 +02:00
Nicolas Patry 1b2b32e58d Remove dead page.t 2023-08-02 18:59:36 +02:00
Nicolas Patry 166f4d1101 `s/candle/candle_core/g` 2023-08-02 18:40:24 +02:00
Nicolas Patry ae68635af9 Add small error management. 2023-08-02 18:40:24 +02:00
Nicolas Patry a70b95f9e7 Marking unwritten chapters as Draft (disables the link). 2023-08-02 18:40:24 +02:00
Nicolas Patry a44471a305 Adding more details on how to load things.
- Loading with memmap
- Loading a sharded tensor
- Moved some snippets to `candle-examples/src/lib.rs` This is because
managing book specific dependencies is a pain https://github.com/rust-lang/mdBook/issues/706
- This causes a non aligned inclusion  https://github.com/rust-lang/mdBook/pull/1856 which we have
to ignore fmt to remove.

mdbook might need some more love :)
2023-08-02 18:40:24 +02:00
Nicolas Patry 45642a8530 Fixing examples. 2023-08-02 18:40:24 +02:00
Nicolas Patry 82464166e4 3rd phase. 2023-08-02 18:40:24 +02:00