Files
OpenLLM/Formula/openllm.rb

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.41"
license "Apache-2.0"
head "https://github.com/bentoml/OpenLLM, branch: main"
url "https://github.com/bentoml/OpenLLM/archive/v0.4.41.tar.gz"
sha256 "47596e297fc24ab69b2240e53a1d2cd7c785a79f2c6a03163f7c8cdac18984fb"
on_linux do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.41/openllm-0.4.41-x86_64-unknown-linux-musl.tar.gz"
sha256 "f17a956281687052f6dbb983729d7320eed9dce797bb72fcb6b671370d47e42d"
end
on_macos do
on_arm do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.41/openllm-0.4.41-aarch64-apple-darwin.tar.gz"
sha256 "f8798d27df3b4d9cc0e8ea1fe42ab60ac6c1438bd70bad98f57208809763d79c"
end
on_intel do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.41/openllm-0.4.41-x86_64-apple-darwin.tar.gz"
sha256 "2c5b880915a69b5ade00dbc1e725cf23247511085e76ef8a42529100fe376dc8"
end
end
def install
on_linux do
bin.install "openllm-0.4.41-x86_64-unknown-linux-musl" => "openllm"
end
on_macos do
on_arm do
bin.install "openllm-0.4.41-aarch64-apple-darwin" => "openllm"
end
on_intel do
bin.install "openllm-0.4.41-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