Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions _doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def linkcode_resolve(domain, info):
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
"sklearn": ("https://scikit-learn.org/stable/", None),
"skl2onnx": ("https://onnx.ai/sklearn-onnx/", None),
"torch": ("https://pytorch.org/docs/main/", None),
"torch": ("https://docs.pytorch.org/docs/stable/", None),
# Not a sphinx documentation
# "transformers": ("https://huggingface.co/docs/transformers/index", None),
}
Expand Down Expand Up @@ -208,7 +208,7 @@ def linkcode_resolve(domain, info):
epkg_dictionary = {
"aten functions": "https://pytorch.org/cppdocs/api/namespace_at.html#functions",
"azure pipeline": "https://azure.microsoft.com/en-us/products/devops/pipelines",
"Custom Backends": "https://pytorch.org/docs/stable/torch.compiler_custom_backends.html",
"Custom Backends": "https://docs.pytorch.org/docs/stable/torch.compiler_custom_backends.html",
"diffusers": "https://github.com/huggingface/diffusers",
"DOT": "https://graphviz.org/doc/info/lang.html",
"executorch": "https://pytorch.org/executorch/stable/intro-overview.html",
Expand All @@ -218,8 +218,8 @@ def linkcode_resolve(domain, info):
"experimental-experiment": "https://sdpython.github.io/doc/experimental-experiment/dev/",
"JIT": "https://en.wikipedia.org/wiki/Just-in-time_compilation",
"FunctionProto": "https://onnx.ai/onnx/api/classes.html#functionproto",
"graph break": "https://pytorch.org/docs/stable/torch.compiler_faq.html#graph-breaks",
"GraphModule": "https://pytorch.org/docs/stable/fx.html#torch.fx.GraphModule",
"graph break": "https://docs.pytorch.org/docs/stable/torch.compiler_faq.html#graph-breaks",
"GraphModule": "https://docs.pytorch.org/docs/stable/fx.html#torch.fx.GraphModule",
"HuggingFace": "https://huggingface.co/docs/hub/en/index",
"huggingface_hub": "https://github.com/huggingface/huggingface_hub",
"Linux": "https://www.linux.org/",
Expand All @@ -232,7 +232,7 @@ def linkcode_resolve(domain, info):
"onnx.helper": "https://onnx.ai/onnx/api/helper.html",
"ONNX": "https://onnx.ai/",
"ONNX Operators": "https://onnx.ai/onnx/operators/",
"onnxrt backend": "https://pytorch.org/docs/stable/onnx_dynamo_onnxruntime_backend.html",
"onnxrt backend": "https://docs.pytorch.org/docs/stable/onnx_dynamo_onnxruntime_backend.html",
"onnxruntime": "https://onnxruntime.ai/",
"onnxruntime-training": "https://onnxruntime.ai/docs/get-started/training-on-device.html",
"onnxruntime kernels": "https://onnxruntime.ai/docs/reference/operators/OperatorKernels.html",
Expand All @@ -257,12 +257,12 @@ def linkcode_resolve(domain, info):
"Supported Operators and Data Types": "https://github.com/microsoft/onnxruntime/blob/main/docs/OperatorKernels.md",
"sympy": "https://www.sympy.org/en/index.html",
"timm": "https://github.com/huggingface/pytorch-image-models",
"torch": "https://pytorch.org/docs/stable/torch.html",
"torch": "https://docs.pytorch.org/docs/stable/torch.html",
"torchbench": "https://github.com/pytorch/benchmark",
"torch.compile": "https://pytorch.org/tutorials/intermediate/torch_compile_tutorial.html",
"torch.compiler": "https://pytorch.org/docs/stable/torch.compiler.html",
"torch.export.export": "https://pytorch.org/docs/stable/export.html#torch.export.export",
"torch.onnx": "https://pytorch.org/docs/stable/onnx.html",
"torch.compiler": "https://docs.pytorch.org/docs/stable/torch.compiler.html",
"torch.export.export": "https://docs.pytorch.org/docs/stable/export.html#torch.export.export",
"torch.onnx": "https://docs.pytorch.org/docs/stable/onnx.html",
"transformers": "https://huggingface.co/docs/transformers/en/index",
"vocos": "https://github.com/gemelo-ai/vocos",
"Windows": "https://www.microsoft.com/windows",
Expand Down
2 changes: 1 addition & 1 deletion _doc/examples/plot_export_tiny_llm_patched.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
to non-tensor type <class 'transformers.cache_utils.DynamicCache'>
at `inputs['past_key_values']` (expected None)
For more information about this error,
see: https://pytorch.org/docs/main/generated/exportdb/index.html#dynamic-shapes-validation
see: https://docs.pytorch.org/docs/stable/generated/exportdb/index.html#dynamic-shapes-validation

With ``transformers==4.50``, it shows the following:

Expand Down
Loading