Skip to main content

Documentation Index

Fetch the complete documentation index at: https://wb-21fd5541-john-wbdocs-2044-rename-serverless-products.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

function teardown

teardown(exit_code: 'int | None' = None) → None
Waits for W&B to finish and frees resources. Completes any runs that were not explicitly finished using run.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.