Using the onnx model exported by the latest zipformer2, there is a problem with sherpa-onnx inference

使用最新的zipformer2训练模型，配置如下：
“
./zipformer/train.py
--world-size 1
--num-epochs 100
--start-epoch 1
--num-workers 8
--context-size 1
--master-port 12346
--lang-dir ./
--use-fp16 1
--on-the-fly-feats true
--exp-dir zipformer/exp
--max-duration 100
”
export_onnx.py导出模型，配置如下：
“
--tokens $lang_dir/tokens.txt
--epoch 30
--avg 2
--exp-dir ./zipformer/exp
”
./sherpa-onnx/build-shared/bin/sherpa-onnx
--tokens=lang_char/tokens.txt
--encoder=$par/encoder-epoch-30-avg-2.onnx
--decoder=$par/decoder-epoch-30-avg-2.onnx
--joiner=$par/joiner-epoch-30-avg-2.onnx
./demo.wav
运行如下：
“
2023-11-08 16:32:23.640478208 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640559025 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640576743 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640593560 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640603194 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640613891 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640626106 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '930'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640635520 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640645007 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640693339 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640751766 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640765662 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640777343 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640788741 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640818898 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640829609 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640840478 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640853336 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '2184'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640864816 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640875604 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640935149 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640949005 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640960636 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640971506 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.640995589 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641010160 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '3488'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641033046 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641043128 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641055604 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641067756 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641128093 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641141944 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641153598 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641168439 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641179374 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '5256'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641191280 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641201979 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641214998 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641229454 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641240680 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641295012 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641309705 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641325703 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641337510 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641353328 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641363360 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641377163 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '7468'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641386785 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641397321 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641408514 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641466814 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641480968 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641497221 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641508586 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641523011 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641533505 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641544508 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641556120 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '9214'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641565569 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:23.641574903 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.965930946 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.965968948 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.965980263 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.965991761 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966001767 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966010697 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966021085 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '930'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966031002 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966040758 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966050242 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/0/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966144471 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966156429 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966166177 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966175961 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966187968 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966198132 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966220721 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966232480 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '2184'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966243079 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966252663 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/1/encoder/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966326403 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966337328 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966347346 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966356838 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966380904 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966393124 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '3488'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966405932 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966415806 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966425272 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966436194 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/2/encoder/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966494124 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966505551 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966515823 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966525729 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966536893 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '5256'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966548493 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966557588 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966569501 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966583634 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966596782 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/3/encoder/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966653339 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966666572 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966704924 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966715735 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966727822 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966736974 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966745750 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '7468'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966754873 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966764486 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966773957 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/4/encoder/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966833500 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Shape_10_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966845908 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_48_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966872820 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_39_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966883942 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_24_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966907301 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_22_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966917121 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_37_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966941007 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Constant_46_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966951203 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '9214'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966963044 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Shape_15_output_0'. It is not used by any node and should be removed from the model.
2023-11-08 16:32:26.966972688 [W:onnxruntime:, graph.cc:3553 CleanUnusedInitializersAndNodeArgs] Removing initializer '/encoder/5/encoder/encoder_pos/Shape_5_output_0'. It is not used by any node and should be removed from the model.
/ceph/luhongxuan/code/k2/test/sherpa-onnx/sherpa-onnx/csrc/online-zipformer2-transducer-model.cc:InitEncoder:101 encoder_dims does not exist in the metadata
”

使用最新的zipformer2训练模型，配置如下：

从你给的配置看，你用的是非流式。因为你没有用 --causal=1.

./sherpa-onnx/build-shared/bin/sherpa-onnx
这个只支持流式模型。
你不要把非流式的模型和流式的代码混用了。
针对你这个情况，请使用 sherpa-onnx-offline 等支持非流式模型的 binaries.

Sorry to bother you, but three more questions！
1、sherpa编译报错，部分截取如下
“
python3.8/site-packages/torch/lib/libtorch_cuda.so: undefined reference to<EMAIL_ADDRESS>anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so: undefined reference to ncclCommCount'
anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so: undefined reference to<EMAIL_ADDRESS>/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so: undefined reference to ncclCommInitAll'
/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so: undefined reference to<EMAIL_ADDRESS>/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so: undefined reference to ncclAllGather'
/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libc10_cuda.so: undefined reference to<EMAIL_ADDRESS>/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so: undefined reference to ncclReduce'
/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined reference to<EMAIL_ADDRESS>/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libc10_cuda.so: undefined reference to<EMAIL_ADDRESS>/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so: undefined reference to<EMAIL_ADDRESS>/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined reference to<EMAIL_ADDRESS>/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined reference to<EMAIL_ADDRESS>/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so: undefined reference to<EMAIL_ADDRESS>/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined reference to<EMAIL_ADDRESS>collect2: error: ld returned 1 exit status
make[2]: *** [sherpa/cpp_api/websocket/CMakeFiles/sherpa-offline-websocket-server.dir/build.make:135: bin/sherpa-offline-websocket-server] Error 1
make[1]: *** [CMakeFiles/Makefile2:641: sherpa/cpp_api/websocket/CMakeFiles/sherpa-offline-websocket-server.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
”
conda list | grep cuda
"
k2                        1.24.3.dev20230718+cuda11.7.torch2.0.1          pypi_0    pypi
k2-sherpa                 1.3.dev20230725+cuda11.7.torch2.0.1          pypi_0    pypi
kaldifeat                 1.25.0.dev20231022+cuda11.7.torch2.0.1          pypi_0    pypi
nvidia-cuda-cupti-cu11    11.7.101                 pypi_0    pypi
nvidia-cuda-nvrtc-cu11    11.7.99                  pypi_0    pypi
nvidia-cuda-runtime-cu11  11.7.99                  pypi_0    pypi
"
分析：是不是安装都是cuda11.7版本，linux环境目前只有cuda11.1/2版本，是不是得重装 k2 等，再编译
2、sherpa-onnx -> build-static编译报错部分截取如下：
"
beam_search_scorer.cc:(.text._ZNSt17_Function_handlerIFvPN11onnxruntime7contrib12transformers14BeamHypothesesEEZNS0_10IAllocator13MakeUniquePtrIS3_EESt10unique_ptrIT_St8functionIFvPS9_EEESt10shared_ptrIS6_EmbPNS0_6StreamESA_IFvRSH_RNS0_11synchronize12NotificationEEEEUlS4_E_E10_M_managerERSt9_Any_dataRKSR_St18_Manager_operation[_ZNSt17_Function_handlerIFvPN11onnxruntime7contrib12transformers14BeamHypothesesEEZNS0_10IAllocator13MakeUniquePtrIS3_EESt10unique_ptrIT_St8functionIFvPS9_EEESt10shared_ptrIS6_EmbPNS0_6StreamESA_IFvRSH_RNS0_11synchronize12NotificationEEEEUlS4_E_E10_M_managerERSt9_Any_dataRKSR_St18_Manager_operation]+0xe1): undefined reference to __libc_single_threaded' ../../_deps/onnxruntime-src/lib/libonnxruntime.a(beam_search_scorer.cc.o): In function std::_Function_handler<void (onnxruntime::contrib::transformers::HypothesisScore*), std::unique_ptr<onnxruntime::contrib::transformers::HypothesisScore, std::function<void (onnxruntime::contrib::transformers::HypothesisScore*)> > onnxruntime::IAllocator::MakeUniquePtronnxruntime::contrib::transformers::HypothesisScore(std::shared_ptronnxruntime::IAllocator, unsigned long, bool, onnxruntime::Stream*, std::function<void (onnxruntime::Stream&, onnxruntime::synchronize::Notification&)>)::{lambda(onnxruntime::contrib::transformers::HypothesisScore*)#1}>::_M_manager(std::_Any_data&, std::_Function_handler<void (onnxruntime::contrib::transformers::HypothesisScore*), std::unique_ptr<onnxruntime::contrib::transformers::HypothesisScore, std::function<void (onnxruntime::contrib::transformers::HypothesisScore*)> > onnxruntime::IAllocator::MakeUniquePtronnxruntime::contrib::transformers::HypothesisScore(std::shared_ptronnxruntime::IAllocator, unsigned long, bool, onnxruntime::Stream*, std::function<void (onnxruntime::Stream&, onnxruntime::synchronize::Notification&)>)::{lambda(onnxruntime::contrib::transformers::HypothesisScore*)#1}> const&, std::_Manager_operation)':
beam_search_scorer.cc:(.text._ZNSt17_Function_handlerIFvPN11onnxruntime7contrib12transformers15HypothesisScoreEEZNS0_10IAllocator13MakeUniquePtrIS3_EESt10unique_ptrIT_St8functionIFvPS9_EEESt10shared_ptrIS6_EmbPNS0_6StreamESA_IFvRSH_RNS0_11synchronize12NotificationEEEEUlS4_E_E10_M_managerERSt9_Any_dataRKSR_St18_Manager_operation[_ZNSt17_Function_handlerIFvPN11onnxruntime7contrib12transformers15HypothesisScoreEEZNS0_10IAllocator13MakeUniquePtrIS3_EESt10unique_ptrIT_St8functionIFvPS9_EEESt10shared_ptrIS6_EmbPNS0_6StreamESA_IFvRSH_RNS0_11synchronize12NotificationEEEEUlS4_E_E10_M_managerERSt9_Any_dataRKSR_St18_Manager_operation]+0x54): undefined reference to __libc_single_threaded' beam_search_scorer.cc:(.text._ZNSt17_Function_handlerIFvPN11onnxruntime7contrib12transformers15HypothesisScoreEEZNS0_10IAllocator13MakeUniquePtrIS3_EESt10unique_ptrIT_St8functionIFvPS9_EEESt10shared_ptrIS6_EmbPNS0_6StreamESA_IFvRSH_RNS0_11synchronize12NotificationEEEEUlS4_E_E10_M_managerERSt9_Any_dataRKSR_St18_Manager_operation[_ZNSt17_Function_handlerIFvPN11onnxruntime7contrib12transformers15HypothesisScoreEEZNS0_10IAllocator13MakeUniquePtrIS3_EESt10unique_ptrIT_St8functionIFvPS9_EEESt10shared_ptrIS6_EmbPNS0_6StreamESA_IFvRSH_RNS0_11synchronize12NotificationEEEEUlS4_E_E10_M_managerERSt9_Any_dataRKSR_St18_Manager_operation]+0xe1): undefined reference to __libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(beam_search_scorer.cc.o): In function gsl::span<onnxruntime::contrib::transformers::HypothesisScore,<PHONE_NUMBER>3709551615ul> onnxruntime::rnn::detail::Allocate<onnxruntime::contrib::transformers::HypothesisScore>(std::shared_ptr<onnxruntime::IAllocator>, unsigned long, std::unique_ptr<onnxruntime::contrib::transformers::HypothesisScore, std::function<void (onnxruntime::contrib::transformers::HypothesisScore*)> >&, bool, onnxruntime::contrib::transformers::HypothesisScore)': beam_search_scorer.cc:(.text._ZN11onnxruntime3rnn6detail8AllocateINS_7contrib12transformers15HypothesisScoreEEEN3gsl4spanIT_Lm18446744073709551615EEESt10shared_ptrINS_10IAllocatorEEmRSt10unique_ptrIS8_St8functionIFvPS8_EEEbS8_[_ZN11onnxruntime3rnn6detail8AllocateINS_7contrib12transformers15HypothesisScoreEEEN3gsl4spanIT_Lm18446744073709551615EEESt10shared_ptrINS_10IAllocatorEEmRSt10unique_ptrIS8_St8functionIFvPS8_EEEbS8_]+0x1b3): undefined reference to __libc_single_threaded'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(beam_search_scorer.cc.o):beam_search_scorer.cc:(.text.ZN11onnxruntime3rnn6detail8AllocateINS_7contrib12transformers14BeamHypothesesEEEN3gsl4spanIT_Lm18446744073709551615EEESt10shared_ptrINS_10IAllocatorEEmRSt10unique_ptrIS8_St8functionIFvPS8_EEEbS8[ZN11onnxruntime3rnn6detail8AllocateINS_7contrib12transformers14BeamHypothesesEEEN3gsl4spanIT_Lm18446744073709551615EEESt10shared_ptrINS_10IAllocatorEEmRSt10unique_ptrIS8_St8functionIFvPS8_EEEbS8]+0x1b3): more undefined references to __libc_single_threaded' follow ../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o): In function std::__detail::_Hash_node<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::vector<int, std::allocator > >, true>* std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::vector<int, std::allocator > >, true> > >::_M_allocate_node<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::vector<int, std::allocator > > const&>(std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::vector<int, std::allocator > > const&) [clone .isra.0]':
utils.cc:(.text.ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIiSaIiEEELb1EEEEE16_M_allocate_nodeIJRKSD_EEEPSE_DpOT.isra.0+0x19e): undefined reference to std::__throw_bad_array_new_length()' ../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o): In function void std::vector<onnxruntime::QDQ::NodeGroup, std::allocatoronnxruntime::QDQ::NodeGroup >::_M_realloc_insert<onnxruntime::QDQ::NodeGroup const&>(__gnu_cxx::__normal_iterator<onnxruntime::QDQ::NodeGroup*, std::vector<onnxruntime::QDQ::NodeGroup, std::allocatoronnxruntime::QDQ::NodeGroup > >, onnxruntime::QDQ::NodeGroup const&)':
utils.cc:(.text.ZNSt6vectorIN11onnxruntime3QDQ9NodeGroupESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT[ZNSt6vectorIN11onnxruntime3QDQ9NodeGroupESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT]+0x366): undefined reference to std::__throw_bad_array_new_length()' utils.cc:(.text._ZNSt6vectorIN11onnxruntime3QDQ9NodeGroupESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_[_ZNSt6vectorIN11onnxruntime3QDQ9NodeGroupESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_]+0x375): undefined reference to std::__throw_bad_array_new_length()'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o): In function onnxruntime::QDQ::SelectorManager::InitializeSelectorsMap()': utils.cc:(.text._ZN11onnxruntime3QDQ15SelectorManager22InitializeSelectorsMapEv+0x5e3): undefined reference to std::__throw_bad_array_new_length()'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o): In function onnxruntime::QDQ::SelectorManager::GetQDQSelections(onnxruntime::GraphViewer const&) const': utils.cc:(.text._ZNK11onnxruntime3QDQ15SelectorManager16GetQDQSelectionsERKNS_11GraphViewerE+0x92f): undefined reference to std::__throw_bad_array_new_length()'
../../_deps/onnxruntime-src/lib/libonnxruntime.a(utils.cc.o):utils.cc:(.text._ZNK11onnxruntime3QDQ15SelectorManager16GetQDQSelectionsERKNS_11GraphViewerE+0xc43): more undefined references to std::__throw_bad_array_new_length()' follow ../../_deps/onnxruntime-src/lib/libonnxruntime.a(regexp.cc.o): In function re2::ConvertRunesToBytes(bool, int*, int, std::__cxx11::basic_string<char, std::char_traits, std::allocator >*)':
regexp.cc:(.text._ZN3re219ConvertRunesToBytesEbPiiPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xbe): undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::reserve()'
collect2: error: ld returned 1 exit status
make[2]: *** [sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-tts.dir/build.make:103: bin/sherpa-onnx-offline-tts] Error 1
make[1]: *** [CMakeFiles/Makefile2:1899: sherpa-onnx/csrc/CMakeFiles/sherpa-onnx-offline-tts.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
"
3、请问k2的WASR在大数据集和中文效果怎么样啊？

1、sherpa编译报错，部分截取如下

Please don't use conda, use pip instead.
Please follow

https://k2-fsa.github.io/k2/installation/cuda-cudnn.html to install cudatoolkit
https://k2-fsa.github.io/k2/installation/from_wheels.html to install torch and k2

(Never use conda install)

分析：是不是安装都是cuda11.7版本，linux环境目前只有cuda11.1/2版本，是不是得重装 k2 等，再编译

请先看 nvidia-smi 的输出， cuda 版本是多少。（别看 nvcc --version, 是看  nvidia-smi)

2、sherpa-onnx -> build-static编译报错部分截取如下：

Please either use -DBUILD_SHARED_LIBS=ON or use GCC > 9

3、请问k2的WASR在大数据集和中文效果怎么样啊？

这个问题，请去 icefall 的那个 pull request 里面去问下作者。

1、sherpa编译问题：
/usr/bin/ld: warning: libnccl.so.2, needed by **/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so, not found (try using -rpath or -rpath-link)
**/anaconda3/envs/k2/lib/python3.8/site-packages/torch/lib/libtorch_cuda.so: undefined reference to `ncclRecv'
**/anaconda3/envs/k2/lib/python3.8/site-packages/k2/lib/libk2fsa.so: undefined reference to `std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char><EMAIL_ADDRESS>
得安装nccl吗？GLIBCXX_3.4.26？

1、sherpa编译问题：

请参考上面的链接：

安装 cudatoolkit
安装 torch
安装 k2

别用 conda install 去安装 torch 和 cudatoolkit. 再重复一遍，不要用 conda install.

安装新一代 kaldi 里面的项目，请完全按照我们提供的文档来。
如果你能自己解决问题，可以自行发挥。不然，请按照我们提供的文档，谢谢合作。

好的，感谢！


Add Health permission

Extra optional parameter (Health category type) needed in PermissionConfig, similar to what happened with Notifications. Using associated values would be better
In progress: PermissionScope-wip/healthkit

@nickoneill: HK working on my last commit to wip/healthkit branch. We need to make some decisions though:

What to do when the user asks for x types to share and y types to read ? Return .Authorized if all of them were ? Link to the code

Also, that branch has a prototype of #71 by using subclasses. I still think that we should decouple the code even more. PermissionScope.swift shouldn't contain the request/success methods imo. A protocol based approach would be better (We still can't use structs because of ObjC...Unless you want to maintain a separate branch for ObjC compatibility)

I really like the look of the PermissionConfig stuff, feels much nicer. Let's get this stuff in before we play with more decoupling, I want to evaluate those changes separately.
For the HealthKit stuff... I'm OK with sending users to the same App Settings page for the moment, even if HealthKit isn't listed there. It's better than the alternative of just saying "HealthKit needs to be turned on, go here and here and here" in an alert. Can you link to any radars about this? It would be nice for each of us to file duplicates so they know we'd like this feature.

Can you be more clear on your first issue? I'm not certain I understand what you're saying.

This one ?

What to do when the user asks for x types to share and y types to read ? Return .Authorized if all of them were ? What about SharingDenied and NotDetermined ? Link to the code

Well, when requesting HK access one needs to specify 2 sets: elements that the app will share (aka write) and read. So, when we want to return HK's status what should we do ?
let typesAuthorized = statusArray
    .filter { $0 == .SharingAuthorized }
let typesDenied = statusArray
    .filter { $0 == .SharingDenied }
let typesNotDetermined = statusArray
    .filter { $0 == .NotDetermined }

Ah, I see. Let me play with the API a bit.

I guess one solution would be to add an extra parameter to HealthPC called strict: Bool. If strict is enabled, then Authorized would only be returned when all of them are. Otherwise, if at least one has SharingAuthorized, then return Authorized

Ugh, such granularity.
Your approach might be a good first shot. Some alternatives I was thinking about are:
• breaking the health items up by read / share (one config, shows as two items)
• breaking the health items up into individual data points to be requested (needs some other design for the buttons, they would still all be requested at once)
• providing HealthKit as a convenience API only, not allowing it to be requested in the dialog with other items (it already provides a granular interface, little need to do the same thing again)

I'll commit the strictMode for now. Then we'll think about improvements


[Program]: Write a PHP program to find the eigenvalues of a matrix

Description
Write a PHP program to find the eigenvalues of a matrix
The eigenvalues and eigenvectors of a linear transformation are the values and vectors that determine the transformation. The eigenvalues of a matrix A are the values λ for which the matrix equation Av = λv has a non-trivial solution.
Input  :
1 2 3
4 5 6
7 8 9

Output :
16.116843969807043
-1.1168439698070427
0.9999999999999998

How to contribute

Save the solution in program/program/find-the-eigenvalues-of-a-matrix/find_the_eigenvalues_of_a_matrix.php file

!assign I would like to contribute to this issue

!assign

!assign

Can anyone assign this issue to @sricharan200 ? I am not really available to complete this issue.


grype: 0.53.0 -> 0.53.1

Changelog: https://github.com/anchore/grype/releases/tag/v0.53.1
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 202807 run on x86_64-linux 1

1 package built:

grype


iOS mode  bug

From the 【Dynamically Generated Content】button to go in, in the iOS mode under the 【 one more page】 several times, you can not return to the first page .

It is the issue of Kitchen Sink only, look for correct code at https://github.com/nolimits4web/Framework7/blob/master/kitchen-sink-ios/js/kitchen-sink.js#L1056-L1083


Add ZipGenerator

Zip Generator which combines specific generators into one

Not sure about the alternate. Thinking about it, I guess the component generators should be checked, and if they all alternate, the parent zipgenerator should be set to alternate, and if they all don't alternate then the parent shouldn't alternate. If some alternate and some dont, maybe it should throw an assertion error?

Tom agreed - now takes into account component alternate values

New behaviour changed to have alternate set on init to ZipGenerator only. If alternate is set to True on any of the component generators, it will fail. OK for everyone?


Added code to process Blur authentication token from request.

When canceling a bid on Blur, the first step requires to sign in to Blur. The code doesn't pass the Blur auth token to the next step and the execution gets stuck and eventually errors out when reaches max retry count.

We're reviewing this internally, we'll get back to you soon. Sorry about the wait.

After chatting with the team we're not sure that this is required, maybe there's a specific scenario that we're not aware of. Do you mind sending over a request/payload that reproduces the issue?

This only happens when I cancel a bid on Blur. You are probably right since
creating a bid or listing works just fine. See if you can recreate it when
canceling a bid or I can send you the request and response.
Regards,
Dmitri
On Wed, Apr 3, 2024 at 6:54 AM Pedro Cunha @.***> wrote:

After chatting with the team we're not sure that this is required, maybe
there's a specific scenario that we're not aware of. Do you mind sending
over a request/payload that reproduces the issue?
edit: To be clearer here, we store the blur auth token on the backend so
there's no need to pass it in the following request.
—
Reply to this email directly, view it on GitHub
https://github.com/reservoirprotocol/reservoir-kit/pull/639#issuecomment-2034680378,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYPASAK2R6IZ3HX3WGLWOG3Y3QCYBAVCNFSM6AAAAABFLLOXG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZUGY4DAMZXHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Configure game

When trying to configure any added game the front end crashes. Nkt sure if have a log but I will look.

Thanks for trying to run this!  Please, keep in mind spectabis-next is in very early development state.
I just created a quick guide for providing logs and additional information. Please update your post according to this guide. https://github.com/FaithLV/spectabis-next/blob/master/CONTRIBUTING.md


Sync to Remote: Cannot read property 'length' of undefined

Expected Behavior
Sync to remote
Actual Behavior
Error as soon as I start to sync: Cannot read property 'length' of undefined
Sync to remote has worked for me until yesterday or today-morning. No changes in my sftp.json done. Though, uploadOnSave=true works fine. For testing purposes I cleared my directory and only had one txt-file to upload, same error. Extension uninstalled and re-installed, restarted computer - problem persists.
Requisites
sftp.json
{     "name": "Deployment",     "protocol": "ftp",     "host": "xxx",     "port": 21,     "username": "xxx",     "password": "xxx",     "ignore": [         ".vscode",         "photos",         ".htaccess",         "ToDo.txt"             ],     "remotePath": "/",     "syncMode": "full",     "uploadOnSave": true }
Extension Logs
[trace] run command 'Sync To Remote'
[error] TypeError: Cannot read property 'length' of undefined
at Object.uriFromfspath (C:\Users\samto.vscode\extensions\liximomo.sftp-1.5.10\out\src\commands\shared.js:87:18)
at Object.combinedSelector [as getFileTarget] (C:\Users\samto.vscode\extensions\liximomo.sftp-1.5.10\out\src\commands\shared.js:77:31)
at FileCommand. (C:\Users\samto.vscode\extensions\liximomo.sftp-1.5.10\out\src\commands\abstract\createCommand.js:46:52)
at Generator.next ()
at C:\Users\samto.vscode\extensions\liximomo.sftp-1.5.10\out\src\commands\abstract\createCommand.js:7:71
at new Promise ()
at __awaiter (C:\Users\samto.vscode\extensions\liximomo.sftp-1.5.10\out\src\commands\abstract\createCommand.js:3:12)
at FileCommand.doCommandRun (C:\Users\samto.vscode\extensions\liximomo.sftp-1.5.10\out\src\commands\abstract\createCommand.js:45:20)
at FileCommand. (C:\Users\samto.vscode\extensions\liximomo.sftp-1.5.10\out\src\commands\abstract\command.js:29:28)
at Generator.next ()
at C:\Users\samto.vscode\extensions\liximomo.sftp-1.5.10\out\src\commands\abstract\command.js:7:71
at new Promise ()
at __awaiter (C:\Users\samto.vscode\extensions\liximomo.sftp-1.5.10\out\src\commands\abstract\command.js:3:12)
at FileCommand.run (C:\Users\samto.vscode\extensions\liximomo.sftp-1.5.10\out\src\commands\abstract\command.js:26:16)
at e._executeContributedCommand (c:\Dev\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:726:706)
at e.$executeContributedCommand (c:\Dev\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:727:212)
at e._doInvokeHandler (c:\Dev\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:681:309)
at e._invokeHandler (c:\Dev\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:681:27)
at e._receiveRequest (c:\Dev\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:679:802)
at e._receiveOneMessage (c:\Dev\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:678:993)
at c:\Dev\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:677:791
at c:\Dev\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:98:597
at e.fire (c:\Dev\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:99:917)
at a (c:\Dev\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:164:787)
at Socket._socketDataListener (c:\Dev\Microsoft VS Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:164:1006)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:594:20)
Specifications

Version: Visual Code: 1.27.2, SFTP: 1.5.10
Platform: Win10 x64

Perhaps related to issue 331 fix?

@samuelT2 If you mean it might have been fixed in that, it hasn't
Facing the same issue myself as well.
Where can I see the plugin logs?

Nah, not fixed - I meant "bug implemented" :D I can confirm that it worked fine until version 1.5.8, not sure if release 1.5.9 or 1.5.10 broke the extension.

Not fixed. I delete a file in remote, and "Sync To Local" or "Sync To Remote" raised this error

Same here. When sync to local and sync to remote

same issue here 👍

Same issue too. When I use sync to remote

Same issue. I cannot sync project
[error] TypeError: Cannot read property 'length' of undefined 	at Object.uriFromfspath (/Users/duongtx/.vscode/extensions/liximomo.sftp-1.5.10/out/src/commands/shared.js:88:18) 	at Object.combinedSelector [as getFileTarget] (/Users/duongtx/.vscode/extensions/liximomo.sftp-1.5.10/out/src/commands/shared.js:77:31) 	at FileCommand.<anonymous> (/Users/duongtx/.vscode/extensions/liximomo.sftp-1.5.10/out/src/commands/abstract/createCommand.js:46:52) 	at Generator.next (<anonymous>) 	at /Users/duongtx/.vscode/extensions/liximomo.sftp-1.5.10/out/src/commands/abstract/createCommand.js:7:71 	at new Promise (<anonymous>) 	at __awaiter (/Users/duongtx/.vscode/extensions/liximomo.sftp-1.5.10/out/src/commands/abstract/createCommand.js:3:12) 	at FileCommand.doCommandRun (/Users/duongtx/.vscode/extensions/liximomo.sftp-1.5.10/out/src/commands/abstract/createCommand.js:45:20) 	at FileCommand.<anonymous> (/Users/duongtx/.vscode/extensions/liximomo.sftp-1.5.10/out/src/commands/abstract/command.js:29:28) 	at Generator.next (<anonymous>) 	at /Users/duongtx/.vscode/extensions/liximomo.sftp-1.5.10/out/src/commands/abstract/command.js:7:71 	at new Promise (<anonymous>) 	at __awaiter (/Users/duongtx/.vscode/extensions/liximomo.sftp-1.5.10/out/src/commands/abstract/command.js:3:12) 	at FileCommand.run (/Users/duongtx/.vscode/extensions/liximomo.sftp-1.5.10/out/src/commands/abstract/command.js:26:16) 	at e._executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:726:706) 	at e.$executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:727:212) 	at e._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:681:309) 	at e._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:681:27) 	at e._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:679:802) 	at e._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:678:993) 	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:677:791 	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:98:597 	at e.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:99:917) 	at a (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:164:787) 	at Socket._socketDataListener (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:164:1006) 	at emitOne (events.js:116:13) 	at Socket.emit (events.js:211:7) 	at addChunk (_stream_readable.js:263:12) 	at readableAddChunk (_stream_readable.js:250:11) 	at Socket.Readable.push (_stream_readable.js:208:10) 	at Pipe.onread (net.js:594:20)

Same here. When sync to local and sync to remote

I use "Download Project" instead of "Sync to local". @liximomo please fix it. Your extension is great!

Well, as long as this is not fixed, here's a workaround:

Download last version here: https://liximomo.gallery.vsassets.io/_apis/public/gallery/publisher/liximomo/extension/sftp/1.5.8/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage
Change the extension from the package from .VSIXPackage to .VSIX
Open Visual Code, uninstall SFTP, reload Visual Code
Disable auto-update with "extensions.autoUpdate": false
Press F1 and type VSIX --> "Extension: Install from VSIX..."
Reload visual code
Voilà, it works again (at least for me)

Fixed in v1.5.11.


Update README

Add complete commandline help under Usage

Closed because I'm trying to keep the README as short and concise as possible. I don't think that it's necessary to display all of the command line options.


could you add a sample that uses oauth2_proxy

Great source you have here.  Just wondering if you've every looked at using oauth2_proxy.

Hello @powerdude!
Thanks for you message.
I believe the oauth is for another purpose of what we have here, there is a few oauth clients I have tested, keycloak, okta etc... but all of them is located behind this proxy.
The idea here is to have an automated service to start multiple apps and services in a server, which might not require any authentication such as wordpress blogs, websites etc.
But, I think oauth is a good idea for some app, and I do use them in some projects.
Not sure if this is what you mean, if now please let me know.

hi @evertramos ,
Since you had an example that showed how to use basic auth, i just thought i'd ask to see if you could do another example.  I've implemented the basic auth but wanted to try to do oauth.  All the examples of using oauth2_proxy are with traefik, so it's been challenging trying to figure it out.  any ideas or pointers you could share?

ohhh sorry!
yes I can help you with that.. but I will need a few days on that matter.... can you wait?
Or you changed the subject or I miss read it....
I will see what I can do to share you something working in that matter, probably okta.

yes, i can wait.  :)


Add local extension to header partial

I have a use case where I would like to add custom content before the </head> tag. This change implements that. Users can add locally (either in their overriding theme or in the root directory) add /layouts/partials/overrides/header.html and the content is printed at that location.
I see multiple uses for this, after <body>, before </body>... The path in templates.Exists must be run through printf for some reason.

hey @davidsneighbour
Thanks for your concern, we appreciate your work. Do you know about google tag manager? I think it's also possible with that, and more convenient for the user.

That would impede the speed: GTM requires a Javascript to be loaded. That Javascript might not be executed when a bot is loading the site. Think about "ownership verification" meta tags by ahref.com or Google themselves. You can't hope that they execute Javascripts when they look for these tags. With a local template and a proper minification on staging this will be a one-step task for the website owner. With GTM there is learning involved and breaking it all with an unrelated tag there is possible too.

I like this, but I'll admit that calling it "overrides" tripped me up (since you can override theme partials by adding your own of the same name in a more specific location).
@davidsneighbour would you consider calling it injections or something similar instead of overrides?, since it's not overriding anything, but extending?


Add code-server to marketplace

About
This adds code-server, the VS Code over Web application to the Civo Kubernetes Marketplace, which enables a interactive coding environment.
Pull Request
Thank you for wanting to submit a Pull Request to the Civo Kubernetes Marketplace repository!
If your pull request is to submit a new application to the marketplace, please answer the following questions:

[x] Have you followed the guidelines in our Contributing document in setting up the application?
[x] Have you checked that the application your submission is proposing to add does not yet exist on the Marketplace, or as a pull request to be processed?
[x] Have you tested your application on the Civo managed Kubernetes service? Please include a screenshot.

Screenshot:

[x] Can you confirm that the software you are submitting licensed for use in a publicly-available Kubernetes marketplace?

If your pull request concerns an existing Marketplace application, please make sure you have:

[ ] Notified the Maintainer of the application in this pull request so that they are aware of your proposal.
[ ] Outlined the changes you are proposing, and the reasons these are required (e.g. stability, compatibility with new versions of Kubernetes implementations, etc).
[ ] Tested that the application works with the proposed updates applied (including a screenshot)

Thanks for the PR @ruanbekker, LGTM!


Remove 'nocheckcertificate' flag

I noticed that nocheckcertificate=True is being passed to Youtube-DL:
https://github.com/natumbri/mopidy-youtube/blob/develop/mopidy_youtube/youtube.py#L292
Unless there's a very good reason to keep this, it would be ideal if it could be removed. If Youtube is compromised to the point where it's returning certificate errors, I'd rather not download anything from it than potentially download malicious content.

I wonder why this was a Good Idea at the time it was inserted?

Perhaps someone was following a poorly-written example from somewhere on the internet, or perhaps they were testing with a local server and forgot to remove some testing code. The fact is that if Youtube had SSL issues we'd have a lot more to worry about.

This will happen in the next release.  It has already been implemented in the yt-playlists branch, which will be the basis for the next release version.


Error with Hand tracking and Pose in Desktop

Hello All, I have an error when trying to run the hand tracking or pose desktop examples.

when I try :
GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_cpu --calculator_graph_config_file=mediapipe/graphs/hand_tracking/hand_tracking_desktop_live.pbtxt

from cmd I got this Error: 'GLOG_logtostderr' is not recognized as an internal or external command,
operable program or batch file.

when I try:

D:\mediapipe\bazel-bin\mediapipe\examples\desktop\hand_tracking>hand_tracking_cpu.exe
Also I got this Error:
E20201204 14:27:36.430857  3228 demo_run_graph_main.cc:146] Failed to run the graph: ; Can't find file:
Any one can let me know to run these examples ?

Please run

D:\mediapipe> set GLOG_logtostderr=1
D:\mediapipe> bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_cpu --calculator_graph_config_file=mediapipe/graphs/hand_tracking/hand_tracking_desktop_live.pbtxt

Please  go back to D:\mediapipe first. The calculator graph config file path is a relative path that assumes you are at the repo root directory.

I did it also, and I got an error for bazel-bin not recognized

I solved It.
as I am working with windows the path in the command line must be with " " not "/"
so, the below commands work well.
D:\mediapipe> set GLOG_logtostderr=1
D:\mediapipe> bazel-bin\mediapipe\examples\desktop\hand_tracking\hand_tracking_cpu --calculator_graph_config_file=mediapipe\graphs\hand_tracking\hand_tracking_desktop_live.pbtxt


'o' and 'O' indenting in JSX behaves oddly

Good afternoon, thank you so much for the work that you have done on this extension, it is the best experience I've been able to find thus far using Vim with VSCode. Can't say enough great things about what it does and how easy it is to use.
I'm having an issue with editing JSX code, that might honestly be more of an upstream issue with how VS Code behaves than the extension itself, I'm not sure. I have tested this out with Javascript, HTML, CSS, JSX, and Python, and only found the issue to be specifically when I am editing JSX. When I press either o or shift+o from normal mode, I expect the editor to create a new line and indent the cursor in a predictable way, yet it seems to be quite erratic.

Would appreciate it if anyone has any suggestions. I have spent several hours trying to debug this and truly have no idea why it is acting this way. I am currently not loading any init.vim file, as almost all of the settings and configurations from my Neovim are related to plugins that I don't need in VS Code. Thank you!

I have not found the root of this problem yet, but am no longer in need of this being fixed.


[BUG] Custom ISM policy isnt injected

Describe the bug
On fresh start (DataPrepper against fresh empty initialized OpenSearch DB) we expecting, that DataPrepper inject our custom ISM policy + custom index template.
From logs from DataPrepper I can see, that the index template is managed, but ISM policy not.
Expected behavior
If custom ISM policy is used, must be showed in ISM management GUI and ISM must managing the OTel indices.
Environment (please complete the following information):

DataPrepper Docker image v 2.6.2
OpenSearch Docker image v2.11.1

Additional context
/usr/share/data-prepper/config/data-prepper-config.yaml
ssl: false

/usr/share/data-prepper/otel-span-index-template.json
{
  "index_patterns": ["otel-v1-apm-span-*"],
  "version": 1,
  "template": {
    "settings": {
      "plugins.index_state_management.rollover_alias": "otel-v1-apm-span"
    }
  }
}

/usr/share/data-prepper/otel-span-ism-policy.json
{
  "policy": {
    "policy_id": "otel-span",
    "description": "Managing raw spans for trace analytics",
    "default_state": "current_write_index",
    "states": [
      {
        "name": "current_write_index",
        "actions": [
            {
                "rollover": {
                    "min_size": "10gb",
                    "min_index_age": "24h"
                }
            }
        ],
        "transitions": [
            {
                "state_name": "delete",
                "conditions": {
                    "min_index_age": "3d"
                }
            }
        ]
      },
      {
        "name": "delete",
        "actions": [
          {
            "delete": {}
          }
        ]
      }
    ],
    "ism_template": [
      {
        "index_patterns": ["otel-v1-apm-span-*"]
      }
    ]
  }
}

/usr/share/data-prepper/pipelines/pipelines.yaml
entry-pipeline:
  workers: 4
  delay: "100"
  source:
    otel_trace_source:
      ssl: true
      sslKeyCertChainFile: "/usr/share/data-prepper/server.crt"
      sslKeyFile: "/usr/share/data-prepper/server.key"
      port: 21890
      authentication:
        http_basic:
          username: REDACTED
          password: REDACTED
  buffer:
    bounded_blocking:
      buffer_size: 1024
      batch_size: 256
  sink:
    - pipeline:
        name: "raw-pipeline"
    - pipeline:
        name: "service-map-pipeline"

raw-pipeline:
  source:
    pipeline:
      name: "entry-pipeline"
  processor:
    - otel_traces:
  sink:
    - opensearch:
        #index_type: trace-analytics-raw
        index_type: custom
        index: otel-v1-apm-span
        hosts: [ https://os-endpoint.REDACTED:9200 ]
        cert: "/usr/share/data-prepper/root-ca.pem"
        template_file: "/usr/share/data-prepper/otel-span-index-template.json"
        ism_policy_file: "/usr/share/data-prepper/otel-span-ism-policy.json"
        username: REDACTED
        password: REDACTED

service-map-pipeline:
  delay: "100"
  source:
    pipeline:
      name: "entry-pipeline"
  processor:
    - service_map:
  sink:
    - opensearch:
        index_type: trace-analytics-service-map
        hosts: [ https://os-endpoint.REDACTED:9200 ]
        cert: "/usr/share/data-prepper/root-ca.pem"
        username: REDACTED
        password: REDACTED

@LHozzan , I want to clarify your problem. Your ISM policy is working, correct? But, you are seeing a different setting?
Data Prepper still uses the opendistro setting to retain compatibility with OpenDistro clusters. You can see this below.
https://github.com/opensearch-project/data-prepper/blob/48d8bc379f337b7ecab06cea4c25d8240eb00fb4/data-prepper-plugins/opensearch/src/main/java/org/opensearch/dataprepper/plugins/sink/opensearch/index/IndexConstants.java#L23
OpenSearch ISM should be treating these the same until they remove the opendistro key.

Hi @dlvenable .

Your ISM policy is working, correct?

Yes, our custom ISM is working fine with DataPrepper v2.7.0, but same state isnt working with previous DP version (2.6.2). The ISM must be connected to the index template via index_patterns attribute, thus we must importing the index template as well.

But, you are seeing a different setting?

Yes, we importing ISM policy in specific state. But the state will be changed after importing to the OpenSearch (= when I comparing our state BEFORE importing and state from OpenSearch AFTER importing, they are different).
And here is my confusion:

our state is imported correctly, but changed after import to the OpenSearch (variant A imported, but changed to variant B)
if I take state AFTER import to OpenSearch and attempt to use it as a template for DP in upgrade process (DP v previous to DP v new), this isnt imported at all (variant B isnt imported, but silently dropped)

Why?
I expecting, that if I import some objects to the OpenSearch and they have some older format, OpenSearch "upgrade them on the fly" and store upgraded version. So, upgraded version is better to use, because if I importing this upgraded version, no changes occurred, I think.
What I see is, that if I take the "upgraded version", DP looks like importing it, but dont made it.

Data Prepper still uses the opendistro setting to retain compatibility with OpenDistro clusters. You can see this below.

I see it and this is the point:

if I using this setting in ISM, DP not import it at all
if I using different setting (variant A), DP import it, but OpenSearch change it to opendistro setting

It seems, that the bug was solved in DP v2.7.0 . I hope, that the bug stay solved and not occurred anymore :). Problem is, that we post the bug when is too late and we spot, that OpenSearch have very big index with all tracing data, aka index wasnt rolled over, due to missing (= expected, but not imported) ISM template.

The best way to deal with this is creation of index patterns through data-prepper in ISM policy as well. This will solve more crucial scenario when we use dynamic index alias name as currently data-prepper is managing template and policy name based on indexAlias.

https://github.com/opensearch-project/data-prepper/issues/5117


Fix the endless loop when displaying images

This mainly fixes the constant loading of the image. This was caused by the imageURL being the dependency of the function, which also sets it while having no guard.
However, the deconstructor that we had can also safely be done when the img tag sends it's onload callback (See https://developer.mozilla.org/en-US/docs/Web/API/File_API/Using_files_from_web_applications#example_using_object_urls_to_display_images ).
This removed all dependencies (the others don't change anyway, so they do not have to be a dependency anyway) of the useEffect Hook and eliminated the problem in full.
The abort controller is a recommendation for this pattern, since you can end up with 2 requests on some rerenders when you do not have it. It doesn't break things if missing, but is more of a resource cleanup. (You also could have had a dangling request on unmount)
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages (more info).
[ ] Added or updated documentation.
[ ] Tests for new functionality and regression tests for bug fixes.
[ ] Screenshots or videos attached (for UI changes).
[x] All your commits have a Signed-off-by line in the message (more info).

This removed all dependencies (the others don't change anyway, so they do not have to be a dependency anyway) of the useEffect Hook and eliminated the problem in full.

When did we disable the linter for that? :P


Branch residency

Fixes many of the test cases failing.

Since IDs are unique, and there cannot be duplicate Person objects either via the add or edit command, we can leave id out of the .equals() evaluation criteria
Did up tests for Residency and Id

Codecov Report

:exclamation: No coverage uploaded for pull request base (feature-residency@ab2f4c5). Click here to learn what that means.
The diff coverage is n/a.

@@                 Coverage Diff                  @@
##             feature-residency      #76   +/-   ##
====================================================
  Coverage                     ?   69.12%
  Complexity                   ?      518
====================================================
  Files                        ?       91
  Lines                        ?     1639
  Branches                     ?      178
====================================================
  Hits                         ?     1133
  Misses                       ?      458
  Partials                     ?       48

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab2f4c5...6908830. Read the comment docs.


az webapp connection create sql fails

This is autogenerated. Please review and update as needed.
Command Name
az webapp connection create sql Extension Name: serviceconnector-passwordless. Version: 0.1.0.
Errors:
The behavior of this command has been altered by the following extension: serviceconnector-passwordless
Connection name is not specified, use generated one: --connection 123
Checking if WebApp enables System Identity...
Connecting to database...
The command failed with an unexpected error. Here is the traceback:
dlopen(/opt/homebrew/Cellar/azure-cli/2.46.0/libexec/lib/python3.10/site-packages/pyodbc.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_SQLAllocHandle'
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/azure-cli/2.46.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/homebrew/Cellar/azure-cli/2.46.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/homebrew/Cellar/azure-cli/2.46.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/homebrew/Cellar/azure-cli/2.46.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/homebrew/Cellar/azure-cli/2.46.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/homebrew/Cellar/azure-cli/2.46.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/Users/pavankumarsinguluri/.azure/cliextensions/serviceconnector-passwordless/azext_serviceconnector_passwordless/custom.py", line 28, in connection_create_ext
    return connection_create_func(cmd, client, connection_name, client_type,
  File "/opt/homebrew/Cellar/azure-cli/2.46.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/serviceconnector/custom.py", line 459, in connection_create_func
    new_auth_info = enable_mi_for_db_linker(
  File "/Users/pavankumarsinguluri/.azure/cliextensions/serviceconnector-passwordless/azext_serviceconnector_passwordless/_credential_free.py", line 88, in enable_mi_for_db_linker
    target_handler.create_aad_user()
  File "/Users/pavankumarsinguluri/.azure/cliextensions/serviceconnector-passwordless/azext_serviceconnector_passwordless/_credential_free.py", line 336, in create_aad_user
    self.create_aad_user_in_sql(connection_args, query_list)
  File "/Users/pavankumarsinguluri/.azure/cliextensions/serviceconnector-passwordless/azext_serviceconnector_passwordless/_credential_free.py", line 375, in create_aad_user_in_sql
    import pyodbc
ImportError: dlopen(/opt/homebrew/Cellar/azure-cli/2.46.0/libexec/lib/python3.10/site-packages/pyodbc.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_SQLAllocHandle'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp connection create sql --resource-group {} --name {} --target-resource-group {} --server {} --database {} --client-type {} --system-identity

Expected Behavior
Environment Summary
macOS-13.2.1-arm64-arm-64bit, Darwin 22.3.0
Python 3.10.10
Installer: HOMEBREW

azure-cli 2.46.0

Extensions:
serviceconnector-passwordless 0.1.0
account 0.2.5

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

route to CXP team

@pavansinguluri I am not able to reproduce this issue. You have be having issue with pyodbc on your Mac Machine.  Please can you try refer to this GitHub discussion if this fixes your issue.

@pavansinguluri Please let me know if you are still having issues.

@pavansinguluri We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


fix: traffic signs to new endpoint

iD was using the old v3/objects API and needs to be v3/map_features with the parameter layers=trafficsigns set. Also changed v3/detections to v3/image_detections API although I think this is not used right now.

Thanks @cbeddow - I restored the newlines back from CRLF -> CR, and fixed the tests.
There is another issue with the api call which fetches the detections within the current image (this is to draw the boxes over the detected signs), so I'll leave #5374 open for now.

This was actually merged - not sure why GitHub missed it


New package: CoderBag.QuickCPUx64 version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/110751&drop=dogfoodAlpha

##[error] Installer https://coderbag.com/assets/downloads/cpm/currentversion/QuickCpuSetup64.zip
##[error] Result: Failed
##vso[task.logissue type=error] Specified hash doesn't match.
Actual hash:   8A8F0B069A3EEFA22D38AE46646C300EFE9ADBFFDD83146BD180E99DB886A1D0
Expected hash: 456dcb545fbdd09d7fcb851da4c59ba182485347ee30ec5874b88fe4ba81c230

Duplicate of #110750


Set affinitize based on if hyper threading is ON/OFF

Programmatically determine if hyper threading is enabled or not and depending on that set the affinitize. This removes the --affi and --ht flag.

@Maoni0

Fixed.


[BEAM-12767] Fix handling display data in pipeline serialization

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Python Flink ValidatesRunner

Run Python Spark ValidatesRunner

Run Python Samza ValidatesRunner

Run Python Flink ValidatesRunner

sorry, I pushed the commit w/ the change missing when I was trying to reproduce it.  can you re-run the VR tests?

Run Python Spark ValidatesRunner

Run Python Samza ValidatesRunner

Run Python Spark ValidatesRunner

Run Java_Examples_Dataflow PreCommit

Run Java_Examples_Dataflow_Java11 PreCommit


Customize the Settings page with additional tabs

I would like to have the ability to customize the settings page to cater for as many tabs as needed.
Feature Suggestion
In the user-settings-plugin there are 3 pre-configured and hard-coded tabs. However, in our implementation at Zalando, we require more settings to be implemented in there. There isn't a way to do that at the moment, but this can be achieved by allowing us to add more tabs.
Possible Implementation
This is where the tabs are rendered
https://github.com/backstage/backstage/blob/master/plugins/user-settings/src/components/SettingsPage.tsx
We could add a prop to the SettingsPage component to insert additional tabs. I would like to make this contribution and hopefully use it as soon as possible to address one limitation we have at the moment.

Alright.
This would probably fit as one of these "composability" things where the plugin exposes a wrapper component plus the ability for users to make extension components that end up being rendered as tabs. @Rugvip for visibility


OpenSSL(1.1.0d) with Libcurl(7.52.1) gives error "Unknown SSL protocol error in connection to <server_url>:443

Sometime libcurl (using openssl) reports this error while connecting the tomcat server. Both client and server using the SSL protocol versions TLSv1,TLSv1.1,TLSv1.2 and also using the ciphers which are supported by both of them. Please note that i'm not seeing this error always but sometime. In my application client won't verify the server's certificate (i.e both CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are disabled).
If there is any error code (source code) is available which can be used in OpenSSL for debugging, please let me know. I will include that and see what makes this error

To start, you need to find out where that error is coming from. Hint: it's not OpenSSL.  Then you can track down details of the actual error within openssl (if it is).  Then post to the openssl-users mailing list.  Closing this.


Segmentation fault in graph partitioning of Swiss Roll

I am trying to do graph partitioning of Nearest Neighbour graph of Swiss Roll, the following is the .graph file I have generated:
outfile.txt
This is the command I ran:
./deploy/kaffpa ../outfile.graph --k 10  --preconfiguration=strong
Output:
io time: 0.00218797
graph has 1500 nodes and 13500 edges
performing partitioning!
Segmentation fault

I was able to get a partition for k=100 though any recommendation on a how to select min/max k?

Also k=30 takes a lot of time, not sure if its stuck in a loop.

Hi,
I ran the graph checker on your input:

KaHIP -- graph format checker.
Output will be given using the IDs from file, i.e. the IDs are starting from 1.

IO done. Now checking the graph ....
The file does not contain all forward and backward edges.
Node 2 (line 3) does contain an arc to node 720 but there is no edge (720,2) in the file.
Please insert this edge in line 721 of the file.
You need to have forward and backward edges in the file.

Strange, ok, I will do that, but why does it succeed for k=100?


[5.1] Fix "Specified key was too long" for mysql

Learn from the commit 8744632 of rails framework.

What about other databases though. Your commit affects them all doesn't it?

@GrahamCampbell Ok, i will add a condition to check the database drive.

This isn't correct.  It's only the index length that can be at most 191 when using utf8mb4, the storage length can still be 255.  The logic should really be:
if driver is mysql and charset is utf8mb4 and string length > 191 then index length = 191
The sql generated would then have to apply the length to the index.  But that's only the simple case.  If you have a composite key with multiple string fields then the total index length can be at most 191.

@alexwhitman Thanks, but i  don't know that how to modify the index length. I am new to Laravel and PHP.


berkeley breakdown AnalyteCategoryEnum into types allowable for NucleotideSequencing and MassSpectrometry

Not required before the rollout but at some point we should break down AnalyteCategoryEnum into enumerations specific to subcategories. At present it would be valid to have  analyte_category populated with nom for class NucleotideSequencing
cc @mslarae13

We can add rule on the MassSpectrometry and NucleotideSequencing subclasses to specify acceptable PVs for the analyte_category slot.  Although analyte_category is only currently used on DataGeneration I think we'd need to rename that slot if we wanted to use separate Enums (and then migrate).

@samobermiller - please add titles to the PVs in AnalyteCategoryEnum at this same time.  See discussion in https://github.com/microbiomedata/nmdc-server/issues/1326 for why.

See linked PR, blocked on subsetting permissible values

Awaiting review.


Support for the sandbox

https://developer.uber.com/v1/sandbox/

related #1

@dylanjha have a pull request here: https://github.com/sishen/uber-ruby/pull/5


[Coder] It should be possible to move a method from a named protocol to an as yet unclassified

We should be able to un-classify a method. But now nothing happens:

It works now


can not use the ResNet18 models

Hello, there is a error in model.fit_generator when I load the pretrained model to fine-tune the whole the model.
InternalError: cuDNN launch failure : input shape ([32,224,224,3])
[[Node: resnet18/bn_data/FusedBatchNorm = FusedBatchNorm[T=DT_FLOAT, data_format="NHWC", epsilon=2e-05, is_training=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](_arg_resnet18_input_0_3/_1271, resnet18/bn_data/Const, bn_data/beta/read, resnet18/stage4_unit2_bn1/Const, resnet18/stage4_unit2_bn1/Const)]]
[[Node: metrics/acc/Mean/_1359 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_6505_metrics/acc/Mean", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Caused by op 'resnet18/bn_data/FusedBatchNorm', defined at:
File "/root/anaconda3/lib/python3.6/site-packages/spyder/utils/ipython/start_kernel.py", line 269, in
main()
File "/root/anaconda3/lib/python3.6/site-packages/spyder/utils/ipython/start_kernel.py", line 265, in main
kernel.start()
File "/root/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 486, in start
self.io_loop.start()
File "/root/anaconda3/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 127, in start
self.asyncio_loop.run_forever()
File "/root/anaconda3/lib/python3.6/asyncio/base_events.py", line 427, in run_forever
self._run_once()
File "/root/anaconda3/lib/python3.6/asyncio/base_events.py", line 1440, in _run_once
handle._run()
File "/root/anaconda3/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/root/anaconda3/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 117, in _handle_events
handler_func(fileobj, events)
File "/root/anaconda3/lib/python3.6/site-packages/tornado/stack_context.py", line 276, in null_wrapper
return fn(*args, **kwargs)
File "/root/anaconda3/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py", line 450, in _handle_events
self._handle_recv()
File "/root/anaconda3/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py", line 480, in _handle_recv
self._run_callback(callback, msg)
File "/root/anaconda3/lib/python3.6/site-packages/zmq/eventloop/zmqstream.py", line 432, in _run_callback
callback(*args, **kwargs)
File "/root/anaconda3/lib/python3.6/site-packages/tornado/stack_context.py", line 276, in null_wrapper
return fn(*args, **kwargs)
File "/root/anaconda3/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 283, in dispatcher
return self.dispatch_shell(stream, msg)
File "/root/anaconda3/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 233, in dispatch_shell
handler(stream, idents, msg)
File "/root/anaconda3/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 399, in execute_request
user_expressions, allow_stdin)
File "/root/anaconda3/lib/python3.6/site-packages/ipykernel/ipkernel.py", line 208, in do_execute
res = shell.run_cell(code, store_history=store_history, silent=silent)
File "/root/anaconda3/lib/python3.6/site-packages/ipykernel/zmqshell.py", line 537, in run_cell
return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
File "/root/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2662, in run_cell
raw_cell, store_history, silent, shell_futures)
File "/root/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2785, in _run_cell
interactivity=interactivity, compiler=compiler, result=result)
File "/root/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2909, in run_ast_nodes
if self.run_code(code, result):
File "/root/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2963, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
runfile('/cptjack/totem/huajia/0614/resnet18_me.py', wdir='/cptjack/totem/huajia/0614')
File "/root/anaconda3/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 705, in runfile
execfile(filename, namespace)
File "/root/anaconda3/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "/cptjack/totem/huajia/0614/resnet18_me.py", line 54, in
top_model.add(base)
File "/root/anaconda3/lib/python3.6/site-packages/keras/engine/sequential.py", line 166, in add
layer(x)
File "/root/anaconda3/lib/python3.6/site-packages/keras/engine/base_layer.py", line 460, in call
output = self.call(inputs, **kwargs)
File "/root/anaconda3/lib/python3.6/site-packages/keras/engine/network.py", line 573, in call
output_tensors, _, _ = self.run_internal_graph(inputs, masks)
File "/root/anaconda3/lib/python3.6/site-packages/keras/engine/network.py", line 730, in run_internal_graph
output_tensors = to_list(layer.call(computed_tensor, **kwargs))
File "/root/anaconda3/lib/python3.6/site-packages/keras/layers/normalization.py", line 183, in call
epsilon=self.epsilon)
File "/root/anaconda3/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 1841, in normalize_batch_in_training
epsilon=epsilon)
File "/root/anaconda3/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 1816, in _fused_normalize_batch_in_training
data_format=tf_data_format)
File "/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/ops/nn_impl.py", line 904, in fused_batch_norm
name=name)
File "/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 3416, in _fused_batch_norm
is_training=is_training, name=name)
File "/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3290, in create_op
op_def=op_def)
File "/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1654, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
InternalError (see above for traceback): cuDNN launch failure : input shape ([32,224,224,3])
[[Node: resnet18/bn_data/FusedBatchNorm = FusedBatchNorm[T=DT_FLOAT, data_format="NHWC", epsilon=2e-05, is_training=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](_arg_resnet18_input_0_3/_1271, resnet18/bn_data/Const, bn_data/beta/read, resnet18/stage4_unit2_bn1/Const, resnet18/stage4_unit2_bn1/Const)]]
[[Node: metrics/acc/Mean/_1359 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_6505_metrics/acc/Mean", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

Are you sure the versions of CUDA, cuDNN, Keras and tensorflow match your hardware?
I think I had a similar problem that I solved the problem with:
from keras import backend as K
config = K.tf.ConfigProto()
config.gpu_options.allow_growth = True

I had a same error in my environment :

tensorflow-gpu=1.8.0.
keras-gpu == 2.2.4.

And that problems was resolved when tensorflow-gpu == 1.14.0.
Please check your tf version.


[integration_test] Enable screenshots for iOS / Android

It seems that you can only take screenshots using the web platform at the moment.

Closing this as duplicate of https://github.com/flutter/flutter/issues/51890

Closing this as duplicate of https://github.com/flutter/flutter/issues/51890


clpe_ros version update

I edited version 0.1.0-1 -> 0.1.0-2

You might want to use bloom next time to create the PR, but I'll merge this


WebSocket not support pong ?

ws got ping from client,  then send a pong.
but  websocket object  no pong method?

uws  auto pong.

It auto responds to ping with a pong. This is correct behavior


Need more speed

My job is starting nvim under 100ms.

-30ms : edge better performance

see https://github.com/Potato1682/nvim/commit/be326db64564c066006531bd8c977c978f2beb92


fix: exclude docs and tests from package

Only include packages that start with google in the published artifact

@dpcollins-google Could I get a review? This is a small change to fix an issue first reported in https://github.com/googleapis/python-recaptcha-enterprise/issues/74


transformationChat and transformationHTML not working

I've been trying to play around with them, but it just doesn't work. Its just as if I'm not passing them.
Here's a sandbox:
https://codesandbox.io/s/y3744j7w3z

I've the same problem. How can you use truncationHTML ?

Hey, looks like native clamp (-webkit-line-clamp) was changed over time. For now useNativeClamp={ false } param should fix your issue. I'll investigate that in next versions


fix(k8s): validate secret type is not nil EE-1511

It looks like we're going to deal with this in a different way :)


[python] Change name to_string to str and add repr

Change yaml_parser.py method to_string to magic method
__str__ make it more pythonic.
Add some tests to magic method __str__ and __repr__

PTAL @caishunfeng @songjianet thanks

PTAL @caishunfeng @songjianet thanks

Sorry! I don't know Python.

PTAL @caishunfeng @songjianet thanks

Sorry! I don't know Python.

hi @songjianet , I need +1 approval here, @devosend already reviewed and approved


Type operators in pattern synonym signature gives parse error

With the latest commits of hlint and haskell-src-exts, the following:
{-# LANGUAGE TypeOperators, PatternSynonyms, MultiParamTypeClasses #-}

class (>?) a b

pattern P :: a >? b => ()
pattern P <- ()

gives:
Error: Parse error: =>
Found:
    class (>?) a b

  > pattern P :: a >? b => ()
    pattern P <- ()

1 hint

It appears that it is not caused by TypeOperators, but infix operators in general. The following also gives a parse error:
{-# LANGUAGE PatternSynonyms, MultiParamTypeClasses #-}

class F a b

pattern P :: a `F` b => ()
pattern P <- ()

Thanks for the report. This is an issue in the haskell-src-exts library, so I've raised it for them: https://github.com/haskell-suite/haskell-src-exts/issues/323

Confirmed works with HEAD that doesn't use HSE for parsing, so fixed in the next release.


Envelopes need to be covered more in the Documentation

The documentation is very nice and makes mention of envelopes and how they ensure message data always comes with an expected format, but the examples never really showed this in practice. Additionally, while the structure of the envelopes is hinted at...

contains metadata about the message like the channel, topic, timestamp and any other data which might have been added by the sender

... it is never explicitly described.
I think this is potentially one of postal.js's strongest points and should be advertised more heavily. :)

@r4j4h Thanks so much for the feedback. I will try and take some time this week to update the docs to better explain envelopes :smile:

My pleasure. I am excited to see the what you come up with! =) And thank you for the quick response!

@r4j4h Banged some stuff out while on a road trip: https://github.com/postaljs/postal.js/wiki/Envelopes
If you get a sec, check that out and see if that is along the lines of what you were looking for.... thanks!

Wow, great job!! That is pretty much exactly what I was looking for! =)


How to contribute ?

Hi !
It would be wonderful to be able to run unit test with Camunda on JUnit 5 ! Would it be possible to contribute to this plugin ? Is there a roadmap or a plan to migrate from JUnit4 to Junit5 ?

Hi @clementdessoude,
as this is open source under Apache 2.0 license, you can contribute and I like to discuss your proposals. Just create one or more pull requests to this repo.
The plan is to publish this repo as soon as possible to maven central and make it available for every developer and encourage them to write JUnit test with the latest available JUnit version.
There is no plan to migrate from JUnit4 to Junit5 as both versions can be used in a project.
Hope this helps, Ingo

Hi Ingo,
Any info when it will be available in the central repos? We'd like to use it in our project but the dependency has not yet popped up anywhere.
Thanks
Stefan

Hi @itsmestefanjay,
the initial version1.0.0 is now available on maven central.
I'm happy about any feedback.
Cheers, Ingo

Hi @ingorichtsmeier !
Thank you for the release! I tried yesterday evening and it seems working fine, great job!
I'll provide more feedback if I see anything wrong or strange ;)
Thank you once again!


Fix #114 - Adjusting  heatmap labels to avoid clipping

Hope this helps! Thanks for guiding me through!

Looks great! Thanks again for the help.

👍 That was fun! I'll keep an eye out for other things I can tick off your milestone list. All the best.


Implement events.js

Basically Removed the gif commands for now, will probably place them in their own file.
Fixed the spacing issues {Tested with: c9, atom, js-beautifer and notepad++ and user: Silveee }
Squashed a bit. I think?

no, this isn't squashed
also i havent looked at anything else with this yet

I don't think this PR is needed, people generally like to make their own declare for various events that they run anyway, and this script isn't really customizable enough to keep that uniqueness up.  Plus, global declaring isn't hard that it needs all of this to ultimately do that for them...