You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c86af60
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/source/en/reference/environment_variables.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ Optimized kernels are downloaded from the Hub when [kernels](https://github.com/
53
53
|`USE_HUB_KERNELS`| boolean, enabled by default | Set to a false value to fall back to the reference implementations. |
54
54
|`TRANSFORMERS_DISABLE_DEEPGEMM_LINEAR`|`1`| Forces the Triton fallback instead of DeepGEMM for FP8 linear layers in finegrained FP8 quantization. |
55
55
|`TRANSFORMERS_DISABLE_TORCH_CHECK`|`1`| Skips the minimum PyTorch version check at import. |
56
+
|`TRANSFORMERS_SDPA_FORCE_GQA`|`1`| Forces PyTorch SDPA to use `enable_gqa=True` for grouped-query attention. Otherwise, Transformers selects between setting `enable_gqa=True` and repeating key/value heads. |
56
57
57
58
> [!WARNING]
58
59
> `TRANSFORMERS_DISABLE_TORCH_CHECK` removes a guard rather than changing behavior. On an unsupported PyTorch version you get import errors or silently wrong results instead of a clear message.
0 commit comments