Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,27 @@

## Installation

### Install with Cargo

```bash
make build
cargo install puma
```

The binary will be available as `./puma`.
### Build from Source

**Prerequisites:** Rust 1.70+ and Make

```bash
# Clone the repository
git clone https://github.com/InftyAI/PUMA.git
cd PUMA

# Build the binary
make build

# The binary will be available at ./puma
./puma --version
```

## Quick Start

Expand Down
3 changes: 2 additions & 1 deletion src/cli/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ pub async fn run(cli: Cli) {
Commands::PULL(args) => match args.provider {
Provider::Huggingface => {
let downloader = HuggingFaceDownloader::new();
if let Err(e) = downloader.download_model(&args.model).await {
// Make sure to use lowercase for model name to ensure consistent caching and registry entries.
if let Err(e) = downloader.download_model(&args.model.to_lowercase()).await {
eprintln!("❌ Error downloading model: {}", e);
std::process::exit(1);
}
Expand Down
Loading