Skip to content

Native API returns: -996 invalid_kernel("uses-fp64-math") #285

Closed
@JustSomeRandomUsername

Description

@JustSomeRandomUsername

I am trying to train a yolov7 model on my a770 on Ubuntu 22.04 I have onaApi, intel extension for pytorch installed and have trained a different model successfully.

But with this model iam getting a
"RuntimeError: Native API failed. Native API returns: -996 (Function exists but address is not available)
invalid_kernel("uses-fp64-math")
-996 (Function exists but address is not available)"

I am running the code from
https://github.com/WongKinYiu/yolov7
with slight modifications for running on xpu.
import intel_extension_for_pytorch
changed device to "xpu"
model, optimizer = ipex.optimize(model, optimizer=optimizer, dtype=torch.float32)

I am still a bit new to work on neuralnets am i missing something obvious or is this a intel specific driver problem ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ARCARC GPUCrashExecution crashes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions