{"id":14958701,"url":"https://github.com/tensorflow/networking","last_synced_at":"2025-10-19T07:31:43.870Z","repository":{"id":46024841,"uuid":"156260539","full_name":"tensorflow/networking","owner":"tensorflow","description":"Enhanced networking support for TensorFlow. Maintained by SIG-networking.","archived":false,"fork":false,"pushed_at":"2021-11-19T11:31:02.000Z","size":454,"stargazers_count":98,"open_issues_count":14,"forks_count":37,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-01-29T10:35:32.020Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tensorflow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-05T18:01:01.000Z","updated_at":"2025-01-05T17:52:28.000Z","dependencies_parsed_at":"2022-08-28T10:23:23.982Z","dependency_job_id":null,"html_url":"https://github.com/tensorflow/networking","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorflow%2Fnetworking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorflow%2Fnetworking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorflow%2Fnetworking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorflow%2Fnetworking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tensorflow","download_url":"https://codeload.github.com/tensorflow/networking/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088510,"owners_count":19253567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:17:52.631Z","updated_at":"2025-10-19T07:31:38.501Z","avatar_url":"https://github.com/tensorflow.png","language":"C++","readme":"# TensorFlow Networking\n\n\nThis repository is for platform-specific networking extensions to core TensorFlow and related\nutilities (e.g. testing).\n\nThe design goal is to work towards separately compilable plugins, but initially we'll just be porting the\nnetworking related contrib directories since TensorFlow 2.0 will be dropping contrib.\n\n## Building\n\nCurrently support building GDR, VERBS, and MPI extensions:\n\n#### GDR\n\nUsing Bazel:\n\n```bash\nbazel build -c opt //tensorflow_networking/gdr:gdr_server_lib\n```\n\nUsing Docker:\n\n```bash\ndocker build -t tf_networking -f tensorflow_networking/gdr/Dockerfile .\n```\n\n#### VERBS\n\nUsing Bazel:\n\n```bash\nbazel build -c opt //tensorflow_networking/verbs:verbs_server_lib\n```\n\nUsing Docker:\n\n```bash\ndocker build -t tf_networking -f tensorflow_networking/verbs/Dockerfile .\n```\n\n####  MPI\n\n\nFor the MPI extensions the location to the MPI library has to be configured. The `configure` script is used to setup this configuration. The script will attempt to find the location of the `mpirun` binary and from there deduce the include and library paths. You can use the `MPI_HOME` environment variable if `mpirun` is not installed in your PATH or you want to use another base path for the MPI library. The configure script will create symbolic links inside the `third_party/mpi` folder to the relevant MPI header and library files. Furthermore the script will determine if your MPI installation is based on `OpenMPI` or on `MPICH` and sets this in the `.tf_networking_configure.bazelrc` file.\n\n#####  `grpc+mpi` extension\n\nUsing Bazel:\n\nBy manually answering the relevant configuration questions\n```bash\n./configure\nbazel build -c opt //tensorflow_networking/mpi:mpi_server_lib\n```\nor by preset answers to the configuration questions\n```bash\nMPI_HOME=\u003cpath to mpi folder root\u003e TF_NEED_MPI=1 ./configure\nbazel build -c opt //tensorflow_networking/mpi:mpi_server_lib\n```\n\nUsing Docker:\n\n```bash\ndocker build -t tf_networking -f tensorflow_networking/mpi/Dockerfile .\n```\n\n\n#####  `MPI collectives` extension\n\nUsing Bazel:\n\nBy manually answering the relevant configuration questions\n```bash\n./configure\nbazel build -c opt //tensorflow_networking/mpi_collectives:all\n```\n\nUsing Docker:\n\n```bash\ndocker build -t tf_networking -f tensorflow_networking/mpi_collectives/Dockerfile .\n```\n\n#####  `grpc+seastar` extension\n\nUsing Bazel:\n\n```bash\nbazel build -c opt --copt='-std=gnu++14' //tensorflow_networking:libtensorflow_networking.so\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorflow%2Fnetworking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftensorflow%2Fnetworking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorflow%2Fnetworking/lists"}