TorchScript converts dynamic PyTorch models into static graphs primarily through two methods: `torch.jit.trace` (tracing) which records operations on example inputs for simple models, and `torch.jit.script` (scripting) which directly interprets Python code to handle control flow for complex models.