Skip to content

absl update required to slove MSVC compile error #61435

Closed

Description

@johnnkp

Issue type

Bug

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

source

TensorFlow version

2.13.0

Custom code

Yes

OS platform and distribution

Windows 10 22H2

Mobile device

No response

Python version

Anaconda 2023.07-1

Bazel version

6.3.0

GCC/compiler version

Visual Studio 2022 (build tools 14.36) + msys2-x86_64-20230718

CUDA/cuDNN version

CUDA 11.8 + CUDNN 8.6.0 + TensorRT 8.5.3

GPU model and memory

GTX 750 Ti 2GB

Current behavior?

Currently, MSVC address sanitizer isn't enabled during compilation and cause compilation error. abseil/abseil-cpp@2927340 (LTS Jan 2023 Patch 3) has fixed it. This update required developers to check if corresponding code is necessary to change.

Standalone code to reproduce the issue

1. download https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.13.0.zip and extract
2. comment out Windows CUDA build rejection code in configure.py
3. run `python configure.py` to configure Windows CUDA build
4. run `bazel build --config=opt --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package`

Relevant log output

error: "no_sanitize_address" is undefined

Activity

  1. added
    type:build/install
    subtype:windows
    TF 2.13
    and removed on Aug 1, 2023
  2. SuryanarayanaY commented on Aug 7, 2023

    @SuryanarayanaY
    Collaborator

    Hi @johnnkp ,

    Windows CUDA builds not officially supported for Tf>2.11 versions as per the attached source.

    We recommend to use WSL on windows to enable GPU builds. Thanks!

  3. added
    stat:awaiting response
    on Aug 7, 2023
  4. github-actions commented on Aug 15, 2023

    @github-actions

    This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.

  5. added
    stale
    on Aug 15, 2023
  6. 6 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

TF 2.13stalestat:awaiting responsesubtype:windowstype:build/install

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions