Skip to content

Error when evaluating on VBench2 Instance_Preservation #198

Description

@yuxu915

Hi, when I evaluating on VBench2 Instance_Preservation, seems something wrong with peft.
I use peft==0.14.0 and the version of other libraries are as requirements.txt

  File "/home/me/.local/lib/python3.11/site-packages/peft/tuners/tuners_utils.py", line 437, in inject_adapter
    peft_config = self._prepare_adapter_config(peft_config, model_config)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/me/.local/lib/python3.11/site-packages/peft/tuners/lora/model.py", line 488, in _prepare_adapter_config
    raise ValueError("Please specify `target_modules` in `peft_config`")
ValueError: Please specify `target_modules` in `peft_config`

Can anyone help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions