Fine tune llama3 model

I am curious to know how can we fine tune llama model without using huggingface or platform like that ?