Skip to content

[BUG] Cannot run with the latest transformer release. #913

@buptsad

Description

@buptsad

Describe the bug
ModuleNotFoundError: No module named 'transformers.deepspeed'.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the setup guide
  2. download a database imdb
  3. run the code
bash ./scripts/run_finetune_with_lisa.sh \
  --model_name_or_path /etc/dtol/mds/CausalLM-7B \
  --dataset_path data/imdb/train \
  --output_model_path output_models/finetuned_imdb_CausalLM-7B \
  --lisa_activated_layers 1 \
  --lisa_interval_steps 20
  1. See error

Expected behavior
idk

Additional context
Works fine with transformers v4.45.2.

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