mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-03-04 07:06:01 -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.3.1"
|
|
license "Apache-2.0"
|
|
head "https://github.com/bentoml/OpenLLM, branch: main"
|
|
url "https://github.com/bentoml/OpenLLM/archive/v0.3.1.tar.gz"
|
|
sha256 "69372c89e3e6fb45ade4e578f177a38e47209a72c21ef91b6a086fd359c25631"
|
|
|
|
on_linux do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.3.1/openllm-0.3.1-x86_64-unknown-linux-musl.tar.gz"
|
|
sha256 "ff209745a31397a111add53750d397468a1632036d5444014c06ba38d5d9b6cf"
|
|
end
|
|
on_macos do
|
|
on_arm do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.3.1/openllm-0.3.1-aarch64-apple-darwin.tar.gz"
|
|
sha256 "90f0dd95edb0f301bc5f83b1c61ae0737b6cc59bca608aaa4687e9d9fda5978c"
|
|
end
|
|
on_intel do
|
|
url "https://github.com/bentoml/OpenLLM/releases/download/v0.3.1/openllm-0.3.1-x86_64-apple-darwin.tar.gz"
|
|
sha256 "302a5347d22e3172aff7f9fa08bf445fc881bff079da04186656a562fded8bde"
|
|
end
|
|
end
|
|
|
|
def install
|
|
on_linux do
|
|
bin.install "openllm-0.3.1-x86_64-unknown-linux-musl" => "openllm"
|
|
end
|
|
on_macos do
|
|
on_arm do
|
|
bin.install "openllm-0.3.1-aarch64-apple-darwin" => "openllm"
|
|
end
|
|
on_intel do
|
|
bin.install "openllm-0.3.1-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
|