Skip to content

Commit cce5218

Browse files
committed
🐛 fix(bug): MacOS-only caused bug
1 parent d8275fd commit cce5218

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
project = 'magnet'
1212
copyright = '2023, Prismadic, LLC'
1313
author = 'Prismadic, LLC.'
14-
release = '0.3.13'
14+
release = '0.3.14'
1515

1616
# -- General configuration ---------------------------------------------------
1717
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

magnet/base.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11

22
import nats, asyncio, docker, platform
33

4-
from milvus import default_server
4+
import platform
55

6+
# Check if the OS is macOS
7+
if platform.system() == 'Darwin':
8+
from milvus import default_server
9+
610
from magnet.utils.globals import _f
711
from magnet.utils.data_classes import MagnetConfig, IndexConfig
812

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "llm_magnet"
3-
version = "0.3.13"
3+
version = "0.3.14"
44
description = "the small distributed language model toolkit. fine-tune state-of-the-art LLMs anywhere, rapidly."
55
readme = "dynamic"
66

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='llm_magnet',
5-
version='0.3.13',
5+
version='0.3.14',
66
description="the small distributed language model toolkit. fine-tune state-of-the-art LLMs anywhere, rapidly.",
77
long_description=open('README.md').read(),
88
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)