11class TextEmbeddingsInference < Formula
22 desc "Blazing fast inference solution for text embeddings models"
33 homepage "https://huggingface.co/docs/text-embeddings-inference/quick_tour"
4- url "https://github.com/huggingface/text-embeddings-inference/archive/refs/tags/v1.7.3 .tar.gz"
5- sha256 "64842ec3ed0b87663a628c493dede0cc62ca0377b387562c5db4d68287d4dd7a "
4+ url "https://github.com/huggingface/text-embeddings-inference/archive/refs/tags/v1.7.4 .tar.gz"
5+ sha256 "62840db84a37fdcfdd8061b796c045a92afaa6591147df81deb621a1dd34bbd9 "
66 license "Apache-2.0"
77
88 bottle do
9- sha256 cellar : :any_skip_relocation , arm64_sequoia : "2919c3e2cb726ef7d456fa9da2d54f01cdf21038097966a6aef715f21c1f6910 "
10- sha256 cellar : :any_skip_relocation , arm64_sonoma : "79d73b0d7898967c0d914b49cd9e31f7f09cc47293f75f301d3bd288ac7a9256 "
11- sha256 cellar : :any_skip_relocation , arm64_ventura : "d5c8a909007715e7d83f0ce029cfe40d96836c3d0137f3d4a7d583b7098e39f0 "
12- sha256 cellar : :any_skip_relocation , sonoma : "3f4f95c2380e2d4a2e384d2bed5853e2c3d253324092cd87bb7c81f7f56029a9 "
13- sha256 cellar : :any_skip_relocation , ventura : "3cd4c7514c0f1753658f8faac07c54822e3192da829e1e4e7ad7556e52fbd74f "
14- sha256 cellar : :any_skip_relocation , arm64_linux : "eae5be686347c6904b9e10932c3515da2aec483eb29501ccd5fd0a0795dab145 "
15- sha256 cellar : :any_skip_relocation , x86_64_linux : "010ae6c7bee386589d7f93d3df456a69143d84a09b4dc814f07e04e1079fb700 "
9+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "274e66c040b06d75a9dcbb85dc1d722c00aeb861fbc73ac51d5467404b39b11b "
10+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "a92cd1e6c94651713b81946e03d5d49de492ab639388cc0e1c18bac96d2fa3c1 "
11+ sha256 cellar : :any_skip_relocation , arm64_ventura : "24d469041535ffe244194119cd559f66181e9686bee2db3c7a3bc6931e32947e "
12+ sha256 cellar : :any_skip_relocation , sonoma : "5ad60c4dc1ef3f1491f6fb36df2a3957b38b44475443d8360b8c926abc121f6e "
13+ sha256 cellar : :any_skip_relocation , ventura : "4243d351fd087000ca3d91692491443d7f577e44d774353bfa0380c6cee262b8 "
14+ sha256 cellar : :any_skip_relocation , arm64_linux : "38bfda949a75f2a58e05d75c78896a646c237c3fddb48d7d17c4ecab210a7af4 "
15+ sha256 cellar : :any_skip_relocation , x86_64_linux : "06f79973355e0816f90b0245673ee594cf20d5503b5ca50741791a6a79b256ad "
1616 end
1717
1818 depends_on "pkgconf" => :build
@@ -26,9 +26,9 @@ def install
2626
2727 test do
2828 port = free_port
29- fork do
30- exec bin / "text-embeddings-router" , "-p" , port . to_s , "--model-id" , "sentence-transformers/all-MiniLM-L6-v2"
31- end
29+ spawn bin / "text-embeddings-router" , "-p" , port . to_s , "--model-id" , "sentence-transformers/all-MiniLM-L6-v2"
30+
31+ sleep 2 if OS . mac? && Hardware :: CPU . intel?
3232
3333 data = "{\" inputs\" :\" What is Deep Learning?\" }"
3434 header = "Content-Type: application/json"
0 commit comments