8000 Building the pip package on Windows · Issue #23078 · tensorflow/tensorflow · GitHub
[go: up one dir, main page]

Skip to content
Building the pip package on Windows #23078
@majo451

Description

@majo451

Hi,

I'm trying to build tensorflow from source. I managed to successfully finish the bazel build step (CPU-only), but when I run the command

bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package

what happens is that the build_pip_package process spawns itself and the bash process multiple times (like a 1000 times) and the whole process ends with an out of memory error. Here's the output of the command:

bazel-bin\tensorflow\tools\pip_package\build_pip_package .\tfbuild
/usr/bin/bash: warning: shell level (1000) too high, resetting to 1
LAUNCHER ERROR: Cannot launch process: "C:/msys64/usr/bin/bash.exe
Reason: (error: 8): Not enough memory resources are available to process this command.

Is there a way to limit the number of spawned processes? I cannot find any help online.

Update:
Have I written custom code: NO
OS Platform and Distribution: Windows 10
TensorFlow installed from: N/A
TensorFlow version: latest sources
Bazel version: 0.18.0 x64 (2018-10-15)
CUDA/cuDNN version: N/A
GPU model and memory: Intel HD graphics
Exact command to reproduce: bazel-bin\tensorflow\tools\pip_package\build_pip_package .\tfbuild
Mobile device: NO

Thank You

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0