mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 09:21:16 +08:00
version bump (#490)
* version bump * Fix the dev version string --------- Co-authored-by: Angelos Katharopoulos <a_katharopoulos@apple.com>
This commit is contained in:
parent
3d99a8d31d
commit
f6e911ced0
@ -18,7 +18,7 @@ option(MLX_BUILD_METAL "Build metal backend" ON)
|
|||||||
option(BUILD_SHARED_LIBS "Build mlx as a shared library" OFF)
|
option(BUILD_SHARED_LIBS "Build mlx as a shared library" OFF)
|
||||||
|
|
||||||
if(NOT MLX_VERSION)
|
if(NOT MLX_VERSION)
|
||||||
set(MLX_VERSION 0.0.9)
|
set(MLX_VERSION 0.0.10)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# --------------------- Processor tests -------------------------
|
# --------------------- Processor tests -------------------------
|
||||||
|
@ -5,13 +5,15 @@
|
|||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
import mlx.core as mx
|
||||||
|
|
||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = "MLX"
|
project = "MLX"
|
||||||
copyright = "2023, MLX Contributors"
|
copyright = "2023, MLX Contributors"
|
||||||
author = "MLX Contributors"
|
author = "MLX Contributors"
|
||||||
version = "0.0.9"
|
version = ".".join(mx.__version__.split()[:-1])
|
||||||
release = "0.0.9"
|
release = version
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|
||||||
|
4
setup.py
4
setup.py
@ -15,7 +15,7 @@ from setuptools.command.build_ext import build_ext
|
|||||||
def get_version(version):
|
def get_version(version):
|
||||||
if "PYPI_RELEASE" not in os.environ:
|
if "PYPI_RELEASE" not in os.environ:
|
||||||
today = datetime.date.today()
|
today = datetime.date.today()
|
||||||
version = f"{version}.dev{today.year}{today.month}{today.day}"
|
version = f"{version}.dev{today.year}{today.month:02d}{today.day:02d}"
|
||||||
|
|
||||||
if "DEV_RELEASE" not in os.environ:
|
if "DEV_RELEASE" not in os.environ:
|
||||||
git_hash = (
|
git_hash = (
|
||||||
@ -152,7 +152,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="mlx",
|
name="mlx",
|
||||||
version=get_version("0.0.9"),
|
version=get_version("0.0.10"),
|
||||||
author="MLX Contributors",
|
author="MLX Contributors",
|
||||||
author_email="mlx@group.apple.com",
|
author_email="mlx@group.apple.com",
|
||||||
description="A framework for machine learning on Apple silicon.",
|
description="A framework for machine learning on Apple silicon.",
|
||||||
|
Loading…
Reference in New Issue
Block a user