Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
24f8583c
Commit
24f8583c
authored
Feb 15, 2022
by
ver217
Committed by
Frank Lee
Mar 11, 2022
Browse files
update setup info (#233)
parent
b9f8521f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
2 deletions
+31
-2
setup.py
setup.py
+30
-2
version.txt
version.txt
+1
-0
No files found.
setup.py
View file @
24f8583c
...
@@ -86,6 +86,16 @@ def fetch_requirements(path):
...
@@ -86,6 +86,16 @@ def fetch_requirements(path):
return
[
r
.
strip
()
for
r
in
fd
.
readlines
()]
return
[
r
.
strip
()
for
r
in
fd
.
readlines
()]
def
fetch_readme
():
with
open
(
'README.md'
,
encoding
=
'utf-8'
)
as
f
:
return
f
.
read
()
def
get_version
():
with
open
(
'version.txt'
)
as
f
:
return
f
.
read
().
strip
()
if
build_cuda_ext
:
if
build_cuda_ext
:
try
:
try
:
import
torch
import
torch
...
@@ -177,7 +187,7 @@ if build_cuda_ext:
...
@@ -177,7 +187,7 @@ if build_cuda_ext:
setup
(
setup
(
name
=
'colossalai'
,
name
=
'colossalai'
,
version
=
'0.0.2'
,
version
=
get_version
()
,
packages
=
find_packages
(
exclude
=
(
'benchmark'
,
packages
=
find_packages
(
exclude
=
(
'benchmark'
,
'docker'
,
'docker'
,
'tests'
,
'tests'
,
...
@@ -188,10 +198,28 @@ setup(
...
@@ -188,10 +198,28 @@ setup(
'requirements'
,
'requirements'
,
'*.egg-info'
,)),
'*.egg-info'
,)),
description
=
'An integrated large-scale model training system with efficient parallelization techniques'
,
description
=
'An integrated large-scale model training system with efficient parallelization techniques'
,
long_description
=
fetch_readme
(),
long_description_content_type
=
'text/markdown'
,
url
=
'https://www.colossalai.org'
,
project_urls
=
{
'Forum'
:
'https://github.com/hpcaitech/ColossalAI/discussions'
,
'Bug Tracker'
:
'https://github.com/hpcaitech/ColossalAI/issues'
,
'Examples'
:
'https://github.com/hpcaitech/ColossalAI-Examples'
,
'Documentation'
:
'http://colossalai.readthedocs.io'
,
'Github'
:
'https://github.com/hpcaitech/ColossalAI'
,
},
ext_modules
=
ext_modules
,
ext_modules
=
ext_modules
,
cmdclass
=
{
'build_ext'
:
BuildExtension
}
if
ext_modules
else
{},
cmdclass
=
{
'build_ext'
:
BuildExtension
}
if
ext_modules
else
{},
install_requires
=
fetch_requirements
(
'requirements/requirements.txt'
),
install_requires
=
fetch_requirements
(
'requirements/requirements.txt'
),
extras_require
=
{
extras_require
=
{
'zero'
:
fetch_requirements
(
'requirements/requirements-zero.txt'
),
'zero'
:
fetch_requirements
(
'requirements/requirements-zero.txt'
),
}
},
python_requires
=
'>=3.7'
,
classifiers
=
[
'Programming Language :: Python :: 3'
,
'License :: OSI Approved :: Apache Software License'
,
'Environment :: GPU :: NVIDIA CUDA'
,
'Topic :: Scientific/Engineering :: Artificial Intelligence'
,
'Topic :: System :: Distributed Computing'
,
],
)
)
version.txt
0 → 100644
View file @
24f8583c
0.0.2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment