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

[pipeline] fix file name #1759

Merged
merged 1 commit into from
Oct 25, 2022
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 colossalai/pipeline/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .pipelinable import PipelinableContext, PipelinableModel
from .layer_sepc import LayerSpec
from .layer_spec import LayerSpec

__all__ = ['PipelinableModel', 'PipelinableContext', 'LayerSpec']
File renamed without changes.
2 changes: 1 addition & 1 deletion colossalai/pipeline/pipelinable.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from colossalai.tensor import ColoParameter
from colossalai.core import global_context as gpc
from colossalai.context import ParallelMode
from .layer_sepc import LayerSpec
from .layer_spec import LayerSpec


class PipelinableContext(InsertPostInitMethodToModuleSubClasses):
Expand Down
2 changes: 1 addition & 1 deletion docs/colossalai/colossalai.pipeline.layer_sepc.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
colossalai.pipeline.layer\_sepc
===============================

.. automodule:: colossalai.pipeline.layer_sepc
.. automodule:: colossalai.pipeline.layer_spec
:members:
2 changes: 1 addition & 1 deletion docs/colossalai/colossalai.pipeline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ colossalai.pipeline
.. toctree::
:maxdepth: 2

colossalai.pipeline.layer_sepc
colossalai.pipeline.layer_spec
colossalai.pipeline.pipelinable
colossalai.pipeline.utils