~/talk

Taming a Beast: Using ONNX Runtime in AAA Games

Talkat CppNorth 2025 · 2025-07-21..07-23· [machine-learning, game-development]
links:none on file
slides:none on file

Ubisoft integrates ONNX Runtime into Snowdrop and Anvil engines, first as a Windows-only internal build (non-shippable) and then shipping a feature in Rainbow Six Siege for drone navigation; legal checks cover 13 dependency licenses; conversion from CMake to Sharpmake and support for blob builds and consoles requires many platform stubs and ifdefs. The in-house runtime supports ~40 of ONNX’s ~180 operators and adding one operator takes ~30 days plus ~10 days per-platform for optimization. Large models run ~2–3x faster on ONNX Runtime, small models favor the in-house engine by ~10–20%, and concurrent mixed-model inferences perform worse than sequential. Exceptions and thread creation are disabled and replaced with checks to avoid crashes.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:01Why use machine learning in games
  3. 5:38ONNX and ONNX Runtime overview
  4. 7:06Early challenges with custom runtime
  5. 11:02Considering ONNX Runtime for games
  6. 13:10Legal checks for non-shipped use
  7. 14:41Need for ONNX Runtime in shipped games
  8. 15:22Legal checks for shipped use
  9. 15:43Memory management concerns
  10. 17:31Architecture and code integration
  11. 19:23Build system conversion challenges
  12. 20:49Blob build compatibility issues
  13. 23:15Handling exceptions in games
  14. 24:41Thread management and GPU features
  15. 27:30Platform-specific adaptations
  16. 31:47Debugging and performance trade-offs
  17. 33:30Performance evaluation results
  18. 36:45Shipping Rainbow Six Siege feature
  19. 37:29Updating and upstreaming changes
  20. 40:39Legal risks in upstream contributions
  21. 42:07Merging changes into upstream
  22. 43:53Taming the beast summary
  23. 44:56Lesson learned and costs involved
  24. 46:08Q&A: Concurrent model performance
  25. 47:15Q&A: Platform differences and debugging
  26. 49:21Q&A: Online vs local inference
  27. 51:10Q&A: Console and mobile support
  28. 52:39Q&A: Starting fresh with ONNX Runtime
  29. 53:21Q&A: Drone navigation improvements
  30. 55:09Q&A: Dependency management challenges
  31. 56:33Q&A: Collaborative inference runtime
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.