To set up the environment, use the provided vlsi_env.yaml
Conda configuration file. Run the following command:
conda env create -f vlsi_env.yaml
If you are using a single GPU, simply run:
python main.py
For multi-GPU setups, follow these steps:
-
Configure
accelerate
by 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.