Skip to content

Commit

Permalink
Revert "Optimize tensor operation in neighbor_allreduce."
Browse files Browse the repository at this point in the history
  • Loading branch information
cccvs authored Mar 6, 2024
1 parent dd1344b commit 6e6f8c2
Show file tree
Hide file tree
Showing 22 changed files with 51 additions and 1,632 deletions.
13 changes: 1 addition & 12 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ data/
**/checkpoint/
experimental/

# VSCode and JetBrains
.idea/
# VSCode
.vscode/

.DS_Store
Expand All @@ -141,13 +140,3 @@ examples/.profile/*
# timeline log file
.log/*
.profile/

# output
img/*
wandb/*
output/*
output*

# script
run**.sh
scripts/
1 change: 0 additions & 1 deletion bluefoglite/common/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from bluefoglite.common import topology
1 change: 0 additions & 1 deletion bluefoglite/common/handle_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class EventStatus:

DONE_EVENT = EventStatus(status=EventStatusEnum.DONE, err="")


# This should be a singleton class
class HandleManager:
__instance: Optional["HandleManager"] = None
Expand Down
234 changes: 0 additions & 234 deletions bluefoglite/common/optimizers.py

This file was deleted.

1 change: 0 additions & 1 deletion bluefoglite/common/tcp/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from bluefoglite.common.tcp.pair import Pair, SocketFullAddress, TAddress
from bluefoglite.common.logger import Logger


# One agent can contain multiple Contexts.
# Each Context should represent entire communication group like (comm in MPI)
# In each Context, it contains multiple Pairs, i.e. socket pair, talking to other neighbor.
Expand Down
37 changes: 34 additions & 3 deletions bluefoglite/common/tcp/message_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion bluefoglite/common/tcp/pair.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
# AF_NETLINK, AF_TIPC) or strings (AF_UNIX).
TAddress = Union[Tuple[Any, ...], str]


# Socket related constant nomenclature follows:
# AddressFamily startswith 'AF_'
# SocketKind startswith 'SOCK_'
Expand Down
Loading

0 comments on commit 6e6f8c2

Please sign in to comment.