Commit Graph

136 Commits

Author SHA1 Message Date
Laurent Mazare 4c967b9184
Use the hub files for the marian example. (#1220)
* Use the hub files for the marian example.

* Use the secondary decoder.

* Add a readme.

* More readme.
2023-10-30 17:29:36 +00:00
Laurent Mazare 0ec5ebcec4
Use the hub model file when possible. (#1190)
* Use the hub model file when possible.

* And add a mention in the main readme.
2023-10-26 20:00:50 +01:00
Blanchon e37b487767
Add Blip to online demos README.md (#1184)
* Add Blip to online demos README.md

* Punctuation.

---------

Co-authored-by: Laurent Mazare <laurent.mazare@gmail.com>
2023-10-26 11:07:01 +01:00
Laurent Mazare e7b886d56f
Add a link to the optimisers crate. (#1180) 2023-10-25 21:51:45 +01:00
Laurent Mazare df2f89b6cf
Add some KV cache to blip. (#1150)
* Add some KV cache to blip.

* Mention BLIP in the readme.
2023-10-22 09:44:48 +01:00
Laurent Mazare 31ca4897bb
Readme updates. (#1134) 2023-10-20 09:08:39 +01:00
Laurent Mazare 93c25e8844
Expose the larger resnets (50/101/152) in the example. (#1131) 2023-10-19 13:48:28 +01:00
Laurent Mazare 6f76383f38
Add a readme for the resnet example. (#1129) 2023-10-19 09:58:50 +01:00
Laurent Mazare 63c204c79e
Add a mention to the replit-code model in the readme. (#1121) 2023-10-18 11:27:23 +01:00
Laurent Mazare 8921d5027c
Add support for phi-1.0 (#1093)
* Add support for phi-1.0

* Update the readme.
2023-10-14 20:15:43 +01:00
Laurent Mazare e7560443e4
Convmixer example (#1074)
* Add a convmixer based example.

* Mention the model in the readme.
2023-10-11 19:51:10 +01:00
Laurent Mazare 955e00b2e8
Add to the readmes for stable-lm. (#1047) 2023-10-06 21:26:04 +01:00
Laurent Mazare 0ac2db577b
Add an entry about WSL slowness to the faq. (#997) 2023-09-29 17:04:52 +01:00
Laurent Mazare 49fa184a35
Mistral readme (#994)
* Mistral: print the generated text.

* Add mistral to the readmes.
2023-09-29 11:50:50 +01:00
Radamés Ajna 29bd6b2979
Phi 1.5 wasm module (#966)
* add phi wasm module

* replace input with textarea

* trim input prompt

* stop on <|endoftext|>

* formatting

* clean up

* add blurb, and syntax highlighting

* add phi-v1.5 wasm

* add note

* hide Options on details

* add first token to generated text

* whitespaces for new line

* fix: abort -> aborted
2023-09-27 06:07:11 +01:00
Laurent Mazare 3ef328c53d
Mention the new phi model in the readme. (#932) 2023-09-22 21:24:51 +01:00
Radamés Ajna 0c8e983514
update link to t5 (#931) 2023-09-22 20:30:01 +01:00
Laurent Mazare 728e167334
Add details on wuerstchen. (#911) 2023-09-20 13:09:35 +01:00
Laurent Mazare eeb54716dd
Tweaks for the T5 example. (#874) 2023-09-17 10:05:15 +01:00
Laurent Mazare 7cafca835a
readme tweaks. (#867) 2023-09-16 07:22:24 +01:00
Radamés Ajna 04ca2b9ebd
Update README + SAM (#866)
* use serde-wasm-bindgen, faster serialization

* update readme with demos
2023-09-16 07:34:13 +02:00
Ssslakter 81a36b8713
Add link error info (#851)
* add link error info

* grammar fix
2023-09-15 07:25:10 +01:00
Laurent Mazare e6f040d6e3
Readme gallery (#834)
* More readme tweaks.

* Update README.md
2023-09-13 09:05:47 +01:00
Eric Buehler 25aacda28e
Add useful libraries section (#825)
* Add useful libraries section

* Add link
2023-09-12 11:06:21 +01:00
Laurent Mazare 3dd5804299
Fix typo in readme. (#799) 2023-09-10 13:49:47 +01:00
Laurent Mazare e5703d2f56
Draw the mask on a merged image. (#775)
* Draw the mask on a merged image.

* Clippy fix.

* Enable the target point by default.

* Add to the readme.
2023-09-08 14:04:34 +01:00
Zsombor cfcbec9fc7
Add small customization to the build (#768)
* Add ability to override the compiler used by NVCC from an environment variable

* Allow relative paths in CANDLE_FLASH_ATTN_BUILD_DIR

* Add the compilation failure to the readme, with a possible solution

* Adjust the error message, and remove the special handling of the relative paths
2023-09-08 08:15:14 +01:00
Laurent Mazare dabaa479b9
Update README.md (#714) 2023-09-02 07:56:12 +01:00
Laurent Mazare f2d476ca65
Replace the discord link. (#701) 2023-09-01 09:43:55 +01:00
Laurent Mazare 1d6bff53fc
Changelog update. (#656) 2023-08-29 12:55:56 +01:00
Laurent Mazare 9137c63175
Update README.md (#640) 2023-08-28 11:34:54 +01:00
Laurent Mazare 46eb225ba5
Add some missing entries to the changelog. (#606) 2023-08-25 18:01:38 +01:00
Nicolas Patry a87c6f7652
Merge pull request #561 from patrickvonplaten/add_installation
Improve installation section and "get started"
2023-08-24 16:25:52 +02:00
Laurent Mazare 79916c2edb
Use the hub weights for efficientnet. (#573) 2023-08-23 18:20:21 +01:00
Patrick von Platen 1f58bdbb1d
Apply suggestions from code review 2023-08-23 13:33:45 +02:00
Patrick von Platen 2c280007e8
Apply suggestions from code review 2023-08-23 13:26:21 +02:00
Patrick von Platen 283f6c048d fix code snippets 2023-08-23 09:04:36 +00:00
Patrick von Platen 7c0ca80d3a move installation to book 2023-08-23 08:52:53 +00:00
Patrick von Platen b558d08b85 improve 2023-08-23 08:42:47 +00:00
Patrick von Platen 34cb9f924f improve 2023-08-23 08:40:23 +00:00
Patrick von Platen d4968295a0 improve 2023-08-23 08:37:08 +00:00
Patrick von Platen 65e146c72d Add installation section 2023-08-23 08:32:59 +00:00
Patrick von Platen 3743bed2d7
Fix the `?` operator cannot be applied to type `Device` of example (#560)
According to the API:

```rust
inp = inp.to_device(&Device::Cuda(0)?)?;
```

cannot work as `Cuda(...)` expects a type `Device` not an integer.

I'd recommend to instead use `new_cuda(...)`
2023-08-23 09:29:50 +01:00
Laurent Mazare 20ce3e9f39
Sketch the yolo wasm example. (#546)
* Sketch the yolo wasm example.

* Web ui.

* Get the web ui to work.

* UI tweaks.

* More UI tweaks.

* Use the natural width/height.

* Add a link to the hf space in the readme.
2023-08-22 11:56:43 +01:00
Laurent Mazare f16bb97401
Use the yolo-v8 weights from the hub. (#544)
* Use the weights from the hub.

* Add to the readme.
2023-08-21 22:07:36 +01:00
Laurent Mazare e3d2786ffb
Add a couple functions required for yolo. (#527) 2023-08-20 17:02:05 +01:00
Laurent Mazare 372f8912c5
Minor readme tweaks. (#526) 2023-08-20 14:33:21 +01:00
Laurent Mazare b64e782c2d
Use the hub to retrieve dinov2 model weights. (#507) 2023-08-18 18:27:31 +01:00
Laurent Mazare b9661a1c25
Enable the image crate by default in examples (#501)
* Enable the image crate by default so that it's easier to compile the stable diffusion example.

* Also update the readme.
2023-08-18 10:00:05 +01:00
Laurent Mazare 13401df4d1
Add an abstract type for RmsNorm. (#499) 2023-08-18 08:52:14 +01:00
Laurent Mazare f708efb19c
Add some accelerate details on the readme. (#480) 2023-08-17 08:26:02 +01:00
Laurent Mazare 90374097dc
Cudnn support (#445)
* Add a cudnn feature to be used for conv2d.

* Allocate the proper workspace.

* Only create a single cudnn handle per cuda device.

* Proper cudnn usage.

* Bugfix.
2023-08-14 21:30:41 +01:00
Laurent Mazare eab54e4490
Fix the tests for mkl. (#437) 2023-08-14 08:09:27 +01:00
Laurent Mazare 972078e1ae
Update the readme with the discord server and common errors. (#423) 2023-08-12 16:45:58 +01:00
Laurent Mazare 2ba6b2826f
Fix the readme instructions for stable-diffusion. (#415) 2023-08-11 18:59:04 +01:00
Laurent Mazare 1d0157bbc4
Stable diffusion: retrieve the model files from the HF hub. (#414)
* Retrieve the model files from the HF hub in the stable diffusion example.

* Add to the readme.
2023-08-11 18:57:06 +01:00
Nicolas Patry 7f710a573d
Merge pull request #374 from Rocketknight1/readme_fixes
README.md typos and grammar fixes
2023-08-10 16:34:19 +02:00
Laurent Mazare b765f2c37f
Update the wasm build instructions. (#389) 2023-08-10 11:29:43 +01:00
Matt 6a2137af4f
Update README.md 2023-08-10 00:19:58 +01:00
Philipp Parzer 653ec5abc1
Update README.md (#376)
add missing word
2023-08-09 20:09:21 +01:00
Matt 0cef3998fd
README.md typos and grammar fixes 2023-08-09 19:36:03 +01:00
Nicolas Patry 0dd94eff4c
Merge pull request #367 from eltociear/eltociear-patch-1
Update README.md
2023-08-09 19:48:31 +02:00
Gabriel Martín Blázquez 5b79b38bc7
Remove extra square bracket (#372) 2023-08-09 18:24:28 +01:00
Ikko Eltociear Ashimine a4f6977087
Update README.md
dauting -> daunting
2023-08-10 00:11:11 +09:00
choisi 47a5bee249 fix repo link 2023-08-09 11:29:48 +08:00
Laurent Mazare 620f83cf66
Add the candle-datasets crate (#322)
* Move the vision datasets to a separate crate.

* Move the batcher bits.

* Update the readme.

* Move the tiny-stories bits.

---------

Co-authored-by: Jane Doe <jane.doe@example.org>
2023-08-05 08:56:50 +01:00
Laurent Mazare e2acbe1e72
Update the wasm example locations in the readme. (#306) 2023-08-02 11:36:43 +01:00
Nicolas Patry afb5e24a63 Remove map ownership from `save`. 2023-08-01 17:19:22 +02:00
Nicolas Patry 89d1fd03e5 Adding new surface for savetensors (global load, global save). 2023-08-01 15:00:38 +02:00
Nicolas Patry 310094310b Modifying `safetensors` export to get simple load and save. 2023-08-01 15:00:38 +02:00
Nicolas Patry 6242a1470e Starting the book. 2023-08-01 14:26:02 +02:00
Laurent Mazare fb84ead8f7
Add the starcoder example to the readme. (#268)
* Add the starcoder example to the readme.

* Tweak.
2023-07-28 13:26:23 +01:00
Laurent Mazare 6475bfadfe
Simplify Tensor::randn. (#255)
* Simplify Tensor::randn.

* Also switch Tensor::rand to use a generic dtype.

* Support sampling for f16.

* Cleanup.
2023-07-27 07:40:36 +01:00
Laurent Mazare 160ba09d30
Polish the llama2 wasm ui. (#232)
* Polish the llama2 wasm ui.

* readme update.
2023-07-24 15:28:27 +01:00
Laurent Mazare 12d6dc018d
Support for MQA for llama v2. (#205)
* Support for MQA for llama v2.

* More llama-v2.

* Move the rotary embedding precomputation in the cache.

* Add a v2 flag.

* Use the hf model.
2023-07-20 06:39:04 +01:00
Nicolas Patry dcb4a9291e Expliciting how to enable cuda. 2023-07-14 17:08:05 +02:00
Nicolas Patry 2d5e952cf9 Updating the example to reflect new command lines. 2023-07-14 16:56:33 +02:00
Laurent Mazare d88b6cdca9
Add backtrace information to errors where relevant. (#166)
* Add backtrace information to errors where relevant.

* More backtrace information.

* Add to the FAQ.
2023-07-14 09:31:25 +01:00
Laurent Mazare 465fc8c0c5
Add some documentation and test to the linear layer. (#151)
* Add some documentation and test to the linear layer.

* Layer norm doc.

* Minor tweaks.
2023-07-12 20:24:23 +01:00
laurent 91817b9e57 Tweak the table formatting. 2023-07-12 18:43:52 +01:00
Nicolas Patry 6e938cfe9d Adding cheatsheet + expand on other ML frameworks. 2023-07-12 18:35:34 +02:00
Nicolas Patry 868743b8b9 Expanding a bit the README 2023-07-10 12:51:37 +02:00
Laurent Mazare f1e29cd405
Allow using mkl in tests. (#90) 2023-07-06 13:25:05 +01:00
laurent 47937650aa And add back some readme :) 2023-06-27 15:50:43 +01:00
Nicolas Patry d7f729fb8f Refactor the hierarchy. 2023-06-27 11:57:27 +02:00
Laurent Mazare fe7a5f53a1
Initial commit 2023-06-19 17:06:31 +01:00