AIうぉ--!(ai-wo-katsuyo-shitai !)

AIを上手く使ってみせたい!!自分なりに。

Additional Notes for Building jaxlib from source on Windows って、動きます?

号外!(2021/08/29追記)

この記事の後、8/29に成功

ai-de-seikei.hatenablog.com

Additional Notes for Building jaxlib from source on Windows

https://jax.readthedocs.io/en/latest/developer.html#type-checking

Additional Notes for Building jaxlib from source on Windows

って、動くの?

散々、トライした結果

ちょっと、ダメすぎるので、 バージョンとか書く気もしませんが。。。

(markdown都合で、以下、うまく表示できません。。。) ''' PS C:_jax_to_asobu\jax-main> python .\build\build.py

 _   _  __  __
| | / \ \ \/ /

_ | |/ _ \ \ / | || / \/ \ _// \//_\

Bazel binary path: C:_bazel\bazel.EXE Python binary path: C:/Python39/python.exe Python version: 3.9 NumPy version: 1.21.1 SciPy version: 1.7.1 MKL-DNN enabled: yes Target CPU: AMD64 Target CPU features: release CUDA enabled: no TPU enabled: no ROCm enabled: no

Building XLA and installing it in the jaxlib source tree... C:_bazel\bazel.EXE run --verbose_failures=true --config=short_logs --config=mkl_open_source_only :build_wheel -- --output_path=C:_jax_to_asobu\jax-main\dist --cpu=AMD64 WARNING: Option 'experimental_strict_action_env' is deprecated: Use --incompatible_strict_action_env instead INFO: Options provided by the client: Inherited 'common' options: --isatty=1 --terminal_columns=80 INFO: Reading rc options for 'run' from c:_jax_to_asobu\jax-main.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Options provided by the client: Inherited 'build' options: --python_path=C:/Python39/python.exe INFO: Reading rc options for 'run' from c:_jax_to_asobu\jax-main.bazelrc: Inherited 'build' options: --repo_env PYTHON_BIN_PATH=C:/Python39/python.exe --action_env=PYENV_ROOT --python_path=C:/Python39/python.exe --repo_env TF_NEED_CUDA=0 --action_env TF_CUDA_COMPUTE_CAPABILITIES=3.5,5.2,6.0,6.1,7.0 --repo_env TF_NEED_ROCM=0 --action_env TF_ROCM_AMDGPU_TARGETS=gfx803,gfx900,gfx906,gfx1010 -c opt --apple_platform_type=macos --macos_minimum_os=10.9 --announce_rc --define open_source_build=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_no_ares=true --spawn_strategy=standalone --strategy=Genrule=standalone --enable_platform_specific_config --distinct_host_configuration=false INFO: Found applicable config definition build:short_logs in file c:_jax_to_asobu\jax-main.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:mkl_open_source_only in file c:_jax_to_asobu\jax-main.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1 INFO: Found applicable config definition build:windows in file c:_jax_to_asobu\jax-main.bazelrc: --copt=/D_USE_MATH_DEFINES --host_copt=/D_USE_MATH_DEFINES --copt=-DWIN32_LEAN_AND_MEAN --host_copt=-DWIN32_LEAN_AND_MEAN --copt=-DNOGDI --host_copt=-DNOGDI --copt=/Zc:preprocessor --cxxopt=/std:c++14 --host_cxxopt=/std:c++14 --linkopt=/DEBUG --host_linkopt=/DEBUG --linkopt=/OPT:REF --host_linkopt=/OPT:REF --linkopt=/OPT:ICF --host_linkopt=/OPT:ICF --experimental_strict_action_env=true ERROR: Traceback (most recent call last): File "C:/users/sXYZZ/bazel_sXYZZ/fbhykzj2/external/build_bazel_rules_apple/apple/internal/testing/ios_rules.bzl", line 63, column 71, in ios_internal_ui_test_bundle = rule_factory.create_apple_bundling_rule( File "C:/users/sXYZZ/bazel_sXYZZ/fbhykzj2/external/build_bazel_rules_apple/apple/internal/rule_factory.bzl", line 955, column 55, in create_apple_bundling_rule rule_attrs.append(common_binary_linking_attrs(rule_descriptor)) File "C:/users/sXYZZ/bazel_sXYZZ/fbhykzj2/external/build_bazel_rules_apple/apple/internal/rule_factory.bzl", line 233, column 21, in common_binary_linking_attrs apple_common.objc_proto_aspect, Error: 'apple_common' value has no field or method 'objc_proto_aspect' INFO: Repository double_conversion instantiated at: C:/jax_to_asobu/jax-main/WORKSPACE:31:14: in C:/users/sXYZZ/bazel_sXYZZ/fbhykzj2/external/org_tensorflow/tensorflow/workspace2.bzl:1097:21: in workspace C:/users/sXYZZ/bazel_sXYZZ/fbhykzj2/external/org_tensorflow/tensorflow/workspace2.bzl:867:20: in tf_repositories C:/users/sXYZZ/bazel_sXYZZ/fbhykzj2/external/org_tensorflow/third_party/repo.bzl:113:21: in tf_http_archive Repository rule tf_http_archive defined at: C:/users/sXYZZ/bazel_sXYZZ/fbhykzj2/external/org_tensorflow/third_party/repo.bzl:66:35: in INFO: Repository 'double_conversion' used the following cache hits instead of downloading the corresponding file. * Hash '2f7fbffac0d98d201ad0586f686034371a6d152ca67508ab611adc2386ad30de' for https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/double-conversion/archive/3992066a95b823efc8ccc1baf82a1cfc73f6e9b8.zip If the definition of 'double_conversion' was updated, verify that the hashes were also updated. ERROR: C:/users/sXYZZ/bazel_sXYZZ/fbhykzj2/external/org_tensorflow/tensorflow/BUILD:863:11: error loading package '@com_github_grpc_grpc//': at C:/users/sXYZZ/bazel_sXYZZ/fbhykzj2/external/com_github_grpc_grpc/bazel/grpc_build_system.bzl:28:6: at C:/users/sXYZZ/_bazel_sXYZZ/fbhykzj2/external/build_bazel_rules_apple/apple/ios.bzl:22:5: initialization of module 'apple/internal/testing/ios_rules.bzl' failed and referenced by '@org_tensorflow//tensorflow:grpc++'

'''

コメント

成功した方って、いてるんですかね。。。(英語のサイトでは、楽勝的な記事もありますが。。。)

リンク(本人)

その後成功した