forked from containers/ramalama
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request containers#620 from containers/ramalama-bench
Introduce ramalama bench
- Loading branch information
Showing
4 changed files
with
82 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
% ramalama-bench 1 | ||
|
||
## NAME | ||
ramalama\-bench - benchmark specified AI Model | ||
|
||
## SYNOPSIS | ||
**ramalama bench** [*options*] *model* [arg ...] | ||
|
||
## MODEL TRANSPORTS | ||
|
||
| Transports | Prefix | Web Site | | ||
| ------------- | ------ | --------------------------------------------------- | | ||
| URL based | https://, http://, file:// | `https://web.site/ai.model`, `file://tmp/ai.model`| | ||
| HuggingFace | huggingface://, hf://, hf.co/ | [`huggingface.co`](https://www.huggingface.co) | | ||
| Ollama | ollama:// | [`ollama.com`](https://www.ollama.com) | | ||
| OCI Container Registries | oci:// | [`opencontainers.org`](https://opencontainers.org)| | ||
|||Examples: [`quay.io`](https://quay.io), [`Docker Hub`](https://docker.io),[`Artifactory`](https://artifactory.com)| | ||
|
||
RamaLama defaults to the Ollama registry transport. This default can be overridden in the `ramalama.conf` file or via the RAMALAMA_TRANSPORTS | ||
environment. `export RAMALAMA_TRANSPORT=huggingface` Changes RamaLama to use huggingface transport. | ||
|
||
Modify individual model transports by specifying the `huggingface://`, `oci://`, `ollama://`, `https://`, `http://`, `file://` prefix to the model. | ||
|
||
URL support means if a model is on a web site or even on your local system, you can run it directly. | ||
|
||
## OPTIONS | ||
|
||
#### **--help**, **-h** | ||
show this help message and exit | ||
|
||
## DESCRIPTION | ||
Benchmark specified AI Model. | ||
|
||
## EXAMPLES | ||
|
||
``` | ||
ramalama bench granite-moe3 | ||
``` | ||
|
||
## SEE ALSO | ||
**[ramalama(1)](ramalama.1.md)** | ||
|
||
## HISTORY | ||
Jan 2025, Originally compiled by Eric Curtin <[email protected]> |
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