This is a good place to start for beginners. This will run on an NVIDIA RTX4090 with no other changes needed.
accelerate launch scripts/finetune.py examples/4bit-lora-7b/config.yml