mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-01-27 16:59:13 -05:00
48 lines
1.6 KiB
Ruby
Generated
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.36"
|
|
license "Apache-2.0"
|
|
head "https://github.com/bentoml/OpenLLM, branch: main"
|
|
url "https://github.com/bentoml/OpenLLM/archive/v0.4.36.tar.gz"
|
|
sha256 "f828d5bc92855fcfcf4fec5a087104ae1e73afc7eb14cef1dcca825392e21977"
|
|
|
|
on_linux do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.36/openllm-0.4.36-x86_64-unknown-linux-musl.tar.gz"
|
|
sha256 "2a76a18022b8d262e916213b53e91ec3591a18d4fba462b0a76ef645499f2440"
|
|
end
|
|
on_macos do
|
|
on_arm do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.36/openllm-0.4.36-aarch64-apple-darwin.tar.gz"
|
|
sha256 "b8c9857005fce474a715dbdd06674fd5ab958f0860b16c011d1c3e420147d73d"
|
|
end
|
|
on_intel do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.36/openllm-0.4.36-x86_64-apple-darwin.tar.gz"
|
|
sha256 "61c68b7ef2d11dadead66c8fac1d5767508f93dfc2c9c1c08cf410be974da74b"
|
|
end
|
|
end
|
|
|
|
def install
|
|
on_linux do
|
|
bin.install "openllm-0.4.36-x86_64-unknown-linux-musl" => "openllm"
|
|
end
|
|
on_macos do
|
|
on_arm do
|
|
bin.install "openllm-0.4.36-aarch64-apple-darwin" => "openllm"
|
|
end
|
|
on_intel do
|
|
bin.install "openllm-0.4.36-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
|