mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 00:19:58 +01:00
Force disable build time Python pyc generation.
When switching some remaining `native.py_` usages to the one loaded from rules_python, some action conflicts occur. As a short term solution, disable precompiling to avoid those action conflicts. PiperOrigin-RevId: 755989315
This commit is contained in:
parent
df32d2f2c7
commit
75e87d6df2
14
.bazelrc
14
.bazelrc
|
|
@ -125,6 +125,10 @@ build --config=short_logs
|
|||
# TODO(mihaimaruseac): Document this option or remove if no longer needed
|
||||
build --config=v2
|
||||
|
||||
# Precompiling results in some action conflicts. Disable it for now until
|
||||
# the problematic targets are fixed.
|
||||
build --@rules_python//python/config_settings:precompile=force_disabled
|
||||
|
||||
# TF now has `cc_shared_library` targets, so it needs the experimental flag
|
||||
# TODO(rostam): Remove when `cc_shared_library` is enabled by default
|
||||
common --experimental_cc_shared_library
|
||||
|
|
@ -251,17 +255,15 @@ build:mkl_threadpool --define=tensorflow_mkldnn_contraction_kernel=0
|
|||
build:mkl_threadpool --define=build_with_mkl_opensource=true
|
||||
build:mkl_threadpool -c opt
|
||||
|
||||
# Config setting to build oneDNN with Compute Library for the Arm Architecture (ACL).
|
||||
build:mkl_aarch64 --define=build_with_mkl_aarch64=true
|
||||
build:mkl_aarch64 --define=build_with_openmp=true
|
||||
build:mkl_aarch64 --define=build_with_acl=true
|
||||
build:mkl_aarch64 -c opt
|
||||
|
||||
# Config setting to build oneDNN with Compute Library for the Arm Architecture (ACL).
|
||||
# with Eigen threadpool support
|
||||
build:mkl_aarch64_threadpool --define=build_with_mkl_aarch64=true
|
||||
build:mkl_aarch64_threadpool --define=build_with_acl=true
|
||||
build:mkl_aarch64_threadpool -c opt
|
||||
|
||||
# This is an alias for the mkl_aarch64_threadpool build.
|
||||
build:mkl_aarch64 --config=mkl_aarch64_threadpool
|
||||
|
||||
# Default CUDA and CUDNN versions.
|
||||
build:cuda_version --repo_env=HERMETIC_CUDA_VERSION="12.5.1"
|
||||
build:cuda_version --repo_env=HERMETIC_CUDNN_VERSION="9.3.0"
|
||||
|
|
|
|||
4
third_party/xla/tensorflow.bazelrc
vendored
4
third_party/xla/tensorflow.bazelrc
vendored
|
|
@ -86,6 +86,10 @@ build --enable_platform_specific_config
|
|||
# TODO(mihaimaruseac): Document this option or remove if no longer needed
|
||||
build --config=short_logs
|
||||
|
||||
# Precompiling results in some action conflicts. Disable it for now until
|
||||
# the problematic targets are fixed.
|
||||
build --@rules_python//python/config_settings:precompile=force_disabled
|
||||
|
||||
# TF now has `cc_shared_library` targets, so it needs the experimental flag
|
||||
# TODO(rostam): Remove when `cc_shared_library` is enabled by default
|
||||
common --experimental_cc_shared_library
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user