Install PyTorch and get the publisher inference repository
On your Linux machine or rented GPU instance, install PyTorch so that the torchrun launcher is available on PATH. Then obtain the deepseek-ai/DeepSeek-V4-Flash repository from Hugging Face, since the documented workflow uses its convert.py and generate.py scripts.