Tensor Processing in Bard & Gemini


Leveraging Tailored Tensor Processing for Scalable AI: Examining TPU Integration in Google’s Bard and Gemini

Fundamentally, TPUs and GPUs have architecturally distinct designs catering to different computational workloads. GPUs excel at parallel graphics rendering and related tasks involving substantial floating point operations. Their strength lies in crunching large datasets by distributing calculations simultaneously across thousands of smaller cores.

In comparison, TPUs possess fewer yet more powerful cores tailored to machine learning calculations, particularly matrix multiplications using low-precision integers. This makes them exceptionally efficient for the types of neural network operations underlying complex deep learning models. A single TPU can deliver over 90 teraops per second focusing on specialized 8-bit integer math.

The advantages of this approach are abundantly clear in systems like Google’s Gemini and Bard. Both leverage multiple generations of custom-designed TPUs as opposed to more general-purpose GPUs. For example, Gemini has been pre-trained from inception across modalities using both TPU v4 and the more advanced TPU v5e.

Likewise, Bard’s natural language capabilities depend on specialized language models powered by Google’s TPU infrastructure. The newly announced Cloud TPU v5p promises over 393 tops with 48 MiB of onboard memory, distinctly surpassing even leading GPU offerings.

On TPUs, Gemini and Bard demonstrate remarkable speed improvements compared to previous smaller models, as the streamlined architecture does not waste cycles on unnecessary graphical functionality. This allows more responsive, scalable, and cost-efficient deployment of increasingly complex neural networks.

Moreover, software frameworks like Google’s TensorFlow and hardware ecosystems like their data centers are highly optimized for interoperability with TPUs. The racks of TPU v5p modules announced in tandem with Gemini and Bard updates showcase Google’s vertical integration strategy.

Whereas GPU-reliant solutions must adapt third-party chips like NVIDIA’s A100 to suboptimal data center configurations, Google crafts complementary software, hardware, and infrastructure to extract maximum efficiency from TPUs across products and services.

The efficiencies this enables are already evident in existing applications depending on models trained using TPU pods, like Google Photos, Search, and Android. One can expect the infusion of Bard and Gemini into these services to boost capabilities even further as increasing TPU capacity unlocks greater scale and sophistication.

In summary, purpose-built TPUs provide game-changing acceleration tailored to machine learning calculations underpinning modern AI. This translates to real-world performance advantages for Google as services adopt models like Bard and Gemini powered by continually advancing TPU architectures integrated into customized software and hardware stacks.

See also:

Hardware Meta Guide


  • Abedi, M., Alshybani, I., Shahadat, M. R. B., & Murillo, M. (2023). Beyond traditional teaching: The potential of large language models and chatbots in graduate engineering education. Qeios.
  • Anderson, T., Bard, D., Baxter, D., Buuck, M., Collar, J. I., … Yu, T. T. (2022). Snowmass2021 cosmic frontier: Modeling, statistics, simulations, and computing needs for direct dark matter detection. arXiv preprint arXiv:2203.05044.
  • Ayers, D., Lau, J., & Amezcua, J. (2023). Supervised machine learning to estimate instabilities in chaotic systems: Estimation of local Lyapunov exponents. Quarterly Journal of the Royal Meteorological Society.
  • Brough, W. T. (2023). Artificial intelligence. R Street Institute.
  • Carvalko, J. (2023). GPT–a paradigm shift for the twenty-first century.
  • Chaudhuri, S., Logsdail, A. J., & Maurer, R. J. (2023). Stability of single metal atoms on defective and doped diamond surfaces. arXiv preprint arXiv:2306.06274.
  • Chui, M., Issler, M., Roberts, R., & Yee, L. (2023). Technology trends outlook 2023. McKinsey & Company.
  • Cook, J. H. (2022). Studying the tissue-specificity of cancer driver genes through kras and genetic dependency screens (Doctoral dissertation, Massachusetts Institute of Technology). ProQuest Dissertations Publishing.
  • Cviti?, I., Jevremovic, A. & Lameski, P. (2023). Approaches and opportunities of using machine learning methods in telecommunications and industry 4.0. Mobile Networks and Applications.
  • Dean, J. & Vahdat, A. (2023, August). Exciting directions for ML models and the implications for computing hardware. In 2023 IEEE Hot Chips 35 Symposium (HCS) (pp. 1-24). IEEE.
  • de Burgh-Day, C.O. et al. (2023). Machine learning for numerical weather and climate modelling: A review. Geoscientific Model Development.
  • Devarajan, H., Kougkas, A., & Zheng, H. (2022). Stimulus: Accelerate data management for scientific AI applications in HPC. In 2022 22nd IEEE/ACM International Symposium on Cluster, Cloud and Internet Computing (CCGRID) (pp. 113-122). IEEE.
  • Dobson, J.E. (2022). Essays and reviews in computing and culture. Interfaces (Minneapolis). University of Minnesota Digital Conservancy.
  • Faiz, A., Kaneda, S., Wang, R., Osi, R. & Sharma, P. (2023). LLMCarbon: Modeling the end-to-end carbon footprint of large language models. arXiv preprint arXiv:2303.08384.
  • Faries, F.R. (2022). Big data and the integrated sciences of the mind. (Doctoral dissertation). ProQuest Dissertations Publishing.
  • Gu, H., Schreyer, M., & Moffitt, K. (2023). Artificial intelligence co-piloted auditing. Available at SSRN 4583665.
  • Had & Qureshi et al. (2023). A survey on large language models: Applications, challenges, limitations, and practical usage.
  • Hsia, S., Golden, A., Acun-Uyan, B., & Ardalani, N. (2023). MAD max beyond single-node: Enabling large machine learning model acceleration on distributed systems. arXiv preprint arXiv:2302.11172.
  • Ionescu, V.M. & Enescu M.C. (2023). Using chatGPT for generating and evaluating online tests. In 2023 15th international conference on education and new learning technologies (EDULEARN23 Proceedings) (pp. 10954-10961). IATED.
  • Kdev & Wang, W. (2023). ChatGPT needs SPADE (sustainability, privAcy, digital divide, and ethics) evaluation: A review. TechRxiv.
  • Khowaja, S.A., Khuwaja, P. & Dev, K. (2023). ChatGPT needs SPADE (sustainability, privAcy, digital divide, and ethics) evaluation: A review. arXiv preprint arXiv:2305.03123.
  • Kottmann, K. (2022). Investigating quantum many-body systems with tensor networks, machine learning and quantum computers. arXiv preprint arXiv:2210.11130.
  • Liu, H., Urata, R., Yasumura, K., & Zhou, X. (2023). Lightwave fabrics: At-scale optical circuit switching for datacenter and machine learning systems. In Proceedings of the Seventeenth ACM International Conference on Future Energy Systems (pp. 214-224).
  • Luo, N., Zhong, X., Su, L., Cheng, Z., Ma, W., & Hao, P. (2023). Artificial intelligence-assisted dermatology diagnosis: From unimodal to multimodal. Computers in Biology and Medicine, 154, 105948.
  • Madden, I., Marras, S., & Suckale, J. (2023). Leveraging Google’s tensor processing units for tsunami-risk mitigation planning in the Pacific Northwest and beyond. arXiv preprint arXiv:2301.12010.
  • Mate, S., Somani, V. & Dahiwale, P. (2023). CHATGPT: Optimizing text generation model for knowledge creation. Journal on Software Engineering, 3(1), 1-9.
  • Moberg, H.K. (2023). Pushing the boundaries of biomolecule characterization through deep learning (Doctoral dissertation). ProQuest Dissertations Publishing.
  • Moser, K. (2022). Transport modeling with experimental data and machine learning at ASDEX upgrade. ResearchGate.
  • Orenes-Vera, M., Tureci, E., & Wentzlaff, D. (2023). Dalorex: A data-local program execution and architecture for memory-bound applications. In 2023 IEEE International Symposium on High-Performance Computer Architecture (HPCA) (pp. 824-837). IEEE.
  • Oudrhiri, A., Taly, E., Bain, N., & Munier-Kordon, A. (2023). Performance modeling and estimation of a configurable output stationary neural network accelerator. HAL Archive Ouverte.
  • Pei, Q., Chen, S., Zhang, Q., Zhu, X., Liu, F., & Jia, Z. (2022). CoolEdge: Hotspot-relievable warm water cooling for energy-efficient edge datacenters. In Proceedings of the 27th ACM SIGOPS Symposium on Operating Systems Principles (pp. 146–161).
  • Pietikäinen, M. & Silvén O. (2023). How will artificial intelligence affect our lives in the 2050s? University of Oulu Repository.
  • Plaat, A. (2022). Multi-agent reinforcement learning. In L. Busoniu, D. Toubman & R. Babuska (Eds.), Deep reinforcement learning (pp. 337-380). Springer International Publishing.
  • Salvatori, T., Mali, A., Buckley, C.L., & Lukasiewicz, T. (2023). Brain-inspired computational intelligence via predictive coding. arXiv preprint arXiv:2301.07338.
  • Sitaraman, G. & Narechania, T. N. (2023). An antimonopoly approach to governing artificial intelligence. Available at SSRN 4587341.
  • Sun, Q., Liu, Y., Yang, H., Zhang, R., & Dun, M. (2022). CoGNN: Efficient scheduling for concurrent GNN training on GPUs. In SC22: International Conference for High Performance Computing, Networking, Storage and Analysis (pp. 647-660). IEEE.
  • Thorpe, J.V. (2022). Efficient, affordable, and scalable deep learning systems. ProQuest Dissertations Publishing.
  • Vipra, J. & Korinek, A. (2023). Market concentration implications of foundation models. arXiv preprint arXiv:2311.01550.
  • Wang, S., Chen, S., & Shi, Y. (2022). Workload Analysis and Prediction of Multi-type GPU in Heterogeneous GPU Clusters. Research Square.
  • Xu, R., Razavi, S., & Zheng, R. (2023). Edge video analytics: A survey on applications, systems and enabling techniques. IEEE Communications Surveys & Tutorials.
  • Yenduri, G., Srivastava G. & Maddikunta, P.K.R. (2023). Generative pre-trained transformer: A comprehensive review on enabling technologies, potential applications, emerging challenges, and future directions. arXiv preprint arXiv:2302.05251.
  • Zabala, F.J.C. (2023). Grow your business with AI: A first principles guide for business leaders. Springer International Publishing.
  • Zhang, C., Zhang, C., Zheng, S., Qiao, Y. & Li, C. (2023). A complete survey on generative AI (AIGC): Is ChatGPT from GPT-4 to GPT-5 all you need? arXiv preprint arXiv:2303.10454.