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.15"
license "Apache-2.0"
head "https://github.com/bentoml/OpenLLM, branch: main"
url "https://github.com/bentoml/OpenLLM/archive/v0.4.15.tar.gz"
sha256 "1cfa73e481e7d157d2d8f132758646f3771ccc1dbd68d881e8d22eda59e791d2"
on_linux do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.15/openllm-0.4.15-x86_64-unknown-linux-musl.tar.gz"
sha256 "7498701771b66b2c9f93aad527a259e30c27d1fb5e145051e145ae44c49cdf89"
end
on_macos do
on_arm do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.15/openllm-0.4.15-aarch64-apple-darwin.tar.gz"
sha256 "dd43aca85b61522c0d03418cd0fd09b2a9c4289fce8e9128380693220d89f9e7"
end
on_intel do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.15/openllm-0.4.15-x86_64-apple-darwin.tar.gz"
sha256 "336a0b40c5ba53dc40e386c2965ae96035435d0704c643ee1db7ffade0749bf4"
end
end
def install
on_linux do
bin.install "openllm-0.4.15-x86_64-unknown-linux-musl" => "openllm"
end
on_macos do
on_arm do
bin.install "openllm-0.4.15-aarch64-apple-darwin" => "openllm"
end
on_intel do
bin.install "openllm-0.4.15-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