!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

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


SenderMessageTime
21 Nov 2024
@netpleb:matrix.orgnetpleb hexa: is that error consistent with what your patch does? or did we patch the wrong thing (sorry that I do not know frigate/tensorflow/python codebase at all) 00:34:56
@hexa:lossy.network@hexa:lossy.networkplease no threads00:35:30
@hexa:lossy.network@hexa:lossy.networkthey are a usability desater00:35:35
@hexa:lossy.network@hexa:lossy.networkanyway, we're patching the calls of frigate into tensorflow00:35:50
@netpleb:matrix.orgnetpleb
In reply to @hexa:lossy.network
they are a usability desater
ok, no problem. I actually noticed the same thing. They seem terrible!
00:35:52
@hexa:lossy.network@hexa:lossy.networkthey were not intended with what we're doing to them 😄 00:36:05
@hexa:lossy.network@hexa:lossy.network
>>> ctypes.pydll.LoadLibrary("/nix/store/fvjzhbpnvdfn00ngw53nyc9qngkh5j5m-libedgetpu-0-unstable-2024-03-14/lib/libedgetpu.so.1.0")
<PyDLL '/nix/store/fvjzhbpnvdfn00ngw53nyc9qngkh5j5m-libedgetpu-0-unstable-2024-03-14/lib/libedgetpu.so.1.0', handle 22255230 at 0x7f65054765a0>
00:37:06
@hexa:lossy.network@hexa:lossy.networkthat looks pretty solid at first glance00:37:16
@hexa:lossy.network@hexa:lossy.networkuh wait00:37:50
@hexa:lossy.network@hexa:lossy.networkyour trace shows that the patch didn't get applied00:37:56
@hexa:lossy.network@hexa:lossy.network
Nov 20 16:18:59 aleph0 frigate[5661]:     edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
Nov 20 16:18:59 aleph0 frigate[5661]:                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:38:08
@netpleb:matrix.orgnetpleb
In reply to @hexa:lossy.network
your trace shows that the patch didn't get applied

strange.. could it be the or [ ] ++ [ ...? here is what I added to my config:

    # override the frigate package to include our patch (necessary for coral usb tpu)
    package = pkgs.frigate.overrideAttrs (oldAttrs: {
      patches = oldAttrs.patches or [ ] ++ [
        (pkgs.substituteAll {
          src = ./patches/libedgetpu.patch;
          libedgetpu = "${lib.getLib pkgs.libedgetpu}/lib/libedgetpu.so.1.0";
        })
      ];
    });
00:39:05
@hexa:lossy.network@hexa:lossy.networkit looks like this on my PR00:39:17

Show newer messages


Back to Room ListRoom Version: 6