Skip to content

Commit

Permalink
🐛 fix(bug): MacOS-only caused bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mxchinegod committed Jul 19, 2024
1 parent d8275fd commit cce5218
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion magnet/base.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit cce5218

Please sign in to comment.