mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-01-21 05:49:50 -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.9"
|
|
license "Apache-2.0"
|
|
head "https://github.com/bentoml/OpenLLM, branch: main"
|
|
url "https://github.com/bentoml/OpenLLM/archive/v0.4.9.tar.gz"
|
|
sha256 "27337d8f6a0d04e9762511bd5b20e319e36d07a29f34ef411ec4113ae78fef5c"
|
|
|
|
on_linux do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.9/openllm-0.4.9-x86_64-unknown-linux-musl.tar.gz"
|
|
sha256 "a3d0e138e3491ade3074cad820635ae77864f07f6484fcee3ed932b4b6c5f647"
|
|
end
|
|
on_macos do
|
|
on_arm do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.9/openllm-0.4.9-aarch64-apple-darwin.tar.gz"
|
|
sha256 "8979abb8a4cb6f86625f3e3f8eb1af89304fb0b84d4056fc7a75cb30e6522603"
|
|
end
|
|
on_intel do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.4.9/openllm-0.4.9-x86_64-apple-darwin.tar.gz"
|
|
sha256 "b334304deb2a7e2601538e109fef411b8ed018b9c3913ae17f8329aa2cea9d2b"
|
|
end
|
|
end
|
|
|
|
def install
|
|
on_linux do
|
|
bin.install "openllm-0.4.9-x86_64-unknown-linux-musl" => "openllm"
|
|
end
|
|
on_macos do
|
|
on_arm do
|
|
bin.install "openllm-0.4.9-aarch64-apple-darwin" => "openllm"
|
|
end
|
|
on_intel do
|
|
bin.install "openllm-0.4.9-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
|