processing data for mode: text
Training failed with error: Could not find any running Ray instance. Please specify the one to connect to by setting `--address` flag or `RAY_ADDRESS` environment variable.
Cleaning up Ray cluster due to error...

==================================================
STARTING RAY CLEANUP...
==================================================
Ray is not initialized, but will force cleanup anyway...
Step 2: Force killing Ray processes...
Force killing Ray processes...
Force killed all Ray processes
Step 3: Cleaning Ray environment...
Cleared 4 Ray environment variables
==================================================
RAY CLEANUP COMPLETED
==================================================
Executing cleanup in run_ppo...

==================================================
STARTING RAY CLEANUP...
==================================================
Ray is not initialized, but will force cleanup anyway...
Step 2: Force killing Ray processes...
Force killing Ray processes...
Force killed all Ray processes
Step 3: Cleaning Ray environment...
Cleared 0 Ray environment variables
==================================================
RAY CLEANUP COMPLETED
==================================================
Training failed with unexpected error: Could not find any running Ray instance. Please specify the one to connect to by setting `--address` flag or `RAY_ADDRESS` environment variable.

==================================================
STARTING RAY CLEANUP...
==================================================
Ray is not initialized, but will force cleanup anyway...
Step 2: Force killing Ray processes...
Force killing Ray processes...
Force killed all Ray processes
Step 3: Cleaning Ray environment...
Cleared 0 Ray environment variables
==================================================
RAY CLEANUP COMPLETED
==================================================
Executing final cleanup in main...

==================================================
STARTING RAY CLEANUP...
==================================================
Ray is not initialized, but will force cleanup anyway...
Step 2: Force killing Ray processes...
Force killing Ray processes...
Force killed all Ray processes
Step 3: Cleaning Ray environment...
Cleared 0 Ray environment variables
==================================================
RAY CLEANUP COMPLETED
==================================================

==================================================
STARTING RAY CLEANUP...
==================================================
Ray is not initialized, but will force cleanup anyway...
Step 2: Force killing Ray processes...
Force killing Ray processes...
Force killed all Ray processes
Step 3: Cleaning Ray environment...
Cleared 0 Ray environment variables
==================================================
RAY CLEANUP COMPLETED
==================================================

==================================================
STARTING RAY CLEANUP...
==================================================
Ray is not initialized, but will force cleanup anyway...
Step 2: Force killing Ray processes...
Force killing Ray processes...
Force killed all Ray processes
Step 3: Cleaning Ray environment...
Cleared 0 Ray environment variables
==================================================
RAY CLEANUP COMPLETED
==================================================
