Skip to content

Commit

Permalink
Fix set_external_data_path test (#3225)
Browse files Browse the repository at this point in the history
  • Loading branch information
stsokolo authored Jun 28, 2024
1 parent 67f208d commit 3e65032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/api/test_cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ TEST_CASE(set_external_data_path)
migraphx::onnx_options options;
std::string model_path = "ext_path/external_data_test.onnx";
auto onnx_buffer = migraphx::read_string(model_path);
options.set_external_data_path(migraphx::fs::path(model_path).parent_path());
options.set_external_data_path(migraphx::fs::path(model_path).parent_path().string());
auto p = migraphx::parse_onnx_buffer(onnx_buffer, options);
auto shapes_before = p.get_output_shapes();
p.compile(migraphx::target("ref"));
Expand Down

0 comments on commit 3e65032

Please sign in to comment.