diff --git a/docs/conf.py b/docs/conf.py index 3ce8180..a7ef85e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -11,7 +11,7 @@ project = 'magnet' copyright = '2023, Prismadic, LLC' author = 'Prismadic, LLC.' -release = '0.3.13' +release = '0.3.14' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/magnet/base.py b/magnet/base.py index 45d2431..bb12854 100644 --- a/magnet/base.py +++ b/magnet/base.py @@ -1,8 +1,12 @@ import nats, asyncio, docker, platform -from milvus import default_server +import platform +# Check if the OS is macOS +if platform.system() == 'Darwin': + from milvus import default_server + from magnet.utils.globals import _f from magnet.utils.data_classes import MagnetConfig, IndexConfig diff --git a/pyproject.toml b/pyproject.toml index c108710..c1ae602 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "llm_magnet" -version = "0.3.13" +version = "0.3.14" description = "the small distributed language model toolkit. fine-tune state-of-the-art LLMs anywhere, rapidly." readme = "dynamic" diff --git a/setup.py b/setup.py index e74286f..28fed42 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='llm_magnet', - version='0.3.13', + version='0.3.14', description="the small distributed language model toolkit. fine-tune state-of-the-art LLMs anywhere, rapidly.", long_description=open('README.md').read(), long_description_content_type='text/markdown',