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.18"
license "Apache-2.0"
head "https://github.com/bentoml/OpenLLM, branch: main"
url "https://github.com/bentoml/OpenLLM/archive/v0.4.18.tar.gz"
sha256 "8ab7cb7c8474f873bf4cb63fa6d6458d1ae26996a8b776f55be0ccfaf462e4d8"
on_linux do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.18/openllm-0.4.18-x86_64-unknown-linux-musl.tar.gz"
sha256 "e7f1a3d16086e2b562ff6fc4bf0b4b57fecaaeebfc7bb8c335d03b51c1c7d92f"
end
on_macos do
on_arm do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.18/openllm-0.4.18-aarch64-apple-darwin.tar.gz"
sha256 "07ddf07ce3c7466e66bd90fb6ede8f5bef4209977cbeddb063c25425b212673c"
end
on_intel do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.18/openllm-0.4.18-x86_64-apple-darwin.tar.gz"
sha256 "4d4412dd2d9fc1103494089f043afcb7a875751f6ebcd717d0262f2469fb785f"
end
end
def install
on_linux do
bin.install "openllm-0.4.18-x86_64-unknown-linux-musl" => "openllm"
end
on_macos do
on_arm do
bin.install "openllm-0.4.18-aarch64-apple-darwin" => "openllm"
end
on_intel do
bin.install "openllm-0.4.18-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