mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-06 06:10:04 +06:00
25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
<!--Copyright 2022 The HuggingFace Team. All rights reserved.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
|
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
-->
|
|
|
|
# Inferenza Efficiente su GPU Multiple
|
|
|
|
Questo documento contiene informazioni su come fare inferenza in maniera efficiente su GPU multiple.
|
|
|
|
<Tip>
|
|
|
|
Nota: Un setup con GPU multiple può utilizzare la maggior parte delle strategie descritte nella [sezione con GPU singola](./perf_infer_gpu_one). Tuttavia, è necessario conoscere delle tecniche semplici che possono essere utilizzate per un risultato migliore.
|
|
|
|
</Tip>
|
|
|
|
## `BetterTransformer` per inferenza più rapida
|
|
|
|
Abbiamo recentemente integrato `BetterTransformer` per inferenza più rapida su multi-GPU per modelli su testo, immagini e audio. Controlla il documento con queste integrazioni [qui](https://huggingface.co/docs/optimum/bettertransformer/overview) per maggiori dettagli.
|