Skip to content

Standalone aft warmup uses wrong storage default and fails to load ONNX Runtime #128

Description

@tobwen

Short description

Standalone aft warmup uses wrong storage default and fails to load ONNX Runtime

What happened?

Running aft warmup standalone (without the plugin) writes caches to ~/.cache/aft/ instead of ~/.local/share/cortexkit/aft/ - the path the plugin uses.

Indexes, symbols, and backups end up in a different directory, so caches are not shared between standalone warmup and plugin usage.

Additionally, standalone aft warmup fails to build the semantic index with: ONNX Runtime not found. dlopen('libonnxruntime.so') failed: cannot open shared object file

The ONNX Runtime library is already downloaded by the plugin to <storage_dir>/onnxruntime/1.24.4/, but aft warmup never resolves or sets ORT_DYLIB_PATH to find it.

Diagnostics

n/a

Plugin version

0.39.4 & main

AFT binary version

0.39.4 & main

Platform

linux x64, windows x64

Log output (optional)

n/a

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions