Fix flax failures (#33912)

* Few fixes here and there

* Remove typos

* Remove typos
This commit is contained in:
Lysandre Debut
2024-10-11 14:38:35 +02:00
committed by GitHub
parent e878eaa9fc
commit f052e94bcc
5 changed files with 40 additions and 20 deletions

View File

@@ -27,7 +27,7 @@ ExecuTorch introduces well defined entry points to perform model, device, and/or
An integration point is being developed to ensure that 🤗 Transformers can be exported using `torch.export`. The goal of this integration is not only to enable export but also to ensure that the exported artifact can be further lowered and optimized to run efficiently in `ExecuTorch`, particularly for mobile and edge use cases.
[[autodoc]] integrations.executorch.TorchExportableModuleWithStaticCache
[[autodoc]] TorchExportableModuleWithStaticCache
- forward
[[autodoc]] integrations.executorch.convert_and_export_with_cache
[[autodoc]] convert_and_export_with_cache

View File

@@ -45,17 +45,17 @@ like token streaming.
## GenerationMixin
[[autodoc]] generation.GenerationMixin
[[autodoc]] GenerationMixin
- generate
- compute_transition_scores
## TFGenerationMixin
[[autodoc]] generation.TFGenerationMixin
[[autodoc]] TFGenerationMixin
- generate
- compute_transition_scores
## FlaxGenerationMixin
[[autodoc]] generation.FlaxGenerationMixin
[[autodoc]] FlaxGenerationMixin
- generate