Skip to content

Missing fields in the Manager class #1

@zjd2024

Description

@zjd2024

(uncomp) yliu:~/exper/uncomp$ bash ./scripts/scripts_longBench/eval.sh --max_capacity_prompts 512 --attn_implementation eager --source_path ./results/ --model_path /home/jdzhou/exper/uncomp/models/tinyllama --eval_batch_size 1 --method uncomp --name ./output_tinyllama_1b --gpu_id 0 --fp16 1 --seed 43 --logger_pattern info --port 1236
Current path: /home/jdzhou/exper/uncomp
Output Catalogue /home/jdzhou/exper/uncomp/./output_tinyllama_1b/
2025-11-28 20:40:28,899 - [Process 0/1] - INFO - args.seed is 43
2025-11-28 20:40:28,928 - [Process 0/1] - INFO - model_path is /home/jdzhou/exper/uncomp/models/tinyllama
2025-11-28 20:40:28,928 - [Process 0/1] - INFO - uncomp
2025-11-28 20:40:30,305 - [Process 0/1] - INFO - Working on max_capacity_prompts 512 dataset narrativeqa - 0/16
2025-11-28 20:40:30,306 - [Process 0/1] - INFO - Loading data...
2025-11-28 20:40:30,339 - [Process 0/1] - INFO - Max Length is 36418
2025-11-28 20:40:30,339 - [Process 0/1] - INFO - Finish loading model and tokenizer
0%| | 0/200 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/home/jdzhou/exper/uncomp/run_longbench.py", line 1328, in
main(args,manager)
File "/home/jdzhou/exper/uncomp/run_longbench.py", line 287, in main
if manager.method_name in manager.draw_picture_set:
AttributeError: 'Manager' object has no attribute 'draw_picture_set'
Traceback (most recent call last):
File "/home/jdzhou/miniconda3/envs/uncomp/bin/accelerate", line 7, in
sys.exit(main())
File "/home/jdzhou/miniconda3/envs/uncomp/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 48, in main
args.func(args)
File "/home/jdzhou/miniconda3/envs/uncomp/lib/python3.10/site-packages/accelerate/commands/launch.py", line 1106, in launch_command
simple_launcher(args)
File "/home/jdzhou/miniconda3/envs/uncomp/lib/python3.10/site-packages/accelerate/commands/launch.py", line 704, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/home/jdzhou/miniconda3/envs/uncomp/bin/python3.10', 'run_longbench.py', '--method', 'uncomp', '--seed', '43', '--model_path', '/home/jdzhou/exper/uncomp/models/tinyllama', '--max_capacity_prompts', '512', '--attn_implementation', 'eager', '--save_dir', './results/results_long_bench', '--use_cache', 'True', '--method_name', 'uncomp', '--fphalf', '1', '--pattern', 'info', '--eval_batch_size', '1']' returned non-zero exit status 1.
(uncomp) ~/exper/uncomp$

The Manager class is missing many attributes (fields).
The example above is just one case.
How should this be resolved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions