Skip to content

[Bug]: Transformers 5.0 copy source model Python file issue #1355

@wenhuach21

Description

@wenhuach21

Problem Description

WARNING utils.py L79: Skipping source model Python file copy due to error: cannot import name 'TRANSFORMERS_CACHE' from 'transformers' (/home/wenhuach/miniforge3/envs/autoround/lib/python3.13/site-packages/transformers/init.py)

Reproduction Steps

--model
/models/Qwen3-30B-A3B-Instruct-2507
--iters
0
--disable_opt_rtn
--tasks
piqa
--output_dir
"/data2/wenhuach"

Environment Information

No response

Error Logs

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions