Yaa Sure,
pl_model = UQAFineTuneModel()
trainer = pl.Trainer(

        max_epochs=args.model_config["num_epochs"],

        default_root_dir=Path(args.exp_directory),

        logger=args.lgr,

        callbacks=[early_stopping_callback, checkpoint_callback],

        gpus=torch.cuda.device_count() if args.torch_device == "gpu" else None,

        auto_select_gpus=True if args.torch_device == "gpu" else False,

    )

    trainer.fit(

        pl_model, train_dataloader=train_data_loader, val_dataloaders=val_data_loader

    )