OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[IR FE] Restore __weights_path rt_info for buffer-backed weights providers (#38526)
Blair DuCray-Oppat, AIGPc3f81f34d0c8
diff --git a/src/core/tests/xml_util/sources.cmake b/src/core/tests/xml_util/sources.cmakeindex 6b1c95fde22..6694f8d771d 100644--- a/src/core/tests/xml_util/sources.cmake+++ b/src/core/tests/xml_util/sources.cmake@@ -5,5 +5,6 @@set(OV_CORE_TESTS_XML_UTIL_SRCS${CMAKE_CURRENT_LIST_DIR}/constant_writer_test.cpp${CMAKE_CURRENT_LIST_DIR}/custom_ir.cpp+ ${CMAKE_CURRENT_LIST_DIR}/weights_provider_test.cpp${CMAKE_CURRENT_LIST_DIR}/xml_parse_utils_test.cpp)diff --git a/src/core/tests/xml_util/weights_provider_test.cpp b/src/core/tests/xml_util/weights_provider_test.cppnew file mode 100644index 00000000000..2adef084a85--- /dev/null+++ b/src/core/tests/xml_util/weights_provider_test.cpp@@ -0,0 +1,39 @@+// Copyright (C) 2018-2026 Intel Corporation+// SPDX-License-Identifier: Apache-2.0+//++#include "openvino/xml_util/weights_provider.hpp"++#include <gtest/gtest.h>++#include <filesystem>+#include <memory>++#include "openvino/runtime/aligned_buffer.hpp"++namespace ov::test {++TEST(WeightsProviderTest, buffer_provider_without_origin_has_empty_path) {+ const ov::util::BufferWeightsProvider provider(std::make_shared<ov::AlignedBuffer>(16));++ EXPECT_TRUE(provider.path().empty());+ EXPECT_EQ(provider.size(), 16u);+}++TEST(WeightsProviderTest, buffer_provider_keeps_origin_path) {+ const std::filesystem::path origin{"model.bin"};+ const ov::util::BufferWeightsProvider provider(std::make_shared<ov::AlignedBuffer>(16), origin);++ EXPECT_EQ(provider.path(), origin);+ EXPECT_EQ(provider.size(), 16u);+}++TEST(WeightsProviderTest, buffer_provider_origin_path_is_visible_through_the_interface) {+ const std::filesystem::path origin{"model.bin"};+ const std::shared_ptr<ov::util::WeightsProvider> provider =+ std::make_shared<ov::util::BufferWeightsProvider>(std::make_shared<ov::AlignedBuffer>(16), origin);++ EXPECT_EQ(provider->path(), origin);+}++} // namespace ov::testdiff --git a/src/core/xml_util/include/openvino/xml_util/weights_provider.hpp b/src/core/xml_util/include/openvino/xml_util/weights_provider.hppindex c09f53f7269..c9c61d819ae 100644--- a/src/core/xml_util/include/openvino/xml_util/weights_provider.hpp+++ b/src/core/xml_util/include/openvino/xml_util/weights_provider.hpp@@ -43,9 +43,9 @@ public:virtual size_t size() const = 0;/**- * @brief Returns the path to the weights source when the provider is file-backed.+ * @brief Returns the path of the weights file behind this provider, if any.*- * @return Path to the weights source, or an empty path if the provider is not file-backed.+ * @return Path of the file the weights are read or were loaded from, or an empty path when there is none.*/virtual std::filesystem::path path() const;};@@ -59,8 +59,10 @@ public:* @brief Constructs a weights provider over an existing buffer.** @param weights Buffer containing the full weights blob.+ * @param origin_path Path of the weights file the buffer was loaded from (for example by memory mapping), or an+ * empty path when the buffer has no file origin.*/- explicit BufferWeightsProvider(std::shared_ptr<ov::AlignedBuffer> weights);+ explicit BufferWeightsProvider(std::shared_ptr<ov::AlignedBuffer> weights, std::filesystem::path origin_path = {});/*** @brief Returns a view of the requested region from the backing buffer.@@ -78,8 +80,16 @@ public:*/size_t size() const override;+ /**+ * @brief Returns the path of the weights file the buffer was loaded from.+ *+ * @return Path given at construction, or an empty path when the buffer has no file origin.+ */+ std::filesystem::path path() const override;+private:std::shared_ptr<ov::AlignedBuffer> m_weights;+ std::filesystem::path m_origin_path{};};/**diff --git a/src/core/xml_util/src/weights_provider.cpp b/src/core/xml_util/src/weights_provider.cppindex 230cf1af9f6..533e7d5f3ff 100644--- a/src/core/xml_util/src/weights_provider.cpp+++ b/src/core/xml_util/src/weights_provider.cpp@@ -29,8 +29,10 @@ std::filesystem::path WeightsProvider::path() const {return {};}-BufferWeightsProvider::BufferWeightsProvider(std::shared_ptr<ov::AlignedBuffer> weights)- : m_weights(std::move(weights)) {}+BufferWeightsProvider::BufferWeightsProvider(std::shared_ptr<ov::AlignedBuffer> weights,+ std::filesystem::path origin_path)+ : m_weights(std::move(weights)),+ m_origin_path(std::move(origin_path)) {}std::shared_ptr<ov::AlignedBuffer> BufferWeightsProvider::make_region(size_t offset, size_t size) {OPENVINO_ASSERT(m_weights != nullptr, "Empty weights data in bin file or bin file cannot be found!");@@ -46,6 +48,10 @@ size_t BufferWeightsProvider::size() const {return m_weights->size();}+std::filesystem::path BufferWeightsProvider::path() const {+ return m_origin_path;+}+FileWeightsProvider::FileWeightsProvider(std::filesystem::path weights_path) : m_weights_path(std::move(weights_path)) {if (!ov::util::file_exists(m_weights_path)) {OPENVINO_THROW("Weights file ", m_weights_path, " cannot be opened!");diff --git a/src/frontends/ir/src/frontend.cpp b/src/frontends/ir/src/frontend.cppindex e5947bd6510..15f75b7b41e 100644--- a/src/frontends/ir/src/frontend.cpp+++ b/src/frontends/ir/src/frontend.cpp@@ -6,6 +6,7 @@#include <array>#include <cstdlib>+#include <filesystem>#include <optional>#include <pugixml.hpp>#include <vector>@@ -28,11 +29,12 @@ namespace ov::frontend::ir {namespace {std::shared_ptr<ov::util::WeightsProvider> make_buffer_weights_provider(- const std::shared_ptr<ov::AlignedBuffer>& weights) {+ const std::shared_ptr<ov::AlignedBuffer>& weights,+ std::filesystem::path origin_path = {}) {if (!weights) {return nullptr;}- return std::make_shared<ov::util::BufferWeightsProvider>(weights);+ return std::make_shared<ov::util::BufferWeightsProvider>(weights, std::move(origin_path));}size_t get_ir_version(const pugi::xml_document& doc) {@@ -172,24 +174,16 @@ InputModel::Ptr FrontEnd::load_impl(const std::vector<ov::Any>& variants) constreturn exts;};- auto create_input_model = [&](std::filesystem::path weights_path) -> std::shared_ptr<InputModel> {+ auto create_input_model = [&]() -> std::shared_ptr<InputModel> {if (provided_model_stream) {- return std::make_shared<InputModel>(*provided_model_stream,- weights_provider,- create_extensions_map(),- std::move(weights_path));+ return std::make_shared<InputModel>(*provided_model_stream, weights_provider, create_extensions_map());} else if (local_model_stream.is_open()) {- auto input_model = std::make_shared<InputModel>(local_model_stream,- weights_provider,- create_extensions_map(),- std::move(weights_path));+ auto input_model =+ std::make_shared<InputModel>(local_model_stream, weights_provider, create_extensions_map());local_model_stream.close();return input_model;} else if (model_buf) {- return std::make_shared<InputModel>(model_buf,- weights_provider,- create_extensions_map(),- std::move(weights_path));+ return std::make_shared<InputModel>(model_buf, weights_provider, create_extensions_map());}return nullptr;};@@ -237,7 +231,7 @@ InputModel::Ptr FrontEnd::load_impl(const std::vector<ov::Any>& variants) constauto weights = std::make_shared<ov::SharedBuffer<std::shared_ptr<MappedMemory>>>(mapped_memory->data(),mapped_memory->size(),mapped_memory);- weights_provider = make_buffer_weights_provider(weights);+ weights_provider = make_buffer_weights_provider(weights, weights_path);} else if (std::ifstream bin_stream(weights_path, std::ios::binary); bin_stream.is_open()) {bin_stream.seekg(0, std::ios::end);size_t file_size = bin_stream.tellg();@@ -254,7 +248,7 @@ InputModel::Ptr FrontEnd::load_impl(const std::vector<ov::Any>& variants) conststd::hash<std::decay_t<decltype(weights_path.native())>>{}(weights_path.native()),0,aligned_weights_buffer));- weights_provider = make_buffer_weights_provider(weights);+ weights_provider = make_buffer_weights_provider(weights, weights_path);} else {OPENVINO_THROW("Weights file ", weights_path, " cannot be opened!");@@ -262,7 +256,7 @@ InputModel::Ptr FrontEnd::load_impl(const std::vector<ov::Any>& variants) const}}- return create_input_model(std::move(weights_path));+ return create_input_model();}std::shared_ptr<ov::Model> FrontEnd::convert(const InputModel::Ptr& model) const {diff --git a/src/frontends/ir/src/input_model.cpp b/src/frontends/ir/src/input_model.cppindex 9f0e107e10c..4c8345f4d9d 100644--- a/src/frontends/ir/src/input_model.cpp+++ b/src/frontends/ir/src/input_model.cpp@@ -242,15 +242,13 @@ private:InputModel::InputModel(std::istream& model,std::shared_ptr<ov::util::WeightsProvider> weights_provider,- const std::unordered_map<ov::DiscreteTypeInfo, ov::BaseOpExtension::Ptr>& extensions,- std::filesystem::path) {+ const std::unordered_map<ov::DiscreteTypeInfo, ov::BaseOpExtension::Ptr>& extensions) {_impl = std::make_shared<InputModelIRImpl>(model, std::move(weights_provider), extensions);}InputModel::InputModel(const std::shared_ptr<ov::AlignedBuffer>& model,std::shared_ptr<ov::util::WeightsProvider> weights_provider,- const std::unordered_map<ov::DiscreteTypeInfo, ov::BaseOpExtension::Ptr>& extensions,- std::filesystem::path) {+ const std::unordered_map<ov::DiscreteTypeInfo, ov::BaseOpExtension::Ptr>& extensions) {_impl = std::make_shared<InputModelIRImpl>(model, std::move(weights_provider), extensions);}@@ -267,6 +265,10 @@ std::shared_ptr<ov::Model> InputModel::InputModelIRImpl::convert() {std::shared_ptr<ov::Model> model;visitor.on_attribute("net", model);model->get_rt_info()["version"] = int64_t(version);+ // `__weights_path` is an internal, legacy bridge and not part of the IR format: it hands the weights file the+ // frontend resolved to plugins that need it after read_model (GPU MoE offload, weightless cache import) until+ // they receive the path through an explicit property or compilation context, when it is to be removed.+ // The provider carries the path of the file it was built from, whether file-backed or a buffer loaded from it.if (m_weights_provider) {const auto weights_path = m_weights_provider->path();if (!weights_path.empty())diff --git a/src/frontends/ir/src/input_model.hpp b/src/frontends/ir/src/input_model.hppindex caf441ea59e..52d2295ec0b 100644--- a/src/frontends/ir/src/input_model.hpp+++ b/src/frontends/ir/src/input_model.hpp@@ -4,7 +4,6 @@#pragma once-#include <filesystem>#include <istream>#include <memory>#include <unordered_map>@@ -26,13 +25,11 @@ class InputModel : public ov::frontend::InputModel {public:InputModel(std::istream& stream,std::shared_ptr<ov::util::WeightsProvider> weights_provider,- const std::unordered_map<ov::DiscreteTypeInfo, ov::BaseOpExtension::Ptr>& extensions,- std::filesystem::path weights_path = {});+ const std::unordered_map<ov::DiscreteTypeInfo, ov::BaseOpExtension::Ptr>& extensions);InputModel(const std::shared_ptr<ov::AlignedBuffer>& model_buf,std::shared_ptr<ov::util::WeightsProvider> weights_provider,- const std::unordered_map<ov::DiscreteTypeInfo, ov::BaseOpExtension::Ptr>& extensions,- std::filesystem::path weights_path = {});+ const std::unordered_map<ov::DiscreteTypeInfo, ov::BaseOpExtension::Ptr>& extensions);std::shared_ptr<Model> convert();};diff --git a/src/plugins/intel_gpu/tests/functional/behavior/moe_offload.cpp b/src/plugins/intel_gpu/tests/functional/behavior/moe_offload.cppnew file mode 100644index 00000000000..20b8f697ac6--- /dev/null+++ b/src/plugins/intel_gpu/tests/functional/behavior/moe_offload.cpp@@ -0,0 +1,156 @@+// Copyright (C) 2018-2026 Intel Corporation+// SPDX-License-Identifier: Apache-2.0+//++#include "common_test_utils/common_utils.hpp"+#include "common_test_utils/file_utils.hpp"+#include "common_test_utils/node_builders/moe_builders.hpp"+#include "common_test_utils/ov_plugin_cache.hpp"+#include "common_test_utils/ov_tensor_utils.hpp"+#include "common_test_utils/test_assertions.hpp"+#include "functional_test_utils/skip_tests_config.hpp"+#include "openvino/core/preprocess/pre_post_process.hpp"+#include "openvino/pass/serialize.hpp"+#include "openvino/runtime/core.hpp"+#include "openvino/runtime/intel_gpu/properties.hpp"+#include "shared_test_classes/base/ov_subgraph.hpp"++namespace {++// Regression test for openvinotoolkit/model_server#4580: a MoE model read from an IR file must compile and run with+// OFFLOAD_RATIO set, whether or not the file was read with ENABLE_MMAP, and without the caller passing WEIGHTS_PATH.+// The parameter is the ENABLE_MMAP value passed to Core::read_model (or to compile_model for the from-file case).+// Skips live in skip_tests_config.cpp: the whole suite on GPUs without HW_MATMUL (MoE fusion, and with it the offload+// path, is gated on supports_immad), and the mmap=false inference case while #38584 is open.+class MoEOffloadFromIRFile : public ::testing::Test, public ::testing::WithParamInterface<bool> {+public:+ static std::string get_test_case_name(::testing::TestParamInfo<bool> obj) {+ return std::string("mmap=") + (obj.param ? "true" : "false");+ }++protected:+ // 4 experts, top-2: with OFFLOAD_RATIO 50 the plugin keeps 2 expert slots resident, so a few inferences with+ // distinct inputs route to experts that are not resident and the .bin file is actually read (the offload reader+ // opens it on the first expert miss, not at compile time).+ static constexpr size_t num_experts = 4;+ static constexpr size_t topk = 2;+ static constexpr size_t hidden_size = 128;+ static constexpr size_t intermediate_size = 256;+ static constexpr size_t offload_ratio_under_test = 50;+ static constexpr int inference_count = 4;++ std::shared_ptr<ov::Core> core;+ std::string xml_path;+ std::string bin_path;++ void SetUp() override {+ SKIP_IF_CURRENT_TEST_IS_DISABLED();+ core = ov::test::utils::PluginCache::get().core();++ const auto prefix = ov::test::utils::generateTestFilePrefix();+ xml_path = prefix + ".xml";+ bin_path = prefix + ".bin";++ // Same compressed 3-GEMM pattern as smoke_MoE3GemmCompressedFusion in subgraph_tests/dynamic/moe.cpp.+ const ov::test::MoePatternParams moe_params{{-1, -1, static_cast<int64_t>(hidden_size)}, topk, num_experts, intermediate_size};+ auto model = ov::test::initMoE3GeMMSubgraph(moe_params,+ ov::element::f32, // data_precision+ ov::element::u8, // weights_precision+ true, // use_weight_decompression+ ov::element::f16, // decompression_precision+ ov::element::f16, // scale_precision+ ov::test::utils::DecompressionType::full,+ ov::test::utils::DecompressionType::full,+ true, // reshape_on_decompression+ 128); // group_size+ // f16 tensors at the boundary, as MoECompressedFusionTest sets through inType/outType; without them the+ // expert block is not fused and OFFLOAD_RATIO has nothing to act on.+ ov::preprocess::PrePostProcessor ppp(model);+ ppp.input(0).tensor().set_element_type(ov::element::f16);+ ppp.output(0).tensor().set_element_type(ov::element::f16);+ model = ppp.build();+ ov::pass::Serialize(xml_path, bin_path).run_on_model(model);+ }++ void TearDown() override {+ // Every compiled model and infer request is a local of its test body, so they are released before this+ // runs; on Windows the offload reader keeps the .bin open without FILE_SHARE_DELETE until then.+ ov::test::utils::removeIRFiles(xml_path, bin_path);+ }++ std::shared_ptr<ov::Model> read_model() const {+ return core->read_model(xml_path, std::string{}, ov::AnyMap{ov::enable_mmap(GetParam())});+ }++ static void check_compiled(const ov::CompiledModel& compiled_model, size_t expected_offload_ratio) {+ ASSERT_TRUE(compiled_model);+ // The model must have taken the fused MoE path, otherwise OFFLOAD_RATIO has nothing to act on.+ ov::test::CheckNumberOfNodesWithType(compiled_model, "moe_3gemm_fused_compressed", 1);+ EXPECT_EQ(compiled_model.get_property(ov::intel_gpu::offload_ratio), expected_offload_ratio);+ }++ // Runs the same inputs through the offloaded and the fully resident compiled model and compares the outputs:+ // equal outputs show that the experts read back from the .bin file are the ones the model was built with.+ // Not bit-exact: a 16-token input with top-2 routing can need more experts than the resident slots (2 of 4 at+ // OFFLOAD_RATIO 50), and then exec_batched_gemv in moe_3gemm_swiglu_opt.cpp falls back to the per-expert oneDNN+ // loop (on_before_batched_gemv sets needs_fallback -> exec_prefill_onednn) while the resident model runs the batched+ // GEMV kernels, with a different accumulation order. On Arc 140V the largest absolute difference measured was 1.2e-4,+ // on outputs below 0.25 in magnitude (the 4 seeds below, OFFLOAD_RATIO 25 and 50); single-token inputs, which fit+ // the slots, are bit-exact.+ static void check_inference_matches_resident(ov::CompiledModel& offloaded, ov::CompiledModel& resident) {+ auto offloaded_request = offloaded.create_infer_request();+ auto resident_request = resident.create_infer_request();+ for (int seed = 1; seed <= inference_count; ++seed) {+ const auto input =+ ov::test::utils::create_and_fill_tensor(ov::element::f16, ov::Shape{1, 16, hidden_size}, ov::test::utils::InputGenerateData(-1, 2, 100, seed));+ offloaded_request.set_input_tensor(input);+ offloaded_request.infer();+ resident_request.set_input_tensor(input);+ resident_request.infer();+ ov::test::utils::compare(resident_request.get_output_tensor(), offloaded_request.get_output_tensor(), ov::element::f16, 1e-3, 1e-3);+ }+ }+};++TEST_P(MoEOffloadFromIRFile, CompileModelWithOffloadRatio) {+ const auto model = read_model();+ ov::CompiledModel compiled_model;+ OV_ASSERT_NO_THROW(compiled_model = core->compile_model(model, ov::test::utils::DEVICE_GPU, {ov::intel_gpu::offload_ratio(offload_ratio_under_test)}));+ check_compiled(compiled_model, offload_ratio_under_test);+}++TEST_P(MoEOffloadFromIRFile, InferWithOffloadRatioMatchesResident) {+ const auto model = read_model();+ ov::CompiledModel offloaded;+ ov::CompiledModel resident;+ OV_ASSERT_NO_THROW(offloaded = core->compile_model(model, ov::test::utils::DEVICE_GPU, {ov::intel_gpu::offload_ratio(offload_ratio_under_test)}));+ OV_ASSERT_NO_THROW(resident = core->compile_model(model, ov::test::utils::DEVICE_GPU, {ov::intel_gpu::offload_ratio(0)}));+ check_compiled(offloaded, offload_ratio_under_test);+ check_compiled(resident, 0);+ check_inference_matches_resident(offloaded, resident);+}++// The compile_model(path) entry point: the plugin reads the file itself, with ENABLE_MMAP taken from the compile+// properties (IPlugin::compile_model(path) -> ICore::read_model), and the caller never holds the ov::Model.+TEST_P(MoEOffloadFromIRFile, CompileModelFromFileWithOffloadRatio) {+ ov::CompiledModel compiled_model;+ OV_ASSERT_NO_THROW(+ compiled_model =+ core->compile_model(xml_path, ov::test::utils::DEVICE_GPU, {ov::intel_gpu::offload_ratio(offload_ratio_under_test), ov::enable_mmap(GetParam())}));+ check_compiled(compiled_model, offload_ratio_under_test);+}++// Control baseline for the three tests above: with WEIGHTS_PATH passed explicitly the plugin never needs the path+// from the model, so this passes with and without the frontend change.+TEST_P(MoEOffloadFromIRFile, CompileModelWithOffloadRatioAndWeightsPath) {+ const auto model = read_model();+ ov::CompiledModel compiled_model;+ OV_ASSERT_NO_THROW(+ compiled_model =+ core->compile_model(model, ov::test::utils::DEVICE_GPU, {ov::intel_gpu::offload_ratio(offload_ratio_under_test), ov::weights_path(bin_path)}));+ check_compiled(compiled_model, offload_ratio_under_test);+}++INSTANTIATE_TEST_SUITE_P(smoke_MoEOffload, MoEOffloadFromIRFile, ::testing::Bool(), MoEOffloadFromIRFile::get_test_case_name);++} // namespacediff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cppindex d228e90384e..fa547a36838 100644--- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cpp+++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cpp@@ -169,6 +169,9 @@ const std::vector<std::regex>& disabled_test_patterns() {std::regex(R"(.*compile_from_weightless_blob.*)"),// u3 Transpose reference implementation is not upstreamed yet (non-transposed u3 weights fold a Transpose)std::regex(R"(.*MatMulCompressedWeights.*weights_precision=u3_.*transpose_weights=0_.*)"),+ // Issue: https://github.com/openvinotoolkit/openvino/issues/38584, offloaded MoE output after a non-mmap+ // read differs from the resident model+ std::regex(R"(.*smoke_MoEOffload/MoEOffloadFromIRFile.InferWithOffloadRatioMatchesResident/mmap=false.*)"),#if defined(_WIN32)// by calc abs_threshold with expected value@@ -229,6 +232,7 @@ const std::vector<std::regex>& disabled_test_patterns() {patterns.push_back(std::regex(R"(.*smoke_MatMulCompressedWeights_3D_weight.*)"));// MoE patterns are not supported on the platforms without immad (fusion transformation are disabled)patterns.push_back(std::regex(R"(.*smoke_MoE3GemmCompressedFusion.*)"));+ patterns.push_back(std::regex(R"(.*smoke_MoEOffload.*)"));// Dynamic quantization of fp8 and mxfp8 models supported only through oneDNN (disabled for non-systolic platforms)patterns.push_back(std::regex(R"(.*smoke_MatMulCompressedWeights_dyn_quan_.*fp8.*)"));}diff --git a/src/plugins/intel_gpu/tests/functional/sources.cmake b/src/plugins/intel_gpu/tests/functional/sources.cmakeindex 3ef448d61e6..0e831069fab 100644--- a/src/plugins/intel_gpu/tests/functional/sources.cmake+++ b/src/plugins/intel_gpu/tests/functional/sources.cmake@@ -8,6 +8,7 @@ set(GPU_FUNCTIONAL_TEST_SOURCES${CMAKE_CURRENT_LIST_DIR}/behavior/inference_precision.cpp${CMAKE_CURRENT_LIST_DIR}/behavior/memory_dyn_batch.cpp${CMAKE_CURRENT_LIST_DIR}/behavior/model_cache.cpp+ ${CMAKE_CURRENT_LIST_DIR}/behavior/moe_offload.cpp${CMAKE_CURRENT_LIST_DIR}/behavior/properties.cpp${CMAKE_CURRENT_LIST_DIR}/behavior/weight_context.cpp${CMAKE_CURRENT_LIST_DIR}/concurrency/gpu_concurrency_tests.cpp