Skip to content

Commit 05ddd86

Browse files
committed
Fix macOS capitalization in text
1 parent 8385089 commit 05ddd86

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ In case you want to reinstall, make sure that you uninstall Intel® Extension fo
7575

7676
### Tips and Debugging
7777

78-
* A prerequisite to installing Intel® Extension for PyTorch\* is CMake. We recommend installing it with [Homebrew](https://brew.sh/) with `brew install cmake` if you are developing on MacOS or Linux system.
78+
* A prerequisite to installing Intel® Extension for PyTorch\* is CMake. We recommend installing it with [Homebrew](https://brew.sh/) with `brew install cmake` if you are developing on macOS or Linux system.
7979
* Our `setup.py` requires Python >= 3.6
8080
* If you run into errors when running `python setup.py develop`, here are some debugging steps:
8181
1. Run `printf '#include <stdio.h>\nint main() { printf("Hello World");}'|clang -x c -; ./a.out` to make sure your CMake works and can compile this simple Hello World program without errors.

docs/tutorials/contribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ If you want to reinstall, make sure that you uninstall Intel® Extension for PyT
6868

6969
### Tips and Debugging
7070

71-
* Cmake must be installed before installing Intel® Extension for PyTorch\*. If you're developing on MacOS or Linux, we recommend installing Cmake with [Homebrew](https://brew.sh/) with `brew install cmake`.
71+
* Cmake must be installed before installing Intel® Extension for PyTorch\*. If you're developing on macOS or Linux, we recommend installing Cmake with [Homebrew](https://brew.sh/) with `brew install cmake`.
7272
* Our `setup.py` requires Python >= 3.6
7373
* If you run into errors when running `python setup.py develop`, here are some debugging steps:
7474
1. Run `printf '#include <stdio.h>\nint main() { printf("Hello World");}'|clang -x c -; ./a.out` to make sure your CMake works and can compile this simple Hello World program without errors.

examples/cpu/inference/python/models/distilbert/scripts/training_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2305,7 +2305,7 @@ def _setup_devices(self) -> "torch.device":
23052305
)
23062306
if device.type != "mps":
23072307
raise ValueError(
2308-
"Either you do not have an MPS-enabled device on this machine or MacOS version is not 12.3+ "
2308+
"Either you do not have an MPS-enabled device on this machine or macOS version is not 12.3+ "
23092309
"or current PyTorch install was not built with MPS enabled."
23102310
)
23112311
if device.type == "mps":

examples/cpu/inference/python/models/vit/scripts/training_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2289,7 +2289,7 @@ def _setup_devices(self) -> "torch.device":
22892289
)
22902290
if device.type != "mps":
22912291
raise ValueError(
2292-
"Either you do not have an MPS-enabled device on this machine or MacOS version is not 12.3+ "
2292+
"Either you do not have an MPS-enabled device on this machine or macOS version is not 12.3+ "
22932293
"or current PyTorch install was not built with MPS enabled."
22942294
)
22952295
if device.type == "mps":

intel_extension_for_pytorch/xpu/cpp_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ def _write_ninja_file_to_build_library(
991991
# include_paths() gives us the location of torch/extension.h
992992
system_includes = include_paths()
993993
# sysconfig.get_path('include') gives us the location of Python.h
994-
# Explicitly specify 'posix_prefix' scheme on non-Windows platforms to workaround error on some MacOS
994+
# Explicitly specify 'posix_prefix' scheme on non-Windows platforms to workaround error on some macOS
995995
# installations where default `get_path` points to non-existing `/Library/Python/M.m/include` folder
996996
python_include_path = sysconfig.get_path(
997997
"include", scheme="nt" if IS_WINDOWS else "posix_prefix"

0 commit comments

Comments
 (0)