huggingface/optimum-habana
Easy and lightning fast training of 🤗 Transformers on Habana Gaudi processor (HPU)
https://skillcdn.ai/gh/huggingface/optimum-habanaConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
65a8255 - License
Apache-2.0 - Searchwords
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Documents
- Accelerating InferenceIntel Gaudi offers several possibilities to make inference faster.docs/source/usage_guides/accelerate_inference.mdx
- Accelerating TrainingGaudi offers several possibilities to make training faster. They are all compatible with each other and can be coupled with distributed training.docs/source/usage_guides/accelerate_training.mdx
- DeepSpeed for HPUsDeepSpeed enables you to fit and train larger models on HPUs thanks to various optimizations described in the ZeRO paper. In particular, you can use the two following ZeRO configurations that have be…docs/source/usage_guides/deepspeed.mdx
- Multi-node TrainingUsing several Gaudi servers to perform multi-node training can be done easily. This guide shows how to:docs/source/usage_guides/multi_node_training.mdx
- OverviewWelcome to the Optimum for Intel® Gaudi® AI Accelerator how-to guides!docs/source/usage_guides/overview.mdx
- Pretraining Transformers with Optimum for Intel GaudiPretraining a model from Transformers, like BERT, is as easy as fine-tuning it. The model should be instantiated from a configuration with .from_config and not from a pretrained checkpoint with .from…docs/source/usage_guides/pretraining.mdx
- QuantizationIntel® Gaudi® offers several possibilities to make inference faster. For examples of FP8 and UINT4 for Inference, see the text-generation example.docs/source/usage_guides/quantization.mdx
- Comparing HPU-Optimized `safe_softmax` with Native PyTorch `safe_softmax`This article demonstrates how to benchmark and compare the performance of the Habana Processing Unit (HPU)-optimized safe_softmax operation against the native PyTorch implementation. The provided Pyt…docs/source/usage_guides/safe_softmax.mdx
- Adapt a Transformers/Diffusers script to Intel Gaudi🤗 Optimum for Intel Gaudi features HPU-optimized support for many of the latest 🤗 Transformers and Diffusers models. To convert a script to use model optimized for a Gaudi device, simple adaptation…docs/source/usage_guides/script_adaptation.mdx
Skipped (13)
These manifests were not served. Fix them and push: the next commit is indexed again.
README.mdlink_missing40 links name no file of the repository (/examples, /examples/text-classification, /examples/question-answering, ...)docs/source/index.mdxlink_missing31 links name no file of the repository (/examples/text-classification, /examples/question-answering, /examples/language-modeling, ...)docs/source/package_reference/trainer.mdxlink_missinga link names no file of the repository (/examples)docs/source/quickstart.mdxlink_missing26 links name no file of the repository (/examples, /examples/text-generation, /examples/language-modeling, ...)docs/source/tutorials/distributed.mdxlink_missing6 links name no file of the repository (/examples, ../usage_guides/accelerate_training#fast-ddp, ../usage_guides/accelerate_training, ...)docs/source/tutorials/inference.mdxlink_missing3 links name no file of the repository ((/examples), ../usage_guides/accelerate_inference, /examples)docs/source/tutorials/overview.mdxlink_missing5 links name no file of the repository (./single_hpu, ./distributed, ./inference, ...)docs/source/tutorials/single_hpu.mdxlink_missing2 links name no file of the repository (../usage_guides/accelerate_training, ../usage_guides/pretraining)docs/source/tutorials/stable_diffusion.mdxlink_missing2 links name no file of the repository (../package_reference/gaudi_config, /examples/stable-diffusion)docs/source/usage_guides/multi_node_training.mdxlink_missing2 links name no file of the repository (/examples, /examples/language-modeling#gpt-2gpt-and-causal-language-modeling)docs/source/usage_guides/overview.mdxlink_missing7 links name no file of the repository (./script_adaptation, ./pretraining, ./accelerate_training, ...)docs/source/usage_guides/quantization.mdxlink_missinga link names no file of the repository (/examples/text-generation)docs/source/usage_guides/script_adaptation.mdxlink_missinga link names no file of the repository (../package_reference/gaudi_config)