microsoft / DirectML

DirectML is a high-performance, hardware-accelerated DirectX 12 library for machine learning. DirectML provides GPU acceleration for common machine learning tasks across a broad range of supported hardware and drivers, including all DirectX 12-capable GPUs from vendors such as AMD, Intel, NVIDIA, and Qualcomm.
MIT License
2.24k stars 299 forks source link

CompileOperator of DML_OPERATOR_DEPTH_TO_SPACE failed on Intel NPU #655

Open jb2020-super opened 1 month ago

jb2020-super commented 1 month ago

Hardware Info

[ INFO ] NPU [ INFO ] SUPPORTED_PROPERTIES: [ INFO ] Immutable: AVAILABLE_DEVICES : 3720 [ INFO ] Mutable: CACHE_DIR : "" [ INFO ] Mutable: COMPILATION_NUM_THREADS : 22 [ INFO ] Immutable: DEVICE_ARCHITECTURE : 3720 [ INFO ] Immutable: DEVICE_GOPS : {f16:5734.4,f32:0,i8:11468.8,u8:11468.8} [ INFO ] Mutable: DEVICE_ID : "" [ INFO ] Immutable: DEVICE_PCI_INFO : {domain: 0 bus: 0 device: 0xb function: 0} [ INFO ] Immutable: DEVICE_TYPE : integrated [ INFO ] Immutable: DEVICE_UUID : 80d1d11eb73811eab3de0242ac130004 [ INFO ] Mutable: ENABLE_CPU_PINNING : NO [ INFO ] Immutable: EXECUTION_DEVICES : NPU [ INFO ] Mutable: EXECUTION_MODE_HINT : PERFORMANCE [ INFO ] Immutable: FULL_DEVICE_NAME : Intel(R) AI Boost [ INFO ] Mutable: INFERENCE_PRECISION_HINT : f16 [ INFO ] Mutable: LOG_LEVEL : LOG_NONE [ INFO ] Mutable: MODEL_PRIORITY : MEDIUM [ INFO ] Mutable: NPU_COMPILATION_MODE_PARAMS : "" [ INFO ] Immutable: NPU_DEVICE_ALLOC_MEM_SIZE : 0 [ INFO ] Immutable: NPU_DEVICE_TOTAL_MEM_SIZE : 33554432 [ INFO ] Immutable: NPU_DRIVER_VERSION : 2820 [ INFO ] Mutable: NPU_TURBO : NO [ INFO ] Immutable: NUM_STREAMS : 1 [ INFO ] Immutable: OPTIMAL_NUMBER_OF_INFER_REQUESTS : 1 [ INFO ] Immutable: OPTIMIZATION_CAPABILITIES : FP16 INT8 EXPORT_IMPORT [ INFO ] Mutable: PERFORMANCE_HINT : LATENCY [ INFO ] Mutable: PERFORMANCE_HINT_NUM_REQUESTS : 1 [ INFO ] Mutable: PERF_COUNT : NO [ INFO ] Immutable: RANGE_FOR_ASYNC_INFER_REQUESTS : 1 10 1 [ INFO ] Immutable: RANGE_FOR_STREAMS : 1 4 [ INFO ] Mutable: WORKLOAD_TYPE : DEFAULT

Error Info

[DIRECTML ERROR]: An unsupported operation was encountered. This error may be resolved by utilizing a different Direct3D device which has a feature level greater than D3D_FEATURE_LEVEL_1_0_CORE

Question

  1. Is the CompileOperator interface necessary to call in order to use the DML_OPERATOR_DEPTH_TO_SPACE op.
  2. If not support, any plan to support this?