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

import torchkeras报错 #11

Closed
T-Atlas opened this issue Nov 3, 2022 · 4 comments
Closed

import torchkeras报错 #11

T-Atlas opened this issue Nov 3, 2022 · 4 comments

Comments

@T-Atlas
Copy link

T-Atlas commented Nov 3, 2022

提示torchkeras No module named 'accelerate'
pip安装accelerate后
提示AttributeError: module 'signal' has no attribute 'SIGKILL'

我的环境是window,py3.9.13,torchkeras3.2.5

@T-Atlas
Copy link
Author

T-Atlas commented Nov 8, 2022

seeing huggingface/accelerate#817

@T-Atlas T-Atlas closed this as completed Nov 8, 2022
@T-Atlas
Copy link
Author

T-Atlas commented Nov 8, 2022

pytorch/pytorch#85427

@T-Atlas T-Atlas reopened this Nov 8, 2022
@hamind
Copy link

hamind commented Nov 8, 2022

你好,我也遇到了这个问题,将torch从1.13.0降级就可以正常import了嘛

@T-Atlas
Copy link
Author

T-Atlas commented Nov 8, 2022

@hamind 是的,你也可以使用pip install -U git+https://github.com/huggingface/accelerate获得最新版本(accelerate-0.14.0.dev0)的accelerate以解决问题。你也可以使用v0.12.0的accelerate。可以参考huggingface/accelerate#817

@T-Atlas T-Atlas closed this as completed Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants