To set up the environment, use the provided vlsi_env.yaml Conda configuration file. Run the following command:
conda env create -f vlsi_env.yamlIf you are using a single GPU, simply run:
python main.pyFor multi-GPU setups, follow these steps:
-
Configure
accelerateby running:accelerate config
Refer to Accelerate Configuration Guide for detailed instructions.
-
Launch the training process:
accelerate launch main.py
After training, you can run inference using the following command:
python inference.py --checkpoint <CHK_PATH>Replace <CHK_PATH> with the path to your trained model checkpoint.