Closed PierrunoYT closed 7 months ago
Can you provide more information in the log file? Do you find any more useful clues?
Can you provide more information in the log file? Do you find any more useful clues?
Hey there. I dont have any log files inside the logs folder in OpenDevin
Or do you find any logs in terminal output where you run make run
?
Or do you find any logs in terminal output where you run
make run
?
No I closed it already but I run the backend and frontend seperately.
I run the backend and frontend seperately
That is OK. If you meet this problem again and have any useful logs, please put it here. I will also pay attention whether other user also meet this problem.
I run the backend and frontend seperately
That is OK. If you meet this problem again and have any useful logs, please put it here. I will also pay attention whether other user also meet this problem.
Okay but right now I have a new problem.
I am facing the same problem, and I am getting the following error:
'str' object has no attribute 'copy'
Traceback (most recent call last):
File "OpenDevin/opendevin/controller/agent_controller.py", line 113, in step
action = self.agent.step(self.state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "OpenDevin/agenthub/monologue_agent/agent.py", line 166, in step
action = prompts.parse_action_response(action_resp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "OpenDevin/agenthub/monologue_agent/utils/prompts.py", line 135, in parse_action_response
return action_from_dict(action_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "OpenDevin/opendevin/action/__init__.py", line 24, in action_from_dict
action = action.copy()
^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'copy'
Choose different llm's, i tried like 30 already on my i5 11400, 32gb ram, rtx3080 and many model gave me that error as well, i guess their just too weak to power devin. have't found the "right" one yet but im experementing with TheBloke_Mistral-7B-Instruct-v0.2-code-ft-AWQ and Unblocked_Finetuned-Mistral-7B-v0.2-code-full although Unblocked_Finetuned-Mistral-7B-v0.2-code-full is making a lot of reasonable thinking it stops writing updates in the devinchat and just updates it'S messages in the terminal without actually programming. But I just went home so I'm gonna try with the latest version. Also I recommend to use oobabooga webui since it's the only one which got me a good output. here is a guide for oobabooga https://github.com/OpenDevin/OpenDevin/commit/08a2dfb01af1aec6743f5e4c23507d63980726c0#commitcomment-140559598
EDIT: The Error '"Oops. Something went wrong: 'str' object has no attribute 'copy'" happens when wether the CUDA is oom or the context length is too low.
"torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 162.00 MiB. GPU 0 has a total capacity of 9.54 GiB of which 15.56 MiB is free. Process 1580 has 0 bytes memory in use. Including non-PyTorch memory, this process has 8.29 GiB memory in use. Process 12583 has 438.00 MiB memory in use. Of the allocated memory 6.92 GiB is allocated by PyTorch, and 1.11 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)"
or
01:44:39-382542 WARNING The input has been truncated. Context length: 4096,
max_new_tokens: 512, available context length: 3584.
01:44:39-425848 WARNING The input has been truncated. Context length: 4096,
max_new_tokens: 512, available context length: 3584.
claude works try that one out
claude works try that one out
what model are you using? can you provide a huggingface link? also what are your specs? just to compare
claude works try that one out
I'm using Claude and I got this error.
https://github.com/OpenDevin/OpenDevin/issues/718#issuecomment-2038342654
make sure that the model has a high context lenght like 25000+, make sure you have enough vram/ram depending on what architecture ur using (gguf, awq). What claude model are you using and what ai software are you using? like ollama, lm-studio, oobabooga etc
make sure that the model has a high context lenght like 25000+, make sure you have enough vram/ram depending on what architecture ur using (gguf, awq). What claude model are you using and what ai software are you using? like ollama, lm-studio, oobabooga etc
I'm using Claude 3
#718 (comment) make sure that the model has a high context lenght like 25000+, make sure you have enough vram/ram depending on what architecture ur using (gguf, awq). What claude model are you using and what ai software are you using? like ollama, lm-studio, oobabooga etc
I'm using Claude 3
ah i see, sorry i haven't used claude 3. hope someone else can help
This should give a better error message to the LLM that it can recover from: https://github.com/OpenDevin/OpenDevin/pull/875