Current Methodologies in Practical Performance ...

Current Methodologies in Practical Performance Engineering for AI Workloads and Future Perspectives with Open Architectures

At Frontiers of Performance Engineering in HPC Systems for AI Workloads, SCA/HPCAsia 2026 Osaka https://www.sc-asia.org/2026/program.html#day-0128

YOSHIFUJI Naoki @Tenstorrent

January 28, 2026

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

40 slides
  1. Current Methodologies in Practical Performance Engineering for AI Workloads and

    Future Perspectives with Open Architectures YOSHIFUJI Naoki (FAE, Tenstorrent) @Frontiers of Performance Engineering in HPC Systems for AI Workloads, SCA/HPCAsia 2026 Osaka 1
  2. Disclaimer The views and opinions expressed in this presentation are

    those of the speaker and do not necessarily reflect the official policy or position of Tenstorrent. 2
  3. TL;DR: • AI workload demands are surging unprecedentedly. • Practical

    Performance Engineering is the key to tackling this challenge. • However, increasing complexity and "black boxes" are widening the gap between theory and practice. • To break through, full-stack “Openness” is the essential weapon. • Tenstorrent leads the future with a fully open architecture for AI and HPC. 3
  4. Who am I 𠮷藤 尚生 YOSHIFUJI Naoki (@LWisteria) The head

    author&editor of the book titled 『実践的パフォーマンスエンジニアリングによ るAI高速化』 (“Accelerating AI through Practical Performance Engineering”) (Online avatar) • Field Application Engineer, Tenstorrent (2026-) • Director/Engineer, Fixstars (2013-2025) 4
  5. Who are we (Tenstorrent) Tenstorrent builds next-generation computers. • Founded:

    2016 ◦ Moved headquarters to the US in January 2024 ◦ Established Japanese subsidiary in January 2023 (Tenstorrent Japan K.K.) • Employees: 1100+ ◦ Major Offices: Santa Clara, Austin, Toronto, Boston, Belgrade, Bangalore, Japan Jim Keller, CEO (AMD, Intel, Apple, Tesla, DEC) Mamoru Nakano, Japan Country Mgr (Cray, HPE, DEC, MHI) 5
  6. Tenstorrent Product Summary IP (TT-Ascalon™ / Tensix NEO) Chips &

    Chiplets • Portfolio of products powered by scalable Tensix AI cores • Scales from mW to MW for efficiency and performance • Industry-leading performance • Inference and training, CNN and NLP, recommendation engines, all on the same silicon • Modular design available in varied configurations • Hardware available for purchase as well as IP available for licensing • IP available for licensing • Multi-component modular chiplets Hardware Software • PCIe cards for DIY developer systems and cloud servers • Fully open source software stack with multiple entry points • Small servers for home, office, or lab environments • TT-Forge™ - MLIR-based compiler • High-density servers for enterprise and researchers to deploy at scale • TT-NN™ – Library of optimized operators • TT-Metalium™ - Bare metal, low-level programming model 6
  7. Tenstorrent for HPC Workloads • Traditional Applications ◦ Gravitational N-body

    ◦ OpenFOAM ◦ OpenLB • HPC-AI Applications ◦ AlphaFold3 ◦ Boltz-2 • and so on… 7
  8. Tenstorrent for HPC Workloads With major AI models • LLM/NLP:

    ◦ Llama ◦ Qwen ◦ Mistral ◦ FLUX ◦ Falcon ◦ BERT • Other ◦ Stable Diffusion ◦ Whisper ◦ ResNet ◦ ViT ◦ MobileNet ◦ UNet 8
  9. “Openness” is Tenstorrent’s key strategy LLM inference models Python kernels

    Manually optimized models LLM training vLLM TT-Train TTTransformers Models LLM, t2s, s2t models PyTorch models Jax PyTorch Partners TF ONNX Paddle Paddle TT-Forge™ SW TTShardon TT-NN™ TT-Metalium™ HW TT-Fabric TT-LLK (unified scale-up and scale-out) (low-level-kernels) • TT-KMD, TT-MLIR, GCC, LLVM • ISA Spec, High-level simulator, QEMU, HW reference model (instruction-level simulator), Design verification,... 9
  10. Table of Contents 1. Summary and introduction (finished, 5min) 2.

    Current 1. Solution: Practical Performance Engineering (5min) 2. Challenge: The gap widening between theory and practice (5min) 3. Future 1. Key enabler: Openness (5min) 2. Our approach: Tenstorrent’s fully open architecture (5min) 4. Conclusion 10
  11. AI Workloads are expanding • Large number of weight parameters

    ◦ >300B for frontier model, >70B for specific task agent • Long sequence length ◦ >1000k for frontier, >100k for specific task • Multi-modality ◦ image, audio, movie, physical,... • Many agents system ◦ >30 agents for tree-based MAS “Time” becomes the most expensive and important resource (again) 12
  12. Key is “to be practical” • Previous methodologies explain only

    theoretically: ◦ How to use profiling tools and calculate metrics ◦ How to modify the source code and configuration • Practical Performance Engineering should include additionally: ◦ A. How to plan profiling targets, area, length, and metrics ◦ B. How to know what the profiling results indicate ◦ C. How to select the counter method 14
  13. A. Set profiling target All you need to profile is

    “Efficiency”; To follow thermal (heat engines) or aero (wing design) and other engineering. 1. Define the “efficiency” as the top metric (e.g. roofline model) ◦ Get what is the maximum performance and ratio to it. 2. Establish the calculation method for efficiency. 3. List other metrics required for the calculation. 4. Select appropriate tools to measure these metrics. 5. Automate the process from measurement to calculation (as much as possible) 15
  14. B. Understand the profiling results Identify the root cause behind

    the (poor) profiling results. Example: ◦ If low GPU utilization, possible causes? ▪ CPU: longer than expected ▪ GPU: shorter than expected ◦ If CPU is longer, possible causes? ▪ GPU launch: Kernel launch itself is significant overhead. ▪ Host execution: Python interpreter, function calling ▪ Preprocess: image clipping+rotation, counting,... 16
  15. C. Select the improving method Prioritize the methods from many

    candidates For example: ◦ If CPU preprocess is bottleneck, 1. Offline/asynchronous processing: non on-the-fly task 2. Offload the task to GPU: if on-the-fly needed 3. Speedup the process on CPU performance engineering ◦ If GPU kernel execution is bottleneck, 1. Reduce recomputation (e.g. activation checkpoint, KV cache) 2. Reduce calculation load itself (e.g. pruning) 3. Use faster arithmetic (e.g. quantization) 17
  16. See the book in detail • 3700 JPY • Bookshop

    or online • Kindle/PDF version is available • English edition scheduled for release this Spring 18
  17. AI complexity is escalating Practical performance engineering is getting harder,

    widening the gap from theory. a. Growing models and data b. Sophisticated implementation c. Need to be more efficient 20
  18. a. Growing computing load • Increasing number of params, agents,

    tokens • Requires massive-scale computing systems (Supercomputer class) ◦ Multi-device ◦ Multi-node ◦ Collaboration with external storage or service • Lack of mutual understanding ◦ AI developers often lack low-level hardware visibility. ◦ HPC developers often lack insight into AI model behaviors. 21
  19. b. Complicated implementation More sophisticated and specific: • Algorithm ◦

    FlashAttention, PagedAttention ◦ KV-Cache ◦ Multi Latent Attention ◦ 5D parallelism, ZeRO ◦ … • Low-level kernel improvements ◦ Transformer Engine ◦ In-Network Computing / Communication Reduction (e.g. SHARP) ◦ CUTLASS ◦ … 22
  20. c. More efficient The world model: large transformer-based model for

    embedded system • Wayve: GAIA-1 • OpenDriveLab: GenAD • Turing: Terra 23
  21. The problem is ❌Don’t guess, measure We lack visibility into

    how SW interacts with HW at a granular level. (especially on GPUs) 24
  22. Requirements The entire system must be open • Software ◦

    frontend ◦ backend • Hardware ◦ specs,design ◦ implementation 26
  23. Frontend SW Framework and compiler • Inference/Training framework ◦ Transformers,

    OpenMMLab, DeepSpeed, Megatron-LM,... • AI framework ◦ PyTorch, TensorFlow,... • Algorithm library ◦ OpenCV, thrust, flash-infer,... • Programming language and compiler ◦ CPython, GCC, Clang, gfortran,... 27
  24. HW spec and design Full visibility to identify conflicts and

    root causes of performance issues • • • • • Instruction Set Architecture Throughput/Latency of each instruction Memory and cache strategy Data transfer routing … 29
  25. Tenstorrent is most open NVIDIA Component SW Front SW Back

    and others ✅ ✅ ❌ ✅ (No BLAS, only thin driver) ROCm HW Design ❌ (Detailed spec is hidden) HW Impl. AMD ❌ (Of course not) Tenstorrent ✅ ✅ ❌ ✅ ❌ ❌ for now (You can’t make the same free one by yourself, commercial only) 32
  26. Tenstorrent’s open ecosystem LLM inference models SW Front Python kernels

    Manually optimized models LLM training vLLM TT-Train TTTransformers TTShardon Models LLM, t2s, s2t models PyTorch models Jax PyTorch Partners TF ONNX Paddle Paddle TT-Forge™ TT-NN™ TT-Metalium™ SW Back TT-Fabric TT-LLK (unified scale-up and scale-out) (low-level-kernels) • TT-KMD, TT-MLIR, GCC, LLVM • ISA Spec, High-level simulator, QEMU, HW Design HW reference model (instruction-level simulator), Design verification,... 33
  27. Tenstorrent’s open software backend • TT-Metalium ◦ Bare-metal SDK (like

    CUDA) • TT-LLK ◦ Low-level kernel: examples and how-to • TT-Fabric ◦ Library and specifications for device interconnects • TT-KMD ◦ Kernel mode driver for Tenstorrent hardware interaction 35
  28. Tenstorrent’s open hardware design • TT-LLK: ◦ also explain how

    the kernel code works in the HW • TT-ISA: ◦ low-level documentation about Tenstorrent HW architectures • TT-polaris: ◦ high level simulator for performance analysis • TT-Whisper: ◦ CPU instruction set simulator (ISS) 36
  29. Tenstorrent’s open hardware design Not yet. Rumor has it that

    current products may be open-sourced upon the release of the next generation. 37
  30. Key takeaway • The computational burden of AI continues to

    explode. • While Practical Performance Engineering is our best defense, it faces a growing crisis. • Hardware opacity creates a divide between theory and practice. • We need transparency: "Openness" is the only way to regain control. • Tenstorrent delivers this through a completely open hardware/software stack. 39

More Decks by YOSHIFUJI Naoki @Tenstorrent

Other Decks in Technology