Current section

14 Versions

Jump to

Compare versions

5 files changed
+28 additions
-12 deletions
  @@ -0,0 +1,14 @@
1 + # Changelog
2 +
3 + All notable changes to this project will be documented in this file.
4 +
5 + The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6 + and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7 +
8 + ## [Unreleased]
9 +
10 + ## [0.1.2] - 2023-10-30
11 +
12 + ### Added
13 +
14 + - Precompiled binaries for a few CPU targets.
  @@ -14,7 +14,7 @@ by adding `candlex` to your list of dependencies in `mix.exs`:
14 14 ```elixir
15 15 def deps do
16 16 [
17 - {:candlex, "~> 0.1.1"}
17 + {:candlex, "~> 0.1.2"}
18 18 ]
19 19 end
20 20 ```
  @@ -31,7 +31,8 @@ To publish a new version of this package:
31 31 1. `git tag -s <tag-version>` to create new signed tag.
32 32 1. `git push origin <tag-version>` to push the tag.
33 33 1. Wait for the `binaries.yml` GitHub workflow to build all the NIF binaries.
34 - 1. `mix rustler_precompiled.download Candlex.Native --all` to generate binaries checksums locally.
34 + 1. `mix rustler_precompiled.download Candlex.Native --all --print` to generate binaries checksums locally.
35 + 1. `rm -r native/candlex/target` to leave out rust crate build artifacts from published elixir package.
35 36 1. `mix hex.build --unpack` to check the package includes the correct files.
36 37 1. Publish the release from draft in GitHub.
37 38 1. `mix hex.publish` to publish package to Hex.pm.
  @@ -1,8 +1,8 @@
1 1 %{
2 - "candlex-v0.1.2-alpha2-nif-2.16-x86_64-pc-windows-gnu.dll.tar.gz" => "sha256:55b0a7a747966e6690f1f202c10419ae6ef6be29af1c626f640c6a0759a86950",
3 - "candlex-v0.1.2-alpha2-nif-2.16-x86_64-pc-windows-msvc.dll.tar.gz" => "sha256:ae1f9e7fb93d07e2392a4c0b4b5d0e35ca17c8144c8a4cd557dba302774c3a4c",
4 - "libcandlex-v0.1.2-alpha2-nif-2.16-aarch64-apple-darwin.so.tar.gz" => "sha256:853eb80da2d2e2a3033b59a0bc7a470c9f23095145681bde5a649001c2f1cdab",
5 - "libcandlex-v0.1.2-alpha2-nif-2.16-aarch64-unknown-linux-gnu.so.tar.gz" => "sha256:c730dda7faf3590378b297ecbfdef0e1afd9c70f3788d98d5a20314b41d5d427",
6 - "libcandlex-v0.1.2-alpha2-nif-2.16-x86_64-apple-darwin.so.tar.gz" => "sha256:e57dc8817ab521595f62b7887d3fa7bc0f34d6de1dfe07252c508a3e780dcd13",
7 - "libcandlex-v0.1.2-alpha2-nif-2.16-x86_64-unknown-linux-gnu.so.tar.gz" => "sha256:75bba551e0590603db79480d559f6949eeda53c68facb2490e35cce47ef325f3",
2 + "candlex-v0.1.2-nif-2.16-x86_64-pc-windows-gnu.dll.tar.gz" => "sha256:3f15b72bd627142cc411e84859957150833dfc5ac47eaf999a942eef67483bca",
3 + "candlex-v0.1.2-nif-2.16-x86_64-pc-windows-msvc.dll.tar.gz" => "sha256:06919a10fa36d2ceb9e01e1c68ac6e7ea12eee17784e435c4c768cf158ba3b06",
4 + "libcandlex-v0.1.2-nif-2.16-aarch64-apple-darwin.so.tar.gz" => "sha256:5c52f5aa0476d94938730806158121a9682beae83bb0a66f060bcb519726d9ae",
5 + "libcandlex-v0.1.2-nif-2.16-aarch64-unknown-linux-gnu.so.tar.gz" => "sha256:134c503df8731de9b44355bf24289e7761207301b47b55cf0ec7fa44b7d23579",
6 + "libcandlex-v0.1.2-nif-2.16-x86_64-apple-darwin.so.tar.gz" => "sha256:0f16a2ef57c53e966f97af85a4b431b36f930a8f529126bb61f595da15111a0b",
7 + "libcandlex-v0.1.2-nif-2.16-x86_64-unknown-linux-gnu.so.tar.gz" => "sha256:2b50abcb483dc24c920a7ae9e754fba2f8b9be96b7848ff59b450621b7e08d55",
8 8 }
  @@ -1,6 +1,6 @@
1 1 {<<"links">>,[{<<"GitHub">>,<<"https://github.com/mimiquate/candlex">>}]}.
2 2 {<<"name">>,<<"candlex">>}.
3 - {<<"version">>,<<"0.1.2-alpha2">>}.
3 + {<<"version">>,<<"0.1.2">>}.
4 4 {<<"description">>,
5 5 <<"An Nx backend for candle machine learning minimalist framework">>}.
6 6 {<<"elixir">>,<<"~> 1.14">>}.
  @@ -19,8 +19,8 @@
19 19 <<"native/candlex/src/kernels/custom_binary.cu">>,
20 20 <<"native/candlex/src/kernels/custom_unary.cu">>,
21 21 <<"native/candlex/src/error.rs">>,<<"priv">>,<<"priv/native">>,
22 - <<".formatter.exs">>,<<"mix.exs">>,<<"README.md">>,<<"LICENSE">>,
23 - <<"checksum-Elixir.Candlex.Native.exs">>]}.
22 + <<".formatter.exs">>,<<"mix.exs">>,<<"CHANGELOG.md">>,<<"README.md">>,
23 + <<"LICENSE">>,<<"checksum-Elixir.Candlex.Native.exs">>]}.
24 24 {<<"licenses">>,[<<"Apache-2.0">>]}.
25 25 {<<"requirements">>,
26 26 [[{<<"name">>,<<"nx">>},
  @@ -3,7 +3,7 @@ defmodule Candlex.MixProject do
3 3
4 4 @description "An Nx backend for candle machine learning minimalist framework"
5 5 @source_url "https://github.com/mimiquate/candlex"
6 - @version "0.1.2-alpha2"
6 + @version "0.1.2"
7 7
8 8 def project do
9 9 [
  @@ -59,6 +59,7 @@ defmodule Candlex.MixProject do
59 59 "priv",
60 60 ".formatter.exs",
61 61 "mix.exs",
62 + "CHANGELOG.md",
62 63 "README.md",
63 64 "LICENSE",
64 65 "checksum-*.exs"