APT icon indicating copy to clipboard operation
APT copied to clipboard

getattr(self.model,k) return NoneType

Open ErichVonTang opened this issue 1 year ago • 3 comments

c2adf8cfa2ef9dc4bb458581d39437e in APT/prune/pruner.py",line 480

ErichVonTang avatar Oct 14 '24 07:10 ErichVonTang

Hi! Thank you for your interest in our work. Could you please provide a more detailed description of this bug. For example, your local environment (CUDA, torch, transformers versions, etc.), and also the script you were running. Thanks!

ROIM1998 avatar Oct 14 '24 17:10 ROIM1998

We run the script APT/scripts/adaptpruning/llama_2_7b_alpaca_gpt4.sh, and we have modified the model_name to our own, with no other changes made. Result in image

ErichVonTang avatar Oct 15 '24 05:10 ErichVonTang

Hi @ROIM1998 and @ErichVonTang , I have the same problem, have you solved it?

ttomtom6 avatar Dec 20 '24 12:12 ttomtom6