Closed LIUQI-creat closed 1 year ago
I tried with an agent count of 500 and the program is fine. It took seven minutes to get the post to 10 agents. Is this because when the number of agents reaches 1,000, "Linda Davis" has a lot of friends, so they will all see the post and save it to their memories, resulting in a long time?
@LIUQI-creat Hi, I believe you are correct. From the screenshot above, it appears that it stopped during the self.agents[i].memory.add_memory
process, which may be time-consuming due to adding memory.
Hi, Thanks for your excellent work! I would like to know what would be an interesting scenario when the number of agents is 1000. I just change the agent_num to 1000 in config.yaml. The program executes normally when the agent chats with other agents or enters the recommender system. But when the agent posts on the social network, the terminal gets stuck, like this:
When I CTRL+C, the error is :
The code I'm using is up to date, and I've tried changing the active_agent_threshold to 1000 in config.yaml, as well as falling back to the version before this change #3 , but neither works.