You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
我已经搜索过FAQ | I have searched FAQ
当前行为 | Current Behavior
use latest transformers and load minicpm model:
from transformers.pytorch_utils import ALL_LAYERNORM_LAYERS, is_torch_greater_or_equal_than_1_13
ImportError: cannot import name 'is_torch_greater_or_equal_than_1_13' from 'transformers.pytorch_utils
Please try transformers==4.44.2. Other versions may have some compatibility issues, We are still working on it.
sure, it works well when use some old version transformers, but we need to use some new features in latest transformers, we had added is_torch_greater_or_equal_than_1_13 related code in local code. This ticket can be fyi for you.
我们用老版本的的transformer库是好的 但是得用最新版本的功能 结果transformer把那块代码删掉了 是真的坑 只能自己加在本地了 你们可以做一个参考 后续可以看一下 thx
this issue can be closed or wait for some compatibility issues to fix
这个问题可以关闭 或者等后续修复后再关闭吧
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
use latest transformers and load minicpm model:
from transformers.pytorch_utils import ALL_LAYERNORM_LAYERS, is_torch_greater_or_equal_than_1_13
ImportError: cannot import name 'is_torch_greater_or_equal_than_1_13' from 'transformers.pytorch_utils
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
备注 | Anything else?
need to move is_torch_greater_or_equal_than_1_13 related code to modeling_minicpm.py
The text was updated successfully, but these errors were encountered: