CmyLjj
CmyLjj
模型训练时候 ``` [2024-06-24 10:46:00,637] torch.distributed.run: [WARNING] [2024-06-24 10:46:00,637] torch.distributed.run: [WARNING] ***************************************** [2024-06-24 10:46:00,637] torch.distributed.run: [WARNING] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your...
以下是我重构的原始部分代码 async for agent, mode, event_data in graph.astream( input=initial_state, config={ "thread_id": thread_id, "max_plan_iterations": max_plan_iterations, "max_step_num": max_step_num, }, stream_mode=["updates", "custom", "messages"], #stream_mode=["values"], subgraphs=True ): print("**********event_data************:",event_data)