Skip to content

build from source code then reinstall tensorflow #775

Closed
@SmileTM

Description

@SmileTM

cuda 9.0
cudnn 7

I had installed tensorflow2.0-gpu that was bazeled from source code.
And tf.test.is_gpu_available() is true

Then I had changed configure.sh

if [[ "$TF_NEED_CUDA" == "1" ]]; then
    write_action_env_to_bazelrc "TF_NEED_CUDA" ${TF_NEED_CUDA}
    write_action_env_to_bazelrc "CUDNN_INSTALL_PATH" "${CUDNN_INSTALL_PATH:=/disk1/lx/cuda/lib64}"
    write_action_env_to_bazelrc "TF_CUDA_VERSION" "9.0"
    write_action_env_to_bazelrc "TF_CUDNN_VERSION" "7"
    write_action_env_to_bazelrc "CUDA_TOOLKIT_PATH" "${CUDA_HOME:=/disk1/lx/cuda}"

Then I run ./configure.sh , it will reinstall tf-nightly.
how to change this dependency ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions