Commit Graph

90 Commits

Author SHA1 Message Date
oyzh
f528aaff49 Adjust the build config to an existing value defined in .bazelrc 2025-01-10 20:47:59 -08:00
TensorFlower Gardener
e859e7c8da Merge pull request #78037 from ankur0904:fix-documentation
PiperOrigin-RevId: 688830164
2024-10-22 23:20:12 -07:00
Mihai Maruseac
48bb771678
Fix wording about unsupported images 2024-10-17 04:34:19 -07:00
Ankur Singh
b8dc3fe588
fix typo 2024-10-16 21:32:11 +05:30
A. Unique TensorFlower
9b5fa66dc6 Introduce hermetic CUDA in Google ML projects.
1) Hermetic CUDA rules allow building wheels with GPU support on a machine without GPUs, as well as running Bazel GPU tests on a machine with only GPUs and NVIDIA driver installed. When `--config=cuda` is provided in Bazel options, Bazel will download CUDA, CUDNN and NCCL redistributions in the cache, and use them during build and test phases.

    [Default location of CUNN redistributions](https://developer.download.nvidia.com/compute/cudnn/redist/)

    [Default location of CUDA redistributions](https://developer.download.nvidia.com/compute/cuda/redist/)

    [Default location of NCCL redistributions](https://pypi.org/project/nvidia-nccl-cu12/#history)

2) To include hermetic CUDA rules in your project, add the following in the WORKSPACE of the downstream project dependent on XLA.

   Note: use `@local_tsl` instead of `@tsl` in Tensorflow project.

   ```
   load(
      "@tsl//third_party/gpus/cuda/hermetic:cuda_json_init_repository.bzl",
      "cuda_json_init_repository",
   )

   cuda_json_init_repository()

   load(
      "@cuda_redist_json//:distributions.bzl",
      "CUDA_REDISTRIBUTIONS",
      "CUDNN_REDISTRIBUTIONS",
   )
   load(
      "@tsl//third_party/gpus/cuda/hermetic:cuda_redist_init_repositories.bzl",
      "cuda_redist_init_repositories",
      "cudnn_redist_init_repository",
   )

   cuda_redist_init_repositories(
      cuda_redistributions = CUDA_REDISTRIBUTIONS,
   )

   cudnn_redist_init_repository(
      cudnn_redistributions = CUDNN_REDISTRIBUTIONS,
   )

   load(
      "@tsl//third_party/gpus/cuda/hermetic:cuda_configure.bzl",
      "cuda_configure",
   )

   cuda_configure(name = "local_config_cuda")

   load(
      "@tsl//third_party/nccl/hermetic:nccl_redist_init_repository.bzl",
      "nccl_redist_init_repository",
   )

   nccl_redist_init_repository()

   load(
      "@tsl//third_party/nccl/hermetic:nccl_configure.bzl",
      "nccl_configure",
   )

   nccl_configure(name = "local_config_nccl")
   ```

PiperOrigin-RevId: 662981325
2024-08-14 11:47:44 -07:00
Abdulaziz Aloqeely
77db29d973
Update lifetime of a PR diagram image 2024-03-21 14:45:51 +03:00
Dr. Christoph Mittendorf
356bfe0f25
fixed typo
fixed typo ("untill")
2024-01-14 18:11:15 +01:00
TensorFlower Gardener
a3563726c2 Merge pull request #62074 from ArkadebMisra:feature-update-contributing-md
PiperOrigin-RevId: 572475692
2023-10-10 23:41:38 -07:00
ArkadebMisra
3711ad6481 Updating CONTRIBUTING.md. changing links to tensorflow devoloper docker file 2023-10-10 10:53:27 +05:30
Guakocius
6d1cc2e35a Fixed typos and grammatical errors 2023-09-27 15:40:39 +02:00
TensorFlower Gardener
19322711fd Merge pull request #61448 from tensorflow:sushreebarsa-patch-2
PiperOrigin-RevId: 553365736
2023-08-02 22:56:38 -07:00
sushreebarsa
93d0e13c1f
Minor typos were fixed
There were several typos present here in this document which have been fixed in this PR. Thank you!
2023-08-02 12:59:18 +05:30
Mihai Maruseac
ba9dd9a175 Fix formatting of the CONTRIBUTING.md section on PRs.
Compare with current output at 74aa493664/CONTRIBUTING.md (typical-pull-request-workflow--)

PiperOrigin-RevId: 521503128
2023-04-03 10:53:12 -07:00
Jie Fu
a9e5715c84 [Docs] CONTRIBUTING.md: Fix incorrect description of the single component unit test 2023-01-01 18:52:00 +08:00
TensorFlower Gardener
2413f50c30 Merge pull request #58103 from Abinashbunty:master
PiperOrigin-RevId: 482506052
2022-10-20 09:07:56 -07:00
Abinash Satapathy
5641d027fd
Update CONTRIBUTING.md
Reverted mermaid flowchart
2022-10-17 22:28:21 +02:00
Abinash Satapathy
46ca8ba59c
Update CONTRIBUTING.md
- Fixed typos
- Fixed broken links
2022-10-17 21:11:45 +02:00
Abinash Satapathy
bb9620a341
Update CONTRIBUTING.md
1. Included a mermaid flowchart for PR Workflow.
2. Fixed typos and broken links.
3. Organised the file with new layout for better readability.
2022-10-15 21:21:08 +02:00
TensorFlower Gardener
1f4f69cbc4 Merge pull request #57564 from tensorflow:ymodak-patch-1
PiperOrigin-RevId: 472772015
2022-09-07 11:45:35 -07:00
Yasir Modak
6043bdd8df
Update CONTRIBUTING.md 2022-09-06 10:24:35 -07:00
Yasir Modak
e8fdc8ccd6
Update CONTRIBUTING.md 2022-09-01 18:37:39 -07:00
Yasir Modak
2720e2d9ed
Update CONTRIBUTING.md 2022-08-31 12:32:37 -07:00
Jim
64f7076f2e fix typos in the CONTRIBUTING.md 2021-12-29 21:46:46 +08:00
TensorFlower Gardener
459af37781 Merge pull request #52546 from bhack:patch-19
PiperOrigin-RevId: 404902493
Change-Id: I19ac0d99c513cd90582d7d5322b3e3bd0370394d
2021-10-21 16:13:49 -07:00
bhack
4bdc2265d5
Use finally available test_filter 2021-10-19 20:10:41 +02:00
bhack
778fc6369f
Fix typo 2021-10-19 17:19:04 +02:00
bhack
a4cff40e63
Update CONTRIBUTING.md 2021-10-18 16:48:54 +02:00
bhack
06b10956e7
Small improvment and fix on bazel test flags 2021-10-18 16:47:15 +02:00
TensorFlower Gardener
d81f0eb0dd Merge pull request #52264 from bhack:patch-17
PiperOrigin-RevId: 401516209
Change-Id: If9436b5304d1b6232b776dcf0ed2812168ac309d
2021-10-07 08:20:48 -07:00
bhack
af288719e5
Separete sharding with note 2021-10-06 03:18:34 +02:00
bhack
c424da6e34
Fix typo on python version 2021-10-05 22:09:28 +02:00
bhack
568faee379
Add single/parametrized test run doc 2021-10-05 19:54:17 +02:00
Reed Wanderman-Milne
ac58229f34 Add documentation on the --config=dbg option.
Resolves https://github.com/tensorflow/tensorflow/issues/48919.

PiperOrigin-RevId: 380915403
Change-Id: I6b79f15226efcb13d10f05d0fbd0e8cf01c81583
2021-06-22 16:26:17 -07:00
Ashutosh Hathidara
b30a52e5bc Adding documentation for running doctests locally 2021-05-27 12:19:07 +05:30
TensorFlower Gardener
a51212388c Merge pull request #48150 from bhack:patch-9
PiperOrigin-RevId: 368019140
Change-Id: Ic7f1576aacd469b89afd92e066876818c0a55438
2021-04-12 09:32:11 -07:00
TensorFlower Gardener
62bc973964 Merge pull request #47796 from zenogantner:patch-3
PiperOrigin-RevId: 367432478
Change-Id: I98d38b33b4630df7e8d1cb8a7bfddf0ff09a4540
2021-04-08 08:21:07 -07:00
Mark Daoust
3d87d9e79b
Update CONTRIBUTING.md 2021-04-07 11:13:55 -07:00
bhack
0c644ff037
Add a reference to the API review practices 2021-03-29 19:27:02 +02:00
bhack
8262bce4a6
Add an example to test a single component 2021-03-29 14:30:59 +02:00
Zeno Gantner
68df9c2f84
make shorter links
Within the same file, no need to have the URL part.
2021-03-14 12:49:18 +01:00
Zeno Gantner
de946f18ef
grammar improvements
Add 3 missing "the".
2021-03-14 12:38:01 +01:00
Zeno Gantner
53c1d6c5e0
my changes => your changes
For consistency with the rest of the file's content.
2021-03-14 12:36:16 +01:00
Mihai Maruseac
7d1d373a13 PR #42501: Update CONTRIBUTING.md
Close #42527

Imported from GitHub PR https://github.com/tensorflow/tensorflow/pull/42501

Fixed typos
Copybara import of the project:

--
0dd22ba938 by Aniket Kumar Singh <aniketks321@gmail.com>:

Update CONTRIBUTING.md

Fixed typos

PiperOrigin-RevId: 327694861
Change-Id: I1b26624ffa041a02ff3d7a88bb3cc4e02993b836
2020-08-20 14:36:00 -07:00
TensorFlower Gardener
772923e1a3 Merge pull request #42501 from Aniketks29:first_branch
PiperOrigin-RevId: 327680445
Change-Id: Ibb560151ba5d047fa72886192d711e11bb97fa85
2020-08-20 13:10:21 -07:00
Aniket Kumar Singh
0dd22ba938 Update CONTRIBUTING.md
Fixed typos
2020-08-20 00:51:19 +05:30
Gunhan Gulsoy
6f9889054a Refer to the testing best practices guide from contribution guide
PiperOrigin-RevId: 302993272
Change-Id: Ie667bfa17f683dfb2e174d373e745f512f72124d
2020-03-25 16:19:40 -07:00
8bitmp3
597e58c1f7
Update to "TensorFlow has passed version 1.0" - CONTRIBUTING.md 2019-12-21 02:33:45 +00:00
8bitmp3
f5d995dcd0
Update CONTRIBUTING.md tensorflow/tensorflow 2019-12-20 23:40:09 +00:00
TensorFlower Gardener
d49a245d89 Merge pull request #33521 from tensorflow:rthadur-patch-1
PiperOrigin-RevId: 275559379
Change-Id: I02a582047eacbcfe3a3f84c8cc71cc3af39f233e
2019-10-18 16:00:02 -07:00
Rajeshwar Reddy T
9fbcea8563
Update CONTRIBUTING.md 2019-10-18 14:16:16 -07:00