Reputation
Badges 1
53 × Eureka!I do have uncommitted code changes. I can try to check at some point if it would not have the problem without them. It seems like it could be repeated just by making a git repo with that script and adding a very large file. If I can repeat it is it best to open an issue in GitHub?
No it completes and exists the script
There is clearly some connection to the ClearML server as it remains "running" the entire training session but there are no metrics or debug samples. And I see nothing in the logs to indicate there is an issue
Yes it is logging to the console. The script does hang whenever it completes all the epochs when it is having the issue.
Running clearml_example.py in None reproduces the issue
We are running the same code on multiple machines and it just randomly happens. Currently we are having the issue on 1 out of 4
I'm not sure if it still reports logs. But it will continue running on the machine
So I was able to repeat the same behavior on a machine running this example None
by adding the following callback
class TensorBoardImage(TensorBoard):
@staticmethod
def make_image(tensor):
from PIL import Image
import io
tensor = np.stack((tensor, tensor, tensor), axis=2)
height, width, channels = tensor.shape
image = Image.from...
I will try with clearml==1.16.3rc2 and see if it still has the issue
I'm not sure how to even troubleshoot this.
Yes it shows on the UI and has the first epoch for some of the metrics but that's it. It has run like 50 epochs, it says it is still running but there are no updates to the scalars or debug samples
Not sure if this is helpful but this is what I get when I cntrl-c out of the hung script
^C^CException ignored in atexit callback: <bound method Reporter._handle_program_exit of <clearml.backend_interface.metrics.reporter.Reporter object at 0x70fd8b7ff1c0>>
Event reporting sub-process lost, switching to thread based reporting
Traceback (most recent call last):
File "/home/richard/.virtualenvs/temp_clearml/lib/python3.10/site-packages/clearml/backend_interface/metrics/reporter.py", lin...
This was on the same machine I am having issues with it logs scalars correctly using the example code, but when I add in that callback which just logs a random image to tensorboard I don't get any scalars logged
Yes I see it in the terminal on the machine
Is there someway to kill all connections of a machine to the ClearML server this does seem to be related to restarting a task / running a new task quickly after a task fails or is aborted
I'll update my clearml version. Unfortunately I do not have a small code snippet and it is not always repeatable. Is there some additional logging that can be turned on?
I am using 1.15.0. Yes I can try with auto_connect_streams set to True I believe I will still have the issue
I guess I don't understand I am referring to the clearml configuration file on the agent. The only way I have gotten it to consistently work is to just install the environment before hand and set that environment variable. Otherwise it seems clearml is not correctly saving the environment to be able to reproduce it. In my case the issues is installing tensorflow instead of tensorflow[and-cuda] which is what was installed
I just used CLEARML_AGENT_SKIP_PYTHON_ENV_INSTALL
can that be put int he clearml.conf? I didn't see a reference to it in the documentaiton
Another thing I notice is that aborting the experiment does not work when this is happening. It just continues to run
I found that setting store_uncommitted_code_diff: false
instead of true seems to fix the issue