From 49928892d6491ff5a49c12cbc34695f6fa7ac0ed Mon Sep 17 00:00:00 2001 From: Sai-Suraj-27 Date: Mon, 29 Jul 2024 15:20:43 +0530 Subject: [PATCH] fix(docs): Fixed a link in docs (#32274) Fixed a link in docs. --- docs/source/en/perf_torch_compile.md | 2 +- docs/source/en/tf_xla.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/en/perf_torch_compile.md b/docs/source/en/perf_torch_compile.md index fb8027a9d5..acc424930b 100644 --- a/docs/source/en/perf_torch_compile.md +++ b/docs/source/en/perf_torch_compile.md @@ -98,7 +98,7 @@ Below you can find the list of the models we benchmarked. - [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) - [microsoft/beit-base-patch16-224-pt22k-ft22k](https://huggingface.co/microsoft/beit-base-patch16-224-pt22k-ft22k) - [facebook/convnext-large-224](https://huggingface.co/facebook/convnext-large-224) -- [microsoft/resnet-50](https://huggingface.co/) +- [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50) **Image Segmentation** - [nvidia/segformer-b0-finetuned-ade-512-512](https://huggingface.co/nvidia/segformer-b0-finetuned-ade-512-512) diff --git a/docs/source/en/tf_xla.md b/docs/source/en/tf_xla.md index 86ed1035fc..a585aec068 100644 --- a/docs/source/en/tf_xla.md +++ b/docs/source/en/tf_xla.md @@ -157,7 +157,7 @@ Execution time -- 79.0 ms Execution time -- 78.9 ms ``` -The first call to `xla_generate()` is time-consuming because of tracing, but the successive calls are orders of magnitude faster. Keep in mind that any change in the generation options at any point with trigger re-tracing and thus leading to slow-downs in the generation time. +The first call to `xla_generate()` is time-consuming because of tracing, but the successive calls are orders of magnitude faster. Keep in mind that any change in the generation options at any point will trigger re-tracing and thus leading to slow-downs in the generation time. We didn’t cover all the text generation options 🤗 Transformers provides in this document. We encourage you to read the documentation for advanced use cases. @@ -171,4 +171,4 @@ Here, we leave you with some additional resources if you want to delve deeper in * Recommended posts for learning more about XLA and TensorFlow graphs in general: * [XLA: Optimizing Compiler for Machine Learning](https://www.tensorflow.org/xla) * [Introduction to graphs and tf.function](https://www.tensorflow.org/guide/intro_to_graphs) - * [Better performance with tf.function](https://www.tensorflow.org/guide/function) \ No newline at end of file + * [Better performance with tf.function](https://www.tensorflow.org/guide/function)