-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NewVersion: Fixes & Improvements (e.g. Cost Assessment&Tracking, Azure, +more) #152
base: main
Are you sure you want to change the base?
Conversation
There was yet another case where the gpt_response had an entry that did not have a "duration" AT ALL. It just contained the task. So I modified the code a bit more. My fix is SUPER ugly. Hopefully someone will write a cleaner code block than me but here's what I did. Not tested yet:
|
I am concerned that it relies entirely on the model answer. If this is the case, we can't be certain that the answer will always be in the requested format. To address this, I am developing a script that can resume the simulation from the previous step in case of failures. You can find it in my repository under the name |
Issue #156 Execution time slowwwwww for n25. |
Yeah, don't know how to solve it. I did a 15k steps run and it took ~41hrs if I remember well (but I have to run another long run in the next days, I'll keep you updated with the exact time). |
Hey guys, I have finally added the automated script for execution. You can find a quick description in my repo readme. That includes lots of interesting features:
For more details look to the repo readme and feel free to ask questions here :)
|
Hi @drudilorenzo, thanks for your fork! I run into the same error with your fork as I do with the original repository: It seems others are experiencing this error as well. Any idea how to solve it? I followed your install steps and am running on an M2 MBP. |
I suspect this is an error having to do with which directory you are executing reverie.py i.e. the backend server from. It has to match up with where the files are located for the simulation. So wherever base_the_ville_isabella_maria_klaus is located then its relative path must be reachable from wherever you ran reverie.py. At least that's what happened to me when I was messing around with using a batch file to run things. I ran the batch file in a different location from the source code and it couldn't fine the simulation files. |
@dafrontman Hmmm, thanks for your advice. I did the following: terminal 1:
terminal 2:
Did you run them from different locations? |
No, those are the right locations, but what I did that caused the error message to come from the server is I tried to automate my run process by putting that stuff in a batch file. When I did it that way, because I ran the batch file from a different directory, I think python saw my execution path as different from "reverie/backend_server" so when it tried to grab the simulation data and it was using relative paths it couldn't find it because I launched from the wrong path. |
Hi! Unfortunately, I have never encountered the error you mentioned (I am using Ubuntu and never directly tried the project on MacOS). Here are a few questions to better understand your setup:
The correct procedure should be: Step 1:Activate the conda env. Step 2:cd environment/frontend_server
python manage.py runserver Step 3:In another terminal: cd reverie/backend_server
python reverie.py Step 4:Open
Let me know if it works! |
Hey, thanks for your reply. Yeah, those are exactly the steps I've done. I also tried Ubuntu from an AWS EC2 instance and got the same result. I've tried Arc browser and standard chrome browser. I'm able to see map page after starting the backend and first browsing to generative_agents/environment/frontend_server/templates/home/error_start_backend.html Line 4 in fe05a71
Here's what it looks like: |
The fact that it shows the error when you refresh the page is normal. I think that a possible reason is that, if you refresh the page, to be able to continue from the point you were before, there should be some mechanism able to read the previous state and reset everything as it was (just a guess, but don't focus on this. It is something that shouldn't affect the simulation). What is more strange is that you are not seeing any update at all. Let's debug it using Btw, which models are you using? Both chat completion and embeddings (All my experiments are done using |
Ah, didn't realize that that page when refreshing is normal! After waiting a few minutes without touching anything I finally see it moving! I guess I was too impatient 😅 Thanks for your help! |
@drudilorenzo I am still facing an issue mentioned in #93 |
|
hey,when i try to run run_backend sh ,it have some error
|
the openai_config.json need |
Thanks for your work, @drudilorenzo! My team and I have been iterating on your repo on our own fork, and have further improved this codebase based on your work. Here is the PR which describes all the major updates we've made, in case anyone else interested: drudilorenzo#8 |
Since the project is no longer officially supported, I created a fork in which I inserted numerous fixes and improvements.
For more info see the repo
New Features:
skip-morning-s-14
that starts at ~8am and permits to see actions and interactions earlier.Powerful automated script
for enhanced simulation performance (see repo readme).Fixes: