-
Notifications
You must be signed in to change notification settings - Fork 940
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into qmm-fix3
- Loading branch information
Showing
29 changed files
with
2,933 additions
and
403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# PaliGemma | ||
|
||
[HuggingFace Model Card](https://huggingface.co/google/paligemma-3b-pt-224) - | ||
[Model Page](https://ai.google.dev/gemma/docs/paligemma) | ||
|
||
```bash | ||
cargo run --features cuda --release --example paligemma -- \ | ||
--prompt "caption fr" --image candle-examples/examples/yolo-v8/assets/bike.jpg | ||
``` | ||
|
||
``` | ||
loaded image with shape Tensor[dims 1, 3, 224, 224; bf16, cuda:0] | ||
loaded the model in 1.267744448s | ||
caption fr. Un groupe de cyclistes qui sont dans la rue. | ||
13 tokens generated (56.52 token/s) | ||
``` | ||
|
||
```bash | ||
cargo run --features cuda --release --example paligemma -- \ | ||
--prompt "caption fr" --image candle-examples/examples/flux/assets/flux-robot.jpg | ||
``` | ||
|
||
``` | ||
loaded image with shape Tensor[dims 1, 3, 224, 224; bf16, cuda:0] | ||
loaded the model in 1.271492621s | ||
caption fr une image d' un robot sur la plage avec le mot rouillé | ||
15 tokens generated (62.78 token/s) | ||
``` |
Oops, something went wrong.