mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-01-22 06:19:35 -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.3.7"
|
|
license "Apache-2.0"
|
|
head "https://github.com/bentoml/OpenLLM, branch: main"
|
|
url "https://github.com/bentoml/OpenLLM/archive/v0.3.7.tar.gz"
|
|
sha256 "8b07d1f7b25682ba93bd1fb7932efae1db20b965a73d749086e0ea5a6c00e494"
|
|
|
|
on_linux do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.3.7/openllm-0.3.7-x86_64-unknown-linux-musl.tar.gz"
|
|
sha256 "e5b25fbdd7241be6115a81248ed38379f40e2110c2ed8f3364c36819b1a88c29"
|
|
end
|
|
on_macos do
|
|
on_arm do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.3.7/openllm-0.3.7-aarch64-apple-darwin.tar.gz"
|
|
sha256 "9298dd17805b40e0268a5fcdc3cc2c778127ec53fe1c017f5e4f7dd6b454be1e"
|
|
end
|
|
on_intel do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.3.7/openllm-0.3.7-x86_64-apple-darwin.tar.gz"
|
|
sha256 "6a69c214dd440b1659afe40e056f49cb2da06907664a5a9ff2bbebde33a7db17"
|
|
end
|
|
end
|
|
|
|
def install
|
|
on_linux do
|
|
bin.install "openllm-0.3.7-x86_64-unknown-linux-musl" => "openllm"
|
|
end
|
|
on_macos do
|
|
on_arm do
|
|
bin.install "openllm-0.3.7-aarch64-apple-darwin" => "openllm"
|
|
end
|
|
on_intel do
|
|
bin.install "openllm-0.3.7-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
|