2025-02-20 15:25:15 -08:00
|
|
|
// Copyright © 2025 Apple Inc.
|
2025-02-20 05:30:19 +01:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2025-02-20 15:25:15 -08:00
|
|
|
#define MLX_VERSION_MAJOR 0
|
2025-08-29 06:54:17 -07:00
|
|
|
#define MLX_VERSION_MINOR 29
|
2025-11-11 08:49:14 -08:00
|
|
|
#define MLX_VERSION_PATCH 5
|
2025-02-20 15:25:15 -08:00
|
|
|
#define MLX_VERSION_NUMERIC \
|
|
|
|
|
(100000 * MLX_VERSION_MAJOR + 1000 * MLX_VERSION_MINOR + MLX_VERSION_PATCH)
|
2025-02-20 05:30:19 +01:00
|
|
|
|
|
|
|
|
namespace mlx::core {
|
|
|
|
|
|
2025-02-20 15:25:15 -08:00
|
|
|
/* A string representation of the MLX version in the format
|
|
|
|
|
* "major.minor.patch".
|
|
|
|
|
*
|
|
|
|
|
* For dev builds, the version will include the suffix ".devYYYYMMDD+hash"
|
|
|
|
|
*/
|
2025-09-09 07:41:05 +09:00
|
|
|
const char* version();
|
2025-02-20 05:30:19 +01:00
|
|
|
|
|
|
|
|
} // namespace mlx::core
|