mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-02-02 11:52:19 -05:00
48 lines
1.6 KiB
Ruby
Generated
48 lines
1.6 KiB
Ruby
Generated
# Generated by tools/update-brew-tap.py. DO NOT EDIT!
|
|
# Please refers to the original template file Formula/openllm.rb.j2
|
|
# vim: set ft=ruby:
|
|
class Openllm < Formula
|
|
desc "OpenLLM: Operating LLMs in production"
|
|
homepage "https://github.com/bentoml/OpenLLM"
|
|
version "0.4.31"
|
|
license "Apache-2.0"
|
|
head "https://github.com/bentoml/OpenLLM, branch: main"
|
|
url "https://github.com/bentoml/OpenLLM/archive/v0.4.31.tar.gz"
|
|
sha256 "450bd0b8cb9f670ada96b8f57094c55e4a86d4aa9943ad6c6729816827795a5c"
|
|
|
|
on_linux do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.31/openllm-0.4.31-x86_64-unknown-linux-musl.tar.gz"
|
|
sha256 "e8bf4034774d079d4e3c7654ce2230af49b334289e7a7bf195d0f06b2891224a"
|
|
end
|
|
on_macos do
|
|
on_arm do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.31/openllm-0.4.31-aarch64-apple-darwin.tar.gz"
|
|
sha256 "9b79494aab142ffa284a675b8ea35788153b58a0ae4357b0dd73a459a0b1bdf7"
|
|
end
|
|
on_intel do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.31/openllm-0.4.31-x86_64-apple-darwin.tar.gz"
|
|
sha256 "7e5051ec2252105b7ffd9f1b0e365dc267fd58bcb78e5b12f0ed2c19aad04c84"
|
|
end
|
|
end
|
|
|
|
def install
|
|
on_linux do
|
|
bin.install "openllm-0.4.31-x86_64-unknown-linux-musl" => "openllm"
|
|
end
|
|
on_macos do
|
|
on_arm do
|
|
bin.install "openllm-0.4.31-aarch64-apple-darwin" => "openllm"
|
|
end
|
|
on_intel do
|
|
bin.install "openllm-0.4.31-x86_64-apple-darwin" => "openllm"
|
|
end
|
|
end
|
|
ohai "To get started, run: 'openllm --help'"
|
|
ohai "To see supported models, run: 'openllm models'"
|
|
end
|
|
|
|
test do
|
|
shell_output "#{bin}/openllm --version"
|
|
end
|
|
end
|