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
d66ffb4d
Unverified
Commit
d66ffb4d
authored
Jun 08, 2022
by
junxu
Committed by
GitHub
Jun 08, 2022
Browse files
Remove duplication registry (#1078)
parent
bcab2495
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
colossalai/registry/__init__.py
colossalai/registry/__init__.py
+0
-1
No files found.
colossalai/registry/__init__.py
View file @
d66ffb4d
...
@@ -5,7 +5,6 @@ import torch.optim as optim
...
@@ -5,7 +5,6 @@ import torch.optim as optim
from
.registry
import
Registry
from
.registry
import
Registry
LAYERS
=
Registry
(
"layers"
,
third_party_library
=
[
nn
])
LAYERS
=
Registry
(
"layers"
,
third_party_library
=
[
nn
])
LOSSES
=
Registry
(
"losses"
)
MODELS
=
Registry
(
"models"
)
MODELS
=
Registry
(
"models"
)
OPTIMIZERS
=
Registry
(
"optimizers"
,
third_party_library
=
[
optim
,
dist_optim
])
OPTIMIZERS
=
Registry
(
"optimizers"
,
third_party_library
=
[
optim
,
dist_optim
])
DATASETS
=
Registry
(
"datasets"
)
DATASETS
=
Registry
(
"datasets"
)
...
...
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