jwieczorekhabana
commited on
Commit
•
9a03693
1
Parent(s):
97dafc9
Update README.md
Browse files
README.md
CHANGED
@@ -13,16 +13,13 @@ This model only contains the `GaudiConfig` file for running **Stable Diffusion v
|
|
13 |
**This model contains no model weights, only a GaudiConfig.**
|
14 |
|
15 |
This enables to specify:
|
16 |
-
- `
|
17 |
-
- `hmp_opt_level`: optimization level for HMP, see [here](https://docs.habana.ai/en/latest/PyTorch/PyTorch_Mixed_Precision/PT_Mixed_Precision.html#configuration-options) for a detailed explanation
|
18 |
-
- `hmp_bf16_ops`: list of operators that should run in bf16
|
19 |
-
- `hmp_fp32_ops`: list of operators that should run in fp32
|
20 |
-
- `hmp_is_verbose`: verbosity
|
21 |
|
22 |
## Usage
|
23 |
|
24 |
The `GaudiStableDiffusionPipeline` (`GaudiDDIMScheduler`) is instantiated the same way as the `StableDiffusionPipeline` (`DDIMScheduler`) in the 🤗 Diffusers library.
|
25 |
-
The only difference is that there are a few new training arguments specific to HPUs
|
|
|
26 |
|
27 |
Here is an example with one prompt:
|
28 |
```python
|
|
|
13 |
**This model contains no model weights, only a GaudiConfig.**
|
14 |
|
15 |
This enables to specify:
|
16 |
+
- `use_torch_autocast`: whether to use Torch Autocast for managing mixed precision
|
|
|
|
|
|
|
|
|
17 |
|
18 |
## Usage
|
19 |
|
20 |
The `GaudiStableDiffusionPipeline` (`GaudiDDIMScheduler`) is instantiated the same way as the `StableDiffusionPipeline` (`DDIMScheduler`) in the 🤗 Diffusers library.
|
21 |
+
The only difference is that there are a few new training arguments specific to HPUs.\
|
22 |
+
It is strongly recommended to train this model doing bf16 mixed-precision training for optimal performance and accuracy.
|
23 |
|
24 |
Here is an example with one prompt:
|
25 |
```python
|