Browsing: Optimizing Resource Allocation for AI Workloads