stitionai / devika

Devika is an Agentic AI Software Engineer that can understand high-level human instructions, break them down into steps, research relevant information, and write code to achieve the given objective. Devika aims to be a competitive open-source alternative to Devin by Cognition AI.
MIT License
17.98k stars 2.33k forks source link

[ISSUE] Unable to run devika getting error, Getting error of parelleisim has been already used #556

Open kotharismeet-3 opened 2 months ago

kotharismeet-3 commented 2 months ago

Configuration

- OS: macOS - 14.4.1
- Python version: 3.9.6
- Node version: 18.17.1
- bun version: 1.1.8
- search engine: -
- Model: -

Getting error of parelleisim has been already used, ideally it should not because code is already os.environ["TOKENIZERS_PARALLELISM"] = "false"

How To Reproduce

Steps to reproduce the behavior (example): python3 devika.py

Expected behavior

devika.py should run

Screenshots and logs

huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
        - Avoid using `tokenizers` before the fork if possible
        - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
To disable this warning, you can either:
        - Avoid using `tokenizers` before the fork if possible
        - Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
Traceback (most recent call last):
  File "/Users/smeetkothari/python/devik
Screenshot 2024-05-13 at 3 01 19 PM
RobertWeijie commented 2 months ago

same

Polygons1 commented 2 months ago

just set it to true

kotharismeet-3 commented 2 months ago

@Polygons1 it dosent work that way!, also unable to get context of error from the code

RobertWeijie commented 2 months ago

@Polygons1 it dosent work that way!, also unable to get context of error from the code

+1