Skip to content

Linking failure #300

Closed
Closed
@cyanic-selkie

Description

@cyanic-selkie

Hi, upstream onnxruntime added some LoRA support which causes ort to be unable to find some symbols. I wouldn't try to build on the master branch usually, but this PR fixed an issue with Xcode 16, so it's kind of a deadlock.

Undefined symbols for architecture arm64:
  "onnxruntime::adapters::utils::MemoryMapAdapterFile(std::__1::__fs::filesystem::path const&)", referenced from:
      onnxruntime::lora::LoraAdapter::MemoryMap(std::__1::__fs::filesystem::path const&) in libort_sys-d8a55d3296a8a958.rlib[489](lora_adapters.o)
  "onnxruntime::adapters::utils::ValidateAndGetAdapterFromBytes(gsl::span<unsigned char const, 18446744073709551615ul>)", referenced from:
      onnxruntime::lora::LoraAdapter::Load(std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>) in libort_sys-d8a55d3296a8a958.rlib[489](lora_adapters.o)
      onnxruntime::lora::LoraAdapter::MemoryMap(std::__1::__fs::filesystem::path const&) in libort_sys-d8a55d3296a8a958.rlib[489](lora_adapters.o)
  "onnxruntime::adapters::utils::CreateOrtValueOverLoraParameter(onnxruntime::adapters::Parameter const&)", referenced from:
      onnxruntime::lora::LoraAdapter::InitializeParamsValues() in libort_sys-d8a55d3296a8a958.rlib[489](lora_adapters.o)
      onnxruntime::lora::LoraAdapter::InitializeParamsValues() in libort_sys-d8a55d3296a8a958.rlib[489](lora_adapters.o)

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