Files
OpenLLM/Formula/openllm.rb
2023-08-08 22:18:26 -04:00

38 lines
1.4 KiB
Ruby

# 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.2.17"
license "Apache-2.0"
head "https://github.com/bentoml/OpenLLM, branch: main"
url "https://github.com/bentoml/OpenLLM/archive/v0.2.17.tar.gz"
sha256 "8a3f3a0e8e700f512b45996b7cfbbf0146004a5583ccb8d4645689859d39c04d"
on_linux do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.2.17/openllm-0.2.17-x86_64-unknown-linux-musl.tar.gz"
sha256 "8a880662312476793a062f8d6c5d025469848ed8970029c3a06d95a62259e1cc"
end
on_macos do
on_arm do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.2.17/openllm-0.2.17-aarch64-apple-darwin.tar.gz"
sha256 "ae31cffc349e8e164814e888a5e708e5fe177d91cbf77c9190ad007c02614925"
end
on_intel do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.2.17/openllm-0.2.17-x86_64-apple-darwin.tar.gz"
sha256 "364a01450b77960a96aecdbd27953b2c60c9fd5ada477ec70c97497c52fcb70d"
end
end
def install
bin.install "openllm"
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