Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor changes for Release 0.2.0 #100

Merged
merged 7 commits into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img src="https://github.com/axonn-ai/axonn/blob/c356b821c2020c7dcd2181dfacc226619bfd5240/logo.png" width="64" valign="middle" alt="hatchet"/> AxoNN
# <img src="https://github.com/axonn-ai/axonn/blob/c356b821c2020c7dcd2181dfacc226619bfd5240/logo.png" width="64" valign="middle" alt="axonn"/> AxoNN

[![nvidia-rtx-3090-tests](https://github.com/axonn-ai/axonn/actions/workflows/ci.yaml/badge.svg)](https://github.com/axonn-ai/axonn/actions/workflows/ci.yaml)

Expand Down
2 changes: 1 addition & 1 deletion axonn/intra_layer/fully_connected.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def __init__(
skip_bias_add=False,
init_method=None,
expert_mode=False,
**kwargs
**kwargs,
):
super(Linear, self).__init__()

Expand Down
2 changes: 1 addition & 1 deletion axonn/intra_layer/overlap_communication.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def optimize_communication(
overlap_all_gather=False,
model_object_for_overlapping_allgathers=None,
*args,
**kwargs
**kwargs,
):
global OVERLAP_ALL_REDUCE, OVERLAP_REDUCE_SCATTER
global ALL_GATHER_ITERATOR
Expand Down
3 changes: 1 addition & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@
sphinx
sphinxcontrib-programoutput
sphinx-rtd-theme
# Restrict to pygments <2.13
pygments <2.13
pygments>=2.15.0
2 changes: 1 addition & 1 deletion external/models/vit.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def __init__(
dropout=0.0,
emb_dropout=0.0,
inter_layer_parallel_rank=0,
G_inter=1
G_inter=1,
):
super().__init__()
image_height, image_width = pair(image_size)
Expand Down
39 changes: 39 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 2024 Parallel Software and Systems Group, University of Maryland.
# See the top-level LICENSE file for details.
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "axonn"
version = "0.2.0"
authors = [
{ name="Siddharth Singh", email="[email protected]" },
{ name="Abhinav Bhatele", email="[email protected]"},
]
description = "A parallel library for extreme-scale deep learning"
readme = "README.md"
license = { name = "Apache-2.0", file = "LICENSE" }
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
dependencies = [
"torch"
]

[tool.setuptools.packages.find]
include = ["axonn"]
exclude = ["axonn/tests", "external/", "**__pycache__"]


[project.urls]
Homepage = "https://github.com/axonn-ai/axonn"
Issues = "https://github.com/axonn-ai/axonn/issues"
Docs = "https://axonn.readthedocs.io/en/latest/"

2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 Parallel Software and Systems Group, University of Maryland.
# Copyright 2022-2024 Parallel Software and Systems Group, University of Maryland.
# See the top-level LICENSE file for details.
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Expand Down
5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

22 changes: 0 additions & 22 deletions setup.py

This file was deleted.

Loading