号外!(2021/08/29追記)
この記事の後、8/29に成功
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
'''
コメント
成功した方って、いてるんですかね。。。(英語のサイトでは、楽勝的な記事もありますが。。。)