runtime error
/home/user/.local/lib/python3.10/site-packages/langchain/__init__.py:29: UserWarning: Importing PromptTemplate from langchain root module is no longer supported. Please use langchain.prompts.PromptTemplate instead. warnings.warn( /home/user/.local/lib/python3.10/site-packages/langchain/__init__.py:29: UserWarning: Importing LLMChain from langchain root module is no longer supported. Please use langchain.chains.LLMChain instead. warnings.warn( adapter_config.json: 0%| | 0.00/657 [00:00<?, ?B/s][A adapter_config.json: 100%|██████████| 657/657 [00:00<00:00, 2.59MB/s] config.json: 0%| | 0.00/581 [00:00<?, ?B/s][A config.json: 100%|██████████| 581/581 [00:00<00:00, 3.72MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 106, in <module> peft_model, peft_tokenizer = init_model_and_tokenizer(PEFT_MODEL = model) File "/home/user/app/app.py", line 20, in init_model_and_tokenizer peft_base_model = AutoModelForCausalLM.from_pretrained( File "/home/user/.local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 566, in from_pretrained return model_class.from_pretrained( File "/home/user/.local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3032, in from_pretrained raise RuntimeError("No GPU found. A GPU is needed for quantization.") RuntimeError: No GPU found. A GPU is needed for quantization.
Container logs:
Fetching error logs...