Skip to content

Commit 53ebcc6

Browse files
committed
fix
1 parent 0e54176 commit 53ebcc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxdiffusion/generate_ltx2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def call_pipeline(config, pipeline, prompt, negative_prompt):
102102

103103

104104
def run(config, pipeline=None, filename_prefix="", commit_hash=None):
105-
writer = max_utils.initialize_summary_writer(config)
105+
writer = max_utils.initialize_summary_writer(config) if config.run_name else None
106106
if jax.process_index() == 0 and writer:
107107
max_logging.log(f"TensorBoard logs will be written to: {config.tensorboard_dir}")
108108

0 commit comments

Comments
 (0)