!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

499 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant129 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
1 Mar 2025
@hexa:lossy.network@hexa:lossy.networkyeah, aiui the unit needs to be compiled and linked into the shared library17:22:49
@hexa:lossy.network@hexa:lossy.network
+    (lib.cmakeFeature "onnxruntime_USE_OPENVINO_AUTO" (if effectiveStdenv.hostPlatform.system == "x86_64-linux" then "NPU,GPU,CPU" else "GPU"))
17:23:18
@hexa:lossy.network@hexa:lossy.networkthis did not resolve the situation17:23:25
@hexa:lossy.network@hexa:lossy.networkok, I dug into the code18:49:58
@hexa:lossy.network@hexa:lossy.networkand I think onnxruntime_framework does not get linked into the openvino provider18:50:11
@hexa:lossy.network@hexa:lossy.networkI tried to add that to the resulting library, but meh19:17:22
@hexa:lossy.network@hexa:lossy.network
diff --git a/cmake/onnxruntime_providers_openvino.cmake b/cmake/onnxruntime_providers_openvino.cmake
index 143d002c61..c7ad02b94d 100644
--- a/cmake/onnxruntime_providers_openvino.cmake
+++ b/cmake/onnxruntime_providers_openvino.cmake
@@ -37,7 +37,7 @@
 
   source_group(TREE ${ONNXRUNTIME_ROOT}/core FILES ${onnxruntime_providers_openvino_cc_srcs})
   onnxruntime_add_shared_library_module(onnxruntime_providers_openvino ${onnxruntime_providers_openvino_cc_srcs} "${ONNXRUNTIME_ROOT}/core/dll/onnxruntime.rc")
-  onnxruntime_add_include_to_target(onnxruntime_providers_openvino onnxruntime_common onnx nlohmann_json::nlohmann_json)
+  onnxruntime_add_include_to_target(onnxruntime_providers_openvino onnxruntime_common onnxruntime_framework onnx nlohmann_json::nlohmann_json)
   install(FILES ${PROJECT_SOURCE_DIR}/../include/onnxruntime/core/providers/openvino/openvino_provider_factory.h
     DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/onnxruntime/)
   set_target_properties(onnxruntime_providers_openvino PROPERTIES CXX_STANDARD 20)
19:17:25
@hexa:lossy.network@hexa:lossy.network *
diff --git a/cmake/onnxruntime_providers_openvino.cmake b/cmake/onnxruntime_providers_openvino.cmake
index 143d002c61..c7ad02b94d 100644
--- a/cmake/onnxruntime_providers_openvino.cmake
+++ b/cmake/onnxruntime_providers_openvino.cmake
@@ -37,7 +37,7 @@
 
   source_group(TREE ${ONNXRUNTIME_ROOT}/core FILES ${onnxruntime_providers_openvino_cc_srcs})
   onnxruntime_add_shared_library_module(onnxruntime_providers_openvino ${onnxruntime_providers_openvino_cc_srcs} "${ONNXRUNTIME_ROOT}/core/dll/onnxruntime.rc")
-  onnxruntime_add_include_to_target(onnxruntime_providers_openvino onnxruntime_common onnx nlohmann_json::nlohmann_json)
+  onnxruntime_add_include_to_target(onnxruntime_providers_openvino onnxruntime_common onnxruntime_framework onnx nlohmann_json::nlohmann_json)
   install(FILES ${PROJECT_SOURCE_DIR}/../include/onnxruntime/core/providers/openvino/openvino_provider_factory.h
     DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/onnxruntime/)
   set_target_properties(onnxruntime_providers_openvino PROPERTIES CXX_STANDARD 20)
19:17:28
@hexa:lossy.network@hexa:lossy.networkno change19:17:38
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/microsoft/onnxruntime/issues/975619:19:46
@hexa:lossy.network@hexa:lossy.networkthis is also /great/19:19:48
2 Mar 2025
@hexa:lossy.network@hexa:lossy.networkfrigate 0.15.0 PR is up, needs more testing https://github.com/NixOS/nixpkgs/pull/38626601:22:27
@hexa:lossy.network@hexa:lossy.networkstill investigating crashes of the test suite on aarch64-linux01:24:27
@hexa:lossy.network@hexa:lossy.networkimage.png
Download image.png
01:36:09
@hexa:lossy.network@hexa:lossy.networkimage.png
Download image.png
01:36:25
@hexa:lossy.network@hexa:lossy.networkconfig now gets copied to /run/frigate/frigate.yml and you can make changes in frigate and see them in there01:36:50
@hexa:lossy.network@hexa:lossy.networkstill need to sync them back, or they'll get reset on restart01:36:58
@dont.wanna.tell:matrix.org@dont.wanna.tell:matrix.org joined the room.19:52:46
3 Mar 2025
@hexa:lossy.network@hexa:lossy.network* For Frigate users: SSDlite mobilenet v2 model converted into the OpenVINO IR Format required for the detector: https://shells.darmstadt.ccc.de/~hexa/omz/03:09:38
@bendanm:matrix.orgbendanm joined the room.04:43:41
@hexa:lossy.network@hexa:lossy.network For Home Assistant users: Please check the article on the Wiki for how to get started 05:17:57
@hexa:lossy.network@hexa:lossy.network(just pinning some messages, since element has been hiding the topic for a while)05:18:31
@hexa:lossy.network@hexa:lossy.network* (just pinning some helpful messages, since element has been hiding the topic for a while)05:18:35
@lynatic:catgirl.cloud@lynatic:catgirl.cloudbeen using homeassistant on nixos for a few days now and I kinda struggle with figuring out where to put what, is there any documentation/unofficial wiki for the declerative (YAML) syntax? seems homeassistant themselves in many cases removed the YAML section from their documentation entirely in favor of showing off the UI-flow, how do y'all deal with this when writing config?06:19:16
@hexa:lossy.network@hexa:lossy.networkhm, they do advertise the yaml config where it is still applicable06:20:25
@lynatic:catgirl.cloud@lynatic:catgirl.cloud* been using homeassistant on nixos for a few days now and I kinda struggle with figuring out where to put what, is there any documentation/unofficial wiki for the declarative (YAML) syntax? seems homeassistant themselves in many cases removed the YAML section from their documentation entirely in favor of showing off the UI-flow, how do y'all deal with this when writing config?06:20:26
@hexa:lossy.network@hexa:lossy.network if you want to use a component that does not have any yaml config it needs to go into extraComponents 06:21:00
@hexa:lossy.network@hexa:lossy.network * if you want to use a component that does not have any yaml config it needs to go into extraComponents for the package to come with the required dependencies 06:21:16
@lynatic:catgirl.cloud@lynatic:catgirl.cloudso I just pull up the docs for the integration and if there is no yaml I configure it inside the UI and it won't get overwritten by nix?06:22:04
@lynatic:catgirl.cloud@lynatic:catgirl.cloud* so I just pull up the docs for an integration and if there is no yaml I configure it inside the UI and it won't get overwritten by nix?06:22:11

Show newer messages


Back to Room ListRoom Version: 6