Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
fix: move import bagua_install_library to install library function
Browse files Browse the repository at this point in the history
  • Loading branch information
NOBLES5E committed Jun 17, 2021
1 parent c35f979 commit 28cfb63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
from distutils.errors import (
DistutilsPlatformError,
)
from bagua_install_library import install_library
from setuptools import setup, find_packages
from setuptools_rust import Binding, RustExtension
import colorama
import sys


Expand All @@ -25,6 +23,7 @@ def check_torch_version():


def install_dependency_library():
from bagua_install_library import install_library
nvcc_version = (
os.popen(
"nvcc --version | grep release | sed 's/.*release //' | sed 's/,.*//'"
Expand All @@ -45,6 +44,7 @@ def install_dependency_library():


if __name__ == "__main__":
import colorama
colorama.init(autoreset=True)
cwd = os.path.dirname(os.path.abspath(__file__))

Expand Down

0 comments on commit 28cfb63

Please sign in to comment.