FinGPT icon indicating copy to clipboard operation
FinGPT copied to clipboard

Training Killed

Open JosephTLockwood opened this issue 1 year ago • 1 comments

Attempted to run default FinGPT\fingpt\FinGPT-v3\benchmark\benchmarks.ipynb. The only change was commenting v3.1.

# v3.1
#base_model = "THUDM/chatglm2-6b"
#peft_model = "oliverwang15/FinGPT_v31_ChatGLM2_Sentiment_Instruction_LoRA_FT"
#tokenizer = AutoTokenizer.from_pretrained(base_model, trust_remote_code=True)
#model = AutoModel.from_pretrained(base_model, trust_remote_code=True, load_in_8bit = False, device_map = "auto")
#model = PeftModel.from_pretrained(model, peft_model)
#model = model.eval()

Processes was killed with no results.

image

JosephTLockwood avatar Aug 13 '23 10:08 JosephTLockwood

Hi JosephTLockwood, it might be hard to find out the problem with the information you provided. However, from my experience, it's usually an issue with your RAM so make sure you have enough RAM to load the model. It seems like you are using WSL and the useable RAM of your WSL is fewer than your Windows system. So you may need to google for something like 'how to extend the RAM of my WSL'. Or, you can provide more information on your hardware so we can check it out.

oliverwang15 avatar Aug 18 '23 05:08 oliverwang15