You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-04-24 04:44:54 +02:00
680f32c4c9
Starting with PyTorch 2.6, the hooks API was redesigned so it no longer depends on the device type. As part of this change, the XPU initialization function was renamed from initXPU() to init(). Add version check to support both old and new LibTorch versions. Signed-off-by: younengxiao <steven.xiao@amd.com>