science/py-tensorflow 2.21.0_4 FreeBSD
Computation using data flow graphs for scalable machine learning
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
e19ad3bbab- License
- APACHE20
- Categories
- science, python
Description
TensorFlow is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. The flexible architecture allows you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API. TensorFlow was originally developed by researchers and engineers working on the Google Brain Team within Google's Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research, but the system is general enough to be applicable in a wide variety of other domains as well.
Install
Binary package:
pkg install py312-tensorflow
From the ports tree:
cd /usr/ports/science/py-tensorflow/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-tensorflow>0:science/py-tensorflow
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 2.21.0_4 | - | - | - |
| FreeBSD:14:quarterly | - | 2.21.0_4 | n/a | - | - |
| FreeBSD:15:latest | - | 2.21.0_4 | n/a | - | - |
| FreeBSD:15:quarterly | - | 2.21.0_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 2.21.0_4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 10
${PYTHON_PKGNAMEPREFIX}grpcio-tools>=1.22.0: devel/py-grpcio-tools${PYTHON_PKGNAMEPREFIX}numpy>=1.22.0: math/py-numpy${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheelbash: shells/bashbazel: devel/bazel7git: devel/gitpatchelf: sysutils/patchelfpybind11>=2.6.2: devel/pybind11swig: devel/swigxxd: sysutils/xxd
Library 11
libpng.so: graphics/pnglibsnappy.so: archivers/snappylibabsl_base.so: devel/abseillibsqlite3.so: databases/sqlite3libicuio.so: devel/iculibjsoncpp.so: devel/jsoncpplibprotobuf.so: devel/protobuflibgif.so: graphics/gifliblibcurl.so: ftp/curllibre2.so: devel/re2libhwloc.so: devel/hwloc2
Runtime 18
pybind11>=2.6.2: devel/pybind11${PYTHON_PKGNAMEPREFIX}absl-py>=2.0.0: devel/py-absl-py${PYTHON_PKGNAMEPREFIX}astunparse>=1.6.0: devel/py-astunparse${PYTHON_PKGNAMEPREFIX}flatbuffers>=25.9.23: devel/py-flatbuffers${PYTHON_PKGNAMEPREFIX}gast>=0.2.1: devel/py-gast${PYTHON_PKGNAMEPREFIX}google-pasta>=0.1.1: devel/py-google-pasta${PYTHON_PKGNAMEPREFIX}h5py>=2.9.0: science/py-h5py${PYTHON_PKGNAMEPREFIX}numpy>=1.22.0: math/py-numpy${PYTHON_PKGNAMEPREFIX}packaging>=21.3: devel/py-packaging${PYTHON_PKGNAMEPREFIX}requests>=2.21.0: www/py-requests${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.3: devel/py-protobuf${PYTHON_PKGNAMEPREFIX}six>=1.12.0: devel/py-six${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0: devel/py-termcolor${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.6: devel/py-typing-extensions${PYTHON_PKGNAMEPREFIX}wrapt>=1.11.0: devel/py-wrapt${PYTHON_PKGNAMEPREFIX}grpcio>=1.24.3: devel/py-grpcio${PYTHON_PKGNAMEPREFIX}ml-dtypes>=0.3.1: math/py-ml-dtypes${PYTHON_PKGNAMEPREFIX}opt-einsum>=3.3.0: math/py-opt-einsum
The full lists below include those, and their dependencies in turn.
Build dependencies 97
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/snappy
- archivers/zstd
- audio/alsa-lib
- converters/libiconv
- databases/sqlite3
- devel/abseil
- devel/bazel7
- devel/binutils
- devel/gettext-runtime
- devel/git
- devel/glib20
- devel/hwloc2
- devel/icu
- devel/jsoncpp
- devel/level-zero
- devel/libedit
- devel/libffi
- devel/libinotify
- devel/libpciaccess
- devel/libunistring
- devel/pcre2
- devel/protobuf
- devel/py-grpcio
- devel/py-grpcio-tools
- devel/py-packaging
- devel/py-protobuf
- devel/py-setuptools
- devel/py-six
- devel/py-wheel
- devel/pybind11
- devel/re2
- devel/readline
- devel/swig
- dns/c-ares
- dns/libidn2
- dns/libpsl
- ftp/curl
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/png
- graphics/tiff
- java/javavmwrapper
- java/openjdk21
- lang/cython
- lang/gcc14
- lang/perl5.42
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- misc/hwdata
- print/freetype2
- print/harfbuzz
- print/indexinfo
- security/libssh2
- shells/bash
- sysutils/patchelf
- sysutils/xxd
- textproc/expat2
- textproc/libxml2
- www/libnghttp2
- x11-fonts/dejavu
- x11-fonts/encodings
- x11-fonts/font-bh-ttf
- x11-fonts/font-misc-ethiopic
- x11-fonts/font-misc-meltho
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-fonts/xorg-fonts-truetype
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXtst
- x11/libxcb
- x11/xorgproto
Run dependencies 106
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/snappy
- archivers/zstd
- audio/alsa-lib
- converters/libiconv
- databases/sqlite3
- devel/abseil
- devel/binutils
- devel/gettext-runtime
- devel/glib20
- devel/hwloc2
- devel/icu
- devel/jsoncpp
- devel/level-zero
- devel/libedit
- devel/libffi
- devel/libinotify
- devel/libpciaccess
- devel/libunistring
- devel/pcre2
- devel/protobuf
- devel/py-absl-py
- devel/py-astunparse
- devel/py-flatbuffers
- devel/py-gast
- devel/py-google-pasta
- devel/py-grpcio
- devel/py-packaging
- devel/py-protobuf
- devel/py-six
- devel/py-termcolor
- devel/py-typing-extensions
- devel/py-wheel
- devel/py-wrapt
- devel/pybind11
- devel/re2
- devel/readline
- dns/c-ares
- dns/libidn2
- dns/libpsl
- dns/py-idna
- ftp/curl
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/png
- graphics/tiff
- java/javavmwrapper
- java/openjdk21
- lang/gcc14
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-ml-dtypes
- math/py-numpy
- math/py-opt-einsum
- misc/hwdata
- net/py-pysocks
- net/py-urllib3
- print/freetype2
- print/harfbuzz
- print/indexinfo
- science/hdf5
- science/libaec
- science/py-h5py
- security/libssh2
- security/py-certifi
- textproc/expat2
- textproc/libxml2
- textproc/py-charset-normalizer
- www/libnghttp2
- www/py-requests
- x11-fonts/dejavu
- x11-fonts/encodings
- x11-fonts/font-bh-ttf
- x11-fonts/font-misc-ethiopic
- x11-fonts/font-misc-meltho
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-fonts/xorg-fonts-truetype
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
The first 100 are listed.
Configuration
Options name: science_tensorflow
| Option | Default | Description |
|---|---|---|
| CPU_OPTS | off | Enable optimisations using features available on your CPU |
| JOBS_1 | off | Run one job |
| JOBS_ALL | on | Run all jobs |
| JOBS_HALF | off | Run half jobs |
| XLA | off | Accelerated Linear Algebra |
- USES
- java jpeg perl5 python shebangfix ssl
- Service scripts
- none
Files
distinfo 93
| File | Size | SHA256 |
|---|---|---|
| tensorflow/platforms-0.0.11.tar.gz | 7882 | 29742e87275809b5e598dc2f04d86960cc7a55b3067d97221c9abbc9926bff0f |
| tensorflow/apple_support.1.24.5.tar.gz | 110555 | 1ae6fcf983cff3edab717636f91ad0efff2e5ba75607fdddddfd6ad0dbdfaf10 |
| tensorflow/bazel-skylib-1.7.1.tar.gz | 43566 | bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f |
| tensorflow/8c717f8258cd5f6c7a45b97d974292755852b658.tar.gz | 80728 | 294cdd859e57fcaf101d4301978c408c88683fbc46fbc1a3829da92afbea55fb |
| tensorflow/v0.1.1.zip | 14654 | cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806 |
| tensorflow/rules_apple.3.5.1.tar.gz | 2.404029e+06 | b4df908ec14868369021182ab191dbd1f40830c9b300650d5dc389e0b9266c8d |
| tensorflow/rules_swift.1.18.0.tar.gz | 255839 | bb01097c7c7a1407f8ad49a1a0b1960655cf823c26ad2782d0b7d15b323838e2 |
| tensorflow/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz | 464906 | 5b00383d08dd71f28503736db0500b6fb4dda47489ff5fc6bed42557c07c6ba9 |
| tensorflow/4.3.zip | 3.998031e+06 | 6274687f6fc5783b589f56a2f1ed60de3ce1f99bc4e8f9edef3de43bdf7c6e74 |
| tensorflow/rules_pkg-0.7.1.tar.gz | 77334 | 451e08a4d78988c06fa3f9306ec813b836b1d076d0f055595444ba4ff22b867f |
| tensorflow/0.7.1.tar.gz | 215296 | bcd0c5f46a49b85b384906daae41d277b3dc0ff27c7c752cc51e43048a58ec83 |
| tensorflow/rules_java-7.6.1.tar.gz | 27308 | f8ae9ed3887df02f40de9f4f7ac3873e6dd7a471f9cddf63952538b94b59aeb3 |
| tensorflow/rules_license-0.0.7.tar.gz | 31476 | 4531deccb913639c30e5c7512a054d5d875698daeb75d8cf90f284375fe7c360 |
| tensorflow/bazel_features-v1.25.0.tar.gz | 16266 | 4fd9922d464686820ffd8fcefa28ccffa147f7cdc6b6ac0d8b07fde565c65d66 |
| tensorflow/rules_shell-v0.4.1.tar.gz | 22017 | bc61ef94facc78e20a645726f64756e5e285a045037c7a61f65af2941f4c25e1 |
| tensorflow/d8cb9c2c168cd64000eaa6eda0781a9615a26ffe.tar.gz | 159079 | 54c1a357f71f611efdb4891ebd4bcbe4aeb6dfa7e473f14fd7ecad5062096616 |
| tensorflow/f7547e29ccaed7b64ef4f7495ecfff1c9f6f3d03.tar.gz | 204856 | 552ca3d4d1af4beeb1907980f7096315aa24150d6baf5ac1e5ad90f04846c670 |
| tensorflow/0d859a811870d10f53a594927d0d0b97573ad06d.tar.gz | 467251 | 18392cf0736e1d62ecbb8d695c31496b6507859e8c75541d7ad0ba092dc52115 |
| tensorflow/16e8662c34917be0065110bfcd9cc27d30f52fdf.zip | 940836 | 7dc418717c8456473fac4ff2288b71057e3dcb72894524c734a4362cdb51fa8b |
| tensorflow/c13d28517a4db259d738ea4886b1f00352a3cc33.tar.gz | 160745 | c0e2b9931fbcce3bfbcd7999c3c114f404ac0f8b89775a5bbccbcaa501868e58 |
Master sites 91
- https://github.com/bazelbuild/platforms/releases/download/0.0.11/:platforms
- https://github.com/bazelbuild/apple_support/releases/download/1.24.5/:apple
- https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/:skylib
- https://github.com/bazelbuild/bazel-toolchains/archive/:toolchain
- https://github.com/bazelbuild/rules_android/archive/:buildrules
- https://github.com/bazelbuild/rules_apple/releases/download/3.5.1/:applerules
- https://github.com/bazelbuild/rules_swift/releases/download/1.18.0/:swift
- https://github.com/bazelbuild/rules_closure/archive/:closure
- https://github.com/bazelbuild/rules_jvm_external/archive/:jvm
- https://github.com/bazelbuild/rules_pkg/releases/download/0.7.1/:pkg
- https://github.com/bazel-contrib/rules_foreign_cc/archive/:foreign_cc
- https://github.com/bazelbuild/rules_java/releases/download/7.6.1/:rules_java
- https://github.com/bazelbuild/rules_license/releases/download/0.0.7/:rlic
- https://github.com/bazel-contrib/bazel_features/releases/download/v1.25.0/:bfeatures
- https://github.com/bazelbuild/rules_shell/releases/download/v0.4.1/:rshell
- https://github.com/google-ml-infra/rules_ml_toolchain/archive/:mlchain
- https://github.com/google/benchmark/archive/:benchmark
- https://github.com/google/farmhash/archive/:farmhash
- https://github.com/google/gemmlowp/archive/:gemmlowp
- https://github.com/google/highwayhash/archive/:highwayhash
- https://github.com/google/re2/archive/:re2
- https://github.com/google/ruy/archive/:ruy
- https://github.com/joe-kuo/sobol_data/archive/:sobol
- https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.1/:llvmorg
- https://github.com/mborgerding/kissfft/archive/refs/tags/:kiss
- https://github.com/oneapi-src/oneDNN/archive/refs/tags/:onednn
- https://github.com/openxla/stablehlo/archive/:openxla
- https://github.com/petewarden/OouraFFT/archive/:ooura
- https://github.com/pybind/pybind11_abseil/archive/:pybindabseil
- https://github.com/pybind/pybind11_bazel/archive/:pybindbazel
- https://github.com/pybind/pybind11_protobuf/archive/:pybindprotobuf
- https://github.com/pytorch/cpuinfo/archive/:cpuinfo
- https://github.com/tensorflow/runtime/archive/:runtime
- https://gitlab.com/libeigen/eigen/-/archive/dcbaf2d608f306450f1e74949eb87e9a22a7ef4b/:eigen
- https://github.com/google/XNNPACK/archive/:xnnpack
- https://github.com/Maratyszcza/pthreadpool/archive/:pthread
- https://github.com/Maratyszcza/FP16/archive/:fp16
- https://github.com/Maratyszcza/FXdiv/archive/:fxdiv
- https://github.com/llvm/llvm-project/archive/:llvm
- https://github.com/googleapis/googleapis/archive/:apis
- https://github.com/google/flatbuffers/archive/refs/tags/:flatbuffer
- https://github.com/intel/ARM_NEON_2_x86_SSE/archive/:neon
- https://github.com/wjakob/nanobind/archive/refs/tags/:nanobind
- https://github.com/dmlc/dlpack/archive/refs/tags/:dlpack
- https://github.com/abseil/abseil-cpp/archive/:absl
- https://github.com/bazelbuild/rules_proto/archive/:protolib
- https://github.com/ARM-software/kleidiai/archive/:kleidiai
- https://github.com/nlohmann/json/archive/:nlohmann
- https://github.com/protocolbuffers/upb/archive/:upb
- https://github.com/google/riegeli/archive/:riegeli
- https://github.com/facebook/zstd/archive/:net_zstd
- https://github.com/bazelbuild/rules_go/releases/download/v0.34.0/:rules_go
- https://github.com/bazelbuild/rules_python/releases/download/1.6.0/:rules_python
- https://github.com/bazelbuild/rules_cc/archive/refs/tags/:rules_cc
- https://github.com/protocolbuffers/protobuf/archive/refs/tags/:protobuf6
- https://github.com/abseil/abseil-py/archive/refs/tags/:absl_py
- https://gitlab.mpcdf.mpg.de/mtr/ducc/-/archive/aa46a4c21e440b3d416c16eca3c96df19c74f316/:ducc
- https://github.com/jax-ml/ml_dtypes/archive/00d98cd92ade342fef589c0470379abb27baebe9/:ml_dtypes
- https://github.com/google/brotli/archive/refs/tags/:brotli_new
- https://github.com/libjxl/libjxl/archive/refs/tags/:libjxl
- https://storage.googleapis.com/mirror.tensorflow.org/github.com/openxla/xprof/archive/:xprof
- https://github.com/google/highway/archive/refs/tags/:highway
- https://github.com/google/skcms/archive/refs/tags/:skcms
- https://github.com/webmproject/libwebp/archive/:libwebp
- https://github.com/dsharlet/slinky/archive/:slinky
- https://github.com/Tessil/robin-map/archive/refs/tags/:robin_map
- https://github.com/openxla/shardy/archive/:shardy
- https://developer.download.nvidia.com/compute/redist/nvshmem/3.1.7/source/:nvshmem
- https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/:clang18
- https://storage.googleapis.com/ml-sysroot-testing/x86_64/:gcc_sysroot
- https://github.com/astral-sh/python-build-standalone/releases/download/20250808/:cpython311
- https://storage.googleapis.com/ml-sysroot-testing/libtinfo/:libtinfo
- https://storage.googleapis.com/ml-sysroot-testing/libtinfo/:libtinfo_cp
- https://github.com/grpc/grpc/archive/refs/tags/:grpc_src
- https://github.com/google/googletest/archive/:googletest_src
- https://github.com/envoyproxy/data-plane-api/archive/:envoy_api_src
- https://github.com/bufbuild/protoc-gen-validate/archive/refs/tags/:protoc_gen_validate_src
- https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.37.0/:bazel_gazelle_src
- https://github.com/bazelbuild/rules_java/releases/download/8.7.0/:rules_java_870
- https://github.com/bazelbuild/rules_proto/archive/refs/tags/:rules_proto_702
- https://github.com/googleapis/google-cloud-cpp/archive/refs/tags/:google_cloud_cpp_src
- https://github.com/grailbio/bazel-compilation-database/archive/:bazel_compdb_src
- https://github.com/c-ares/c-ares/archive/:c_ares_src
- https://github.com/cncf/xds/archive/:cncf_xds_src
- https://github.com/google/libprotobuf-mutator/archive/:libprotobuf_mutator_src
- https://github.com/census-instrumentation/opencensus-cpp/archive/:opencensus_cpp_src
- https://github.com/open-telemetry/opentelemetry-cpp/archive/:opentelemetry_cpp_src
- https://github.com/census-instrumentation/opencensus-proto/archive/refs/tags/:opencensus_proto_src
- https://github.com/bazelbuild/rules_cc/releases/download/0.0.17/:rules_cc_017
- https://github.com/bazelbuild/rules_shell/releases/download/v0.3.0/:rules_shell_030
- https://github.com/jbeder/yaml-cpp/archive/refs/tags/:yaml_cpp_src