Skip to content

Commit

Permalink
Merge pull request #196187 from Homebrew/bump-mlx-0.19.2
Browse files Browse the repository at this point in the history
mlx 0.19.2
  • Loading branch information
BrewTestBot authored Oct 31, 2024
2 parents 853b291 + a0233ff commit 83a4005
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions Formula/m/mlx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,18 @@ class Mlx < Formula

desc "Array framework for Apple silicon"
homepage "https://github.com/ml-explore/mlx"
url "https://github.com/ml-explore/mlx/archive/refs/tags/v0.19.2.tar.gz"
sha256 "0a53f9542c40a27efc9902e2d59223e3c6b0b6c581fff51b513a754f6c95a601"
# Main license is MIT while `metal-cpp` resource is Apache-2.0
license all_of: ["MIT", "Apache-2.0"]
head "https://github.com/ml-explore/mlx.git", branch: "main"

# TODO: Remove `stable` block when patch is no longer needed.
stable do
url "https://github.com/ml-explore/mlx/archive/refs/tags/v0.19.1.tar.gz"
sha256 "b6b76d5ddbe4ff7c667425fec2a67dc0abd258b734e708b1b45fd73910a2dc83"

# Fix running tests in VMs.
# https://github.com/ml-explore/mlx/pull/1537
patch do
url "https://github.com/ml-explore/mlx/commit/1a992e31e835d05638a6f3cd53d4b136996a63c9.patch?full_index=1"
sha256 "fd3a19a756e581840046e4b49365622025e2589bd33914602350a18c7ed0e2c2"
end
end

bottle do
rebuild 1
sha256 cellar: :any, arm64_sequoia: "8d95b1fec7643617c266d3c4ccf1700654241a68c6d1d07a3d977c6c721ac18c"
sha256 cellar: :any, arm64_sonoma: "058d61257c495ad8ce9f86e2f0753b0df84494fc2fcf242a5a5c58a7c7e54b06"
sha256 cellar: :any, arm64_ventura: "6f01ec4b713c37b2afff3d4f76125ad98b6f7001240488460ce331af03fa50d2"
sha256 cellar: :any, sonoma: "3f5ccf6675d82014f6ed1f27845eb04f3bfeb7a0beaa203e982a277d6b649f69"
sha256 cellar: :any, ventura: "69f8f83d3ab154e999363aab5a106322580f2e39d80d1bb3a29958ae394c803d"
sha256 cellar: :any, arm64_sequoia: "9c58e96218dcfe702b8ab1f38842142aed03bba6b09f2f2f2bb114283b349a0b"
sha256 cellar: :any, arm64_sonoma: "91116c08c56480d3b6c9a9a9f7403a5a3c9612570530365b10d7e85476c1acf9"
sha256 cellar: :any, arm64_ventura: "a4c1ef12420d052758211e9409b26376d23b5205dde25cfec4d1cea895dceaa3"
sha256 cellar: :any, sonoma: "dd7aa13a5d0c2fefac387fd2db4c2eddf00e3432662b946a0ab5e68af43f046a"
sha256 cellar: :any, ventura: "e0231ce4b8361eee5d08564aaf1ddf67e14c27ed27b50217e0a2f4278933b31b"
end

depends_on "cmake" => :build
Expand Down

0 comments on commit 83a4005

Please sign in to comment.