-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi @asillycat
I am getting the following error when running Mistral-7B with AttnGCG. That's the reason why I am unable to replicate the results of Mistral in #4!!
Traceback (most recent call last):
File "/AutoDrafter/libs/AttnGCG/experiments/launch_scripts/../main.py", line 99, in <module>
app.run(main)
File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "/AutoDrafter/libs/AttnGCG/experiments/launch_scripts/../main.py", line 76, in main
control, inner_steps = attack.run(
File "/AutoDrafter/libs/AttnGCG/AttnGCG/base/attack_manager.py", line 1455, in run
attack.run(
File "/AutoDrafter/libs/AttnGCG/AttnGCG/base/attack_manager.py", line 979, in run
control, loss = self.step(
File "/AutoDrafter/libs/AttnGCG/AttnGCG/attngcg/attngcg_attack.py", line 215, in step
_, _, _, loss_infos = zip(*[worker(self.prompts[k][i],
File "/AutoDrafter/libs/AttnGCG/AttnGCG/attngcg/attngcg_attack.py", line 215, in <listcomp>
_, _, _, loss_infos = zip(*[worker(self.prompts[k][i],
File "/AutoDrafter/libs/AttnGCG/AttnGCG/base/attack_manager.py", line 1565, in __call__
return ob.logits(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "/AutoDrafter/libs/AttnGCG/AttnGCG/base/attack_manager.py", line 568, in logits
raise NotImplementedError("Should not happen")
NotImplementedError: Should not happen
Looking forward to see if there's an issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels