Skip to content

Commit

Permalink
fix documentation build error
Browse files Browse the repository at this point in the history
  • Loading branch information
anw90 committed Nov 23, 2023
1 parent 991108b commit 4348dcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/concept_guides/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Why is this important? Under the hood this will set **5** different seed setting
torch.manual_seed(seed)
torch.cuda.manual_seed_all(seed)
# ^^ safe to call this function even if cuda is not available
if is_tpu_available():
if is_troch_xla_available():
xm.set_rng_state(seed)
```

Expand Down
4 changes: 2 additions & 2 deletions docs/source/package_reference/utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ These functionalities check the state of the current working environment includi

[[autodoc]] utils.is_torch_version

[[autodoc]] utils.is_tpu_available
[[autodoc]] utils.is_torch_xla_available

[[autodoc]] utils.is_xpu_available

Expand Down Expand Up @@ -173,4 +173,4 @@ These include utilities that are useful to quantize model.

[[autodoc]] utils.load_and_quantize_model

[[autodoc]] utils.BnbQuantizationConfig
[[autodoc]] utils.BnbQuantizationConfig

0 comments on commit 4348dcb

Please sign in to comment.