Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.tensorflow: disable for python2.7 and 3.8+ #82868

Merged
merged 1 commit into from Mar 18, 2020

Conversation

jonringer
Copy link
Contributor

@jonringer jonringer commented Mar 18, 2020

Motivation for this change

tired of my machine taking up 10+ GB of ram, and 30mins to try and build for versions which aren't supported: https://pypi.org/project/tensorflow/1.15.2/#files

builder for '/nix/store/a58jmaxxjy9b9sfqjskq0xigl93dlmqp-tensorflow-1.15.2.drv' failed with exit code 37; last 10 log lines:
      Compiling .../core/kernels/matrix_logarithm_op.cc [for host]; 81s local
      Compiling tensorflow/core/kernels/svd_op_float.cc [for host]; 79s local
      Compiling .../core/kernels/svd_op_complex64.cc [for host]; 78s local
      Compiling .../core/kernels/svd_op_complex128.cc [for host]; 76s local
      Compiling .../core/kernels/matrix_exponential_op.cc [for host]; 74s local
      Compiling tensorflow/core/kernels/svd_op_double.cc [for host]; 57s local
      Compiling .../compiler/mlir/lite/ir/tfl_ops.cc [for host]; 50s local ...

  Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/build/output/server/jvm.out')
cannot build derivation '/nix/store/hlyighpyvm83cgnn7jzv52m2mw6mkbbw-python3.8-tensorflow-1.15.2.drv': 1 dependencies couldn't be built
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

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

Successfully merging this pull request may close these issues.

None yet

2 participants