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

ModuleNotFoundError: No module named 'timm.layers' #449

Closed
eaidova opened this issue Oct 12, 2023 · 1 comment · Fixed by #461
Closed

ModuleNotFoundError: No module named 'timm.layers' #449

eaidova opened this issue Oct 12, 2023 · 1 comment · Fixed by #461

Comments

@eaidova
Copy link
Collaborator

eaidova commented Oct 12, 2023

from optimum.intel.openvino.modeling_timm import TimmImageProcessor
optimum/intel/openvino/modeling_timm.py:9: in
from timm.layers.config import set_fused_attn
E ModuleNotFoundError: No module named 'timm.layers'

issue can b e resolved with upgrading timm package (I have 0.4.12, very old) , looks like some lower bound required for timm dependency.

@echarlaix
Copy link
Collaborator

Thanks for reporting ! Will be fixed in : #461

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

Successfully merging a pull request may close this issue.

2 participants