forked from hpcaitech/EnergonAI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
1,207 additions
and
1,184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/mirrors-yapf | ||
rev: v0.32.0 | ||
hooks: | ||
- id: yapf | ||
args: ['--style=.style.yapf', '--parallel', '--in-place'] | ||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v13.0.1 | ||
hooks: | ||
- id: clang-format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[style] | ||
based_on_style = google | ||
spaces_before_comment = 4 | ||
split_before_logical_operator = true | ||
column_limit = 120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
from .collective import all_gather, reduce_scatter, all_reduce, broadcast, reduce | ||
from .p2p import (send_forward, send_forward_recv_forward, | ||
send_backward_recv_forward, send_backward, | ||
send_backward_recv_backward, send_forward_recv_backward, | ||
send_forward_backward_recv_forward_backward, recv_forward, | ||
recv_backward) | ||
from .p2p import (send_forward, send_forward_recv_forward, send_backward_recv_forward, send_backward, | ||
send_backward_recv_backward, send_forward_recv_backward, send_forward_backward_recv_forward_backward, | ||
recv_forward, recv_backward) | ||
from .ring import ring_forward | ||
from .utils import send_tensor_meta, recv_tensor_meta | ||
|
||
__all__ = [ | ||
'all_gather', 'reduce_scatter', 'all_reduce', 'broadcast', 'reduce', | ||
'send_forward', 'send_forward_recv_forward', | ||
'send_forward_backward_recv_forward_backward', 'send_backward', | ||
'send_backward_recv_backward', 'send_backward_recv_forward', | ||
'send_forward_recv_backward', 'recv_backward', 'recv_forward', | ||
'ring_forward', 'send_tensor_meta', 'recv_tensor_meta', | ||
'all_gather', | ||
'reduce_scatter', | ||
'all_reduce', | ||
'broadcast', | ||
'reduce', | ||
'send_forward', | ||
'send_forward_recv_forward', | ||
'send_forward_backward_recv_forward_backward', | ||
'send_backward', | ||
'send_backward_recv_backward', | ||
'send_backward_recv_forward', | ||
'send_forward_recv_backward', | ||
'recv_backward', | ||
'recv_forward', | ||
'ring_forward', | ||
'send_tensor_meta', | ||
'recv_tensor_meta', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from .engine import InferenceEngine | ||
from .engine import InferenceEngine |
Oops, something went wrong.