code: def print_howto(login_args: Sequence[str]):
      print(
          f"""
  ###############################################################################
  ###############################################################################
  
  You can start/stop the instace via the web UI:
  https://console.cloud.google.com/compute/instances?project={FLAGS.project}
  
  Once the VM has started, you can login and connect to the training session:
  
  {' '.join(login_args)}
  
  Note that you can disconnect from the tmux session without stopping the training
  with the keystrokes 'CTRL-B A'. See "man tmux" for help about tmux.
  
  To observe the training via Tensorboard, simply run in your local computer:
  
  $ tensorboard --logdir={FLAGS.gcs_workdir_base}
  
  You can also browse the files at
  
  https://console.cloud.google.com/storage/browser/{FLAGS.gcs_workdir_base.replace('gs://', '')}
  
  ###############################################################################
  ###############################################################################
  """
      )
  
file_path: flax/examples/cloud/launch_gce.py
imports: import datetime
  import os
  import re
  import subprocess
  import time
  from typing import Sequence
  from absl import app
  from absl import flags
label_desc: Use image node_id 3 for calling a global function with example usage: print_howto(login_args) without return types