GUIDE: A Global Unified Inference Engine for Deploying Large Language Models in Heterogeneous Environments