Skip to content

Convert pytorch to onnx #392

@N-Kingsley

Description

@N-Kingsley

Version:
torch==2.1.0
onnx==1.18.0
onnxruntime==1.21.1
onnxruntime-gpu==1.22.0

Problem:
2025-06-20 22:56:28.651939467 [W:onnxruntime:, constant_folding.cc:278 ApplyImpl] Could not find a CPU kernel and hence can't constant fold Add node '/visual/Add'

Despite this warning, the model runs to completion and produces correct results. The warning appears consistently during inference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions