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.8"
license "Apache-2.0"
head "https://github.com/bentoml/OpenLLM, branch: main"
url "https://github.com/bentoml/OpenLLM/archive/v0.4.8.tar.gz"
sha256 "e0c0603bc679634ad040932c590a5ddcf92a2cc4fe853a09e04be9e47ea8781a"
on_linux do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.8/openllm-0.4.8-x86_64-unknown-linux-musl.tar.gz"
sha256 "838b213cf0dc1c70be897ea16c8f4b6f935df793d63fe461dce3d9acd46c4712"
end
on_macos do
on_arm do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.8/openllm-0.4.8-aarch64-apple-darwin.tar.gz"
sha256 "79718e138dbf1752178b96e90dbe61fa31343c466b251bde0bf296259ba7e03b"
end
on_intel do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.8/openllm-0.4.8-x86_64-apple-darwin.tar.gz"
sha256 "92298a1dbcfbec6a8955d6c77b0e5bf2114edd258b5d4919a95c24432036ea20"
end
end
def install
on_linux do
bin.install "openllm-0.4.8-x86_64-unknown-linux-musl" => "openllm"
end
on_macos do
on_arm do
bin.install "openllm-0.4.8-aarch64-apple-darwin" => "openllm"
end
on_intel do
bin.install "openllm-0.4.8-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