Similar Items: CAGR: A Cross-Accelerator Graph Optimization Framework for Efficient Recommender System Inference