Skip to content

Commit

Permalink
🚧 fix(wip): hasty fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mxchinegod committed Jul 19, 2024
1 parent cce5218 commit 970ac4d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 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.14'
release = '0.3.15'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
10 changes: 3 additions & 7 deletions magnet/base.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@

import nats, asyncio, docker, platform
import nats, asyncio, docker, platform, os

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

milvus_server = default_server
os_name = platform.system()
if os_name == 'Darwin' and not os.getenv('DOCKER_ENV'):
from milvus import default_server

auto_config = {
"host": "127.0.0.1",
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.14"
version = "0.3.15"
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.14',
version='0.3.15',
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 970ac4d

Please sign in to comment.