function teardown
Description
Waits for W&B to finish and frees resources. Completes any runs that were not explicitly finished usingrun.finish() and waits for all data to be uploaded.
It is recommended to call this at the end of a session
that used wandb.setup(). It is invoked automatically
in an atexit hook, but this is not reliable in certain setups
such as when using Python’s multiprocessing module.
Args
exit_code: