Karel Goderis

Results 57 comments of Karel Goderis

@Craigacp Building under Rosetta but using a TF build config file without the AVX instructions is not an option then ? I was not aware that it is pulling a...

@Craigacp Any pointer on how to get ONNX going, because the this what I get on the home page? LOL ![image](https://user-images.githubusercontent.com/5459062/140780869-9d55873e-7432-4526-8a78-fc1978b63aad.png) [Edit : I presume you did some cross-compiling to...

> Java is slow under Rosetta as it messes with the JIT. You could compile TF without AVX support under Rosetta, but it would probably be fairly slow, and at...

@saudet That did not work unfortunately. I am able to compile the Tensorflow repo (https://github.com/tensorflow/tensorflow/issues/52160#issuecomment-968173580), but then Tf-J fails with ``` [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project...

Update : Bumping Google's errorprone to 2.10.0 fixes this error

Update: Changing .bazelrc in tensorflow-core/tensorflow-core-api to ``` build --remote_cache=https://storage.googleapis.com/tensorflow-sigs-jvm build --remote_upload_local_results=false build --action_env PYTHON_BIN_PATH="/Users/kgoderis/miniforge3/bin/python3" build --action_env PYTHON_LIB_PATH="/Users/kgoderis/miniforge3/lib/python3.9/site-packages" build --python_path="/Users/kgoderis/miniforge3/bin/python3" build:opt --copt=-Wno-sign-compare build:opt --host_copt=-Wno-sign-compare test --flaky_test_attempts=3 test --test_size_filters=small,medium test:v1 --test_tag_filters=-benchmark-test,-no_oss,-gpu,-nomac,-no_mac,-oss_serial test:v1...

Some of you will be happy. I got the whole thing compiled, however I had to skip tests as it was failing on that part, and there were some warnings...

The build fails with Java 8 (arm64) ``` ERROR: /private/var/tmp/_bazel_root/6712ec151cb8fc337cc5082ff0f496e3/external/bazel_tools/tools/jdk/BUILD:346:14: Action external/bazel_tools/tools/jdk/platformclasspath.jar failed: (Exit 1): java failed: error executing command (cd /private/var/tmp/_bazel_root/6712ec151cb8fc337cc5082ff0f496e3/execroot/tensorflow_core_api && \ exec env - \ /Library/Java/JavaVirtualMachines/zulu-8-arm64.jdk/Contents/Home/bin/java -XX:+IgnoreUnrecognizedVMOptions...

> If it builds with 11 why do you need to build it with 8? It should produce Java 8 compatible jar files even when compiled on 11. Because I...

> TF-Java is compiled on 11 but targets 8, and so will produce class files which are compatible with Java 8. Ah... I was not aware of this. That means...