-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Bug]: cannot import name 'switch_rng_state_tracker' from 'paddle.distributed.fleet.recompute.recompute' #9564
Comments
有报错信息么?我看了下代码这个写法是正确的 |
Z:>paddlespeech tts --input "你好,欢迎使用百度飞桨深度学习框架!" --output output.wav |
把源码改成这个swith_rng_state_tracker之后呢 @yes-github |
软件环境
重复问题
错误描述
https://github.com/PaddlePaddle/PaddleNLP/blob/a5ec6bf623ce8e68ce84e0620d1e195072b25643/paddlenlp/transformers/refined_recompute.py#L33 这个代码好像写错了 应该是 from paddle.distributed.fleet.recompute.recompute import swith_rng_state_tracker 而不是 from paddle.distributed.fleet.recompute.recompute import switch_rng_state_tracker
稳定复现步骤 & 代码
from paddlenlp import Taskflow
导包即错误
The text was updated successfully, but these errors were encountered: