adonnini
adonnini
@kirklandsign I apologize in advance for the (very) long message. Please read it to the end. I tried running setup.sh from both the LlamaDemo and ExecutorchDemo directories. They both failed....
@kirklandsign thanks for the quick response. All set wrt exeuctorch.aar The .aar I downloaded with the workaround I used is the correct one. Thanks for confirming that. Now, it's a...
@guangy10 Sorry!! Here is the output. Please let me know if I messed up again. Thanks Please let me know if you need additional information to resolve the ``NoSuchMethodError``` ```...
@kirklandsign ```0117e35fce58f5e4f8edebc231450d33704829e60fa021cea8dc8418e437a292 executorch.aar``` of the executorch.aar I downloaded My dependencies ``` implementation 'com.facebook.fbjni:fbjni-java-only:0.2.2' implementation 'com.facebook.soloader:nativeloader:0.10.5' implementation files('../libs/executorch.aar') ``` I will change the dependencies to match yours and change the executorch.aar...
@kirklandsign I changed the dependencies and downloaded the aar using the instructions in https://pytorch.org/executorch/0.5/android-prebuilt-library.html#using-prebuilt-libraries I have no way to verify the SHA of the aar I downloaded using the instructions...
@kirklandsign I did some more digging. The ExecuTorchDemo android application builds successfully. No ```Cannot resolve method 'toTensor' in 'EValue'``` error. The executorch dependencies in the build.gradle files of my application...
@kirklandsign Thanks! My set-up is lthe same as the benchmark application, with regards to Executorch. Unfortunately, no change. I'll look and see whether it is an analysis error or a...
@kirklandsign When I right click on EValue in my code to select a method, toTensor is not in the list of available methods. When I extract EValue.class from the aar,...
@kirklandsign Not surprisingly execution failed. You will find the error log below. I think failure occurred because ```forward(EValue.from(arrDataPytorch))[0]``` is ```null``` I know that ```EValue.from(arrDataPytorch)``` is not empty Could you please...
@kirklandsign I do have ```mModule.forward(EValue.from(arrDataPytorch))[0].toTensor();``` in my code. Here is the code fragment: which should contain the answers to all your questions above: ``` tmpData = new float[neuralNetworkUserLocationsInsideEstimationRadius.size()][6]; float[] flat...