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.39"
license "Apache-2.0"
head "https://github.com/bentoml/OpenLLM, branch: main"
url "https://github.com/bentoml/OpenLLM/archive/v0.4.39.tar.gz"
sha256 "4ea3a00fc77a97c37a236f45f0969cf365a389a5c71dadc522a98eaea3bb233c"
on_linux do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.39/openllm-0.4.39-x86_64-unknown-linux-musl.tar.gz"
sha256 "2d2e3c7cf04bda481a3b9aa5e84d0145679d90a24a3d7a1a30796deb09105e35"
end
on_macos do
on_arm do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.39/openllm-0.4.39-aarch64-apple-darwin.tar.gz"
sha256 "08d24390081f02817f02cb1a96efe0cf37b155a3d26897421b6f6b2b5204c868"
end
on_intel do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.39/openllm-0.4.39-x86_64-apple-darwin.tar.gz"
sha256 "fd0252406f41fe933b528d050dd3bff52dfbb0e597e28ea79129f91fa3a51fff"
end
end
def install
on_linux do
bin.install "openllm-0.4.39-x86_64-unknown-linux-musl" => "openllm"
end
on_macos do
on_arm do
bin.install "openllm-0.4.39-aarch64-apple-darwin" => "openllm"
end
on_intel do
bin.install "openllm-0.4.39-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