Skip to content

Conversation

@megemini
Copy link
Contributor

PR Category

User Experience

PR Types

Bug fixes

Description

修复 paddle.incubate.distributed 模块下的导入逻辑

关联 #67618

@SigureMo

@paddle-bot
Copy link

paddle-bot bot commented Aug 22, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这样 re-export 下吧

# See the License for the specific language governing permissions and
# limitations under the License.

from . import utils # noqa: F401
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
from . import utils # noqa: F401
from . import utils as utils

# See the License for the specific language governing permissions and
# limitations under the License.

from . import io # noqa: F401
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
from . import io # noqa: F401
from . import io as io

@megemini megemini changed the title [Typing all] 修复 paddle.incubate.distributed 模块下的导入逻辑 [Typing] 修复 paddle.incubate.distributed 模块下的导入逻辑 Aug 22, 2024
Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMeow 🐾

@paddle-bot paddle-bot bot added the contributor External developers label Aug 22, 2024
@luotao1 luotao1 merged commit bbabd36 into PaddlePaddle:develop Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants