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.3.14"
license "Apache-2.0"
head "https://github.com/bentoml/OpenLLM, branch: main"
url "https://github.com/bentoml/OpenLLM/archive/v0.3.14.tar.gz"
sha256 "007da19ecd86b7e687ba36299d5a583d0e51f8eaa10357c5cc1731e470e83c05"
on_linux do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.3.14/openllm-0.3.14-x86_64-unknown-linux-musl.tar.gz"
sha256 "a2d2cdc01aa182d2a021da51a30d3b078eb80af56aafd0862e556f997797432f"
end
on_macos do
on_arm do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.3.14/openllm-0.3.14-aarch64-apple-darwin.tar.gz"
sha256 "4418165a8b86b75c67f45c7543c1c35b9424d34632d8444bc18d74990177f48f"
end
on_intel do
url "https://github.com/bentoml/OpenLLM/releases/download/v0.3.14/openllm-0.3.14-x86_64-apple-darwin.tar.gz"
sha256 "00a6bc0ab5d5583b3efce7db930b0c56f654712e6cd2180b0a50832159bf5261"
end
end
def install
on_linux do
bin.install "openllm-0.3.14-x86_64-unknown-linux-musl" => "openllm"
end
on_macos do
on_arm do
bin.install "openllm-0.3.14-aarch64-apple-darwin" => "openllm"
end
on_intel do
bin.install "openllm-0.3.14-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