diff --git a/content/install-guides/dcperf.md b/content/install-guides/dcperf.md index 024965bb54..e0d32c80e1 100644 --- a/content/install-guides/dcperf.md +++ b/content/install-guides/dcperf.md @@ -9,7 +9,7 @@ additional_search_terms: - Neoverse test_images: -- ubuntu:22.04 +- ubuntu:latest test_maintenance: false layout: installtoolsall @@ -23,12 +23,12 @@ weight: 1 DCPerf is an open-source benchmarking and microbenchmarking suite originally developed by Meta. It faithfully replicates the characteristics of general-purpose data center workloads, with particular attention to microarchitectural fidelity. DCPerf stands out for accurate simulation of behaviors such as cache misses and branch mispredictions, which are details that many other benchmarking tools overlook. -You can use DCPerf to generate performance data to inform procurement decisions, and for regression testing to detect changes in the environment, such as kernel and compiler changes. +You can use DCPerf to generate performance data to inform procurement decisions, and for regression testing to detect changes in the environment, such as kernel and compiler changes. -DCPerf runs on Arm-based servers. The examples below have been tested on an AWS `c7g.metal` instance running Ubuntu 22.04 LTS. +DCPerf runs on Arm-based servers. The examples below have been tested on an AWS `c7g.metal` instance running Ubuntu 22.04 LTS. {{% notice Note %}} -When running on a server provided by a cloud service, you have limited access to some parameters, such as UEFI settings, which can affect performance. +When running on a server provided by a cloud service, you have limited access to some parameters, such as UEFI settings, which can affect performance. {{% /notice %}} ## Install prerequisites @@ -40,7 +40,7 @@ sudo apt update sudo apt install -y python-is-python3 python3-pip python3-venv git ``` -It is recommended that you install Python packages in a Python virtual environment. +It is recommended that you install Python packages in a Python virtual environment. Set up your virtual environment: @@ -48,7 +48,7 @@ Set up your virtual environment: python3 -m venv venv source venv/bin/activate ``` -If requested, restart the recommended services. +If requested, restart the recommended services. Install the required packages: @@ -65,9 +65,9 @@ cd DCPerf ## Running the MediaWiki benchmark -DCPerf offers many benchmarks. See the official documentation for the benchmark of your choice. +DCPerf offers many benchmarks. See the official documentation for the benchmark of your choice. -One example is the MediaWiki benchmark, designed to faithfully reproduce the workload of the Facebook social networking site. +One example is the MediaWiki benchmark, designed to faithfully reproduce the workload of the Facebook social networking site. Install HipHop Virtual Machine (HHVM), a virtual machine used to execute the web application code: @@ -95,14 +95,14 @@ Compiler: 1704922878_080332982 Repo schema: 4239d11395efb06bee3ab2923797fedfee64738e ``` -Confirm security-enhanced Linux (SELinux) is disabled with the following commands: +Confirm security-enhanced Linux (SELinux) is disabled with the following commands: ```bash sudo apt install selinux-utils getenforce ``` -You should see the following response: +You should see the following response: ```output Disabled @@ -181,7 +181,7 @@ The metrics file contains several key performance indicators from the benchmark These metrics help you evaluate the performance and reliability of the system under test. Higher values for successful requests and RPS, and lower response times, generally indicate better performance. The score provides a single value for easy comparison across runs or systems. -## Next steps +## Next steps These are some activities you might like to try next: diff --git a/content/learning-paths/cross-platform/intrinsics/_index.md b/content/learning-paths/cross-platform/intrinsics/_index.md index 9f286a16ca..d6eea54443 100644 --- a/content/learning-paths/cross-platform/intrinsics/_index.md +++ b/content/learning-paths/cross-platform/intrinsics/_index.md @@ -23,8 +23,7 @@ author: Jason Andrews test_images: - amd64/ubuntu:latest - arm64v8/ubuntu:latest -test_link: https://github.com/armflorentlebeau/arm-learning-paths/actions/runs/4312122327 -test_maintenance: true +test_maintenance: false ### Tags skilllevels: Advanced diff --git a/content/learning-paths/embedded-and-microcontrollers/tfm/_index.md b/content/learning-paths/embedded-and-microcontrollers/tfm/_index.md index e23ea09452..b3fb6106d3 100644 --- a/content/learning-paths/embedded-and-microcontrollers/tfm/_index.md +++ b/content/learning-paths/embedded-and-microcontrollers/tfm/_index.md @@ -18,8 +18,7 @@ author: Pareena Verma test_images: - armswdev/arm-tools:bare-metal-compilers -test_link: null -test_maintenance: true +test_maintenance: false ### Tags skilllevels: Introductory diff --git a/content/learning-paths/embedded-and-microcontrollers/zephyr/_index.md b/content/learning-paths/embedded-and-microcontrollers/zephyr/_index.md index d1b21d9810..83505cecbd 100644 --- a/content/learning-paths/embedded-and-microcontrollers/zephyr/_index.md +++ b/content/learning-paths/embedded-and-microcontrollers/zephyr/_index.md @@ -19,7 +19,7 @@ author: Pareena Verma test_images: - amd64/ubuntu:latest test_link: null -test_maintenance: true +test_maintenance: false ### Tags skilllevels: Introductory diff --git a/content/learning-paths/mobile-graphics-and-gaming/nss-unreal/2-emulation-layer.md b/content/learning-paths/mobile-graphics-and-gaming/nss-unreal/2-emulation-layer.md index ff6ec801ab..95d00da6cc 100644 --- a/content/learning-paths/mobile-graphics-and-gaming/nss-unreal/2-emulation-layer.md +++ b/content/learning-paths/mobile-graphics-and-gaming/nss-unreal/2-emulation-layer.md @@ -34,7 +34,7 @@ To emulate the ML extensions for Vulkan: ``` ![Add user-defined Vulkan layers path in Vulkan Configurator#center](./images/load_layers.png "Figure 1: Add Vulkan layer path.") -5. Ensure the Graph layer is listed *above* the Tensor layer, and that you've set up the configuration scope as shown in the image. +5. Switch back to the **Vulkan Loader Management** tab. Ensure the Graph layer is listed *above* the Tensor layer, and that you've set up the configuration scope as shown in the image. ![Layer configuration showing Graph above Tensor#center](./images/verify_layers.png "Figure 2: Verify layer ordering and scope.") diff --git a/content/learning-paths/mobile-graphics-and-gaming/nss-unreal/images/verify_layers.png b/content/learning-paths/mobile-graphics-and-gaming/nss-unreal/images/verify_layers.png index 51e7a45b62..6a907daa12 100644 Binary files a/content/learning-paths/mobile-graphics-and-gaming/nss-unreal/images/verify_layers.png and b/content/learning-paths/mobile-graphics-and-gaming/nss-unreal/images/verify_layers.png differ diff --git a/content/learning-paths/mobile-graphics-and-gaming/vulkan-ml-sample/2-ml-ext-for-vulkan.md b/content/learning-paths/mobile-graphics-and-gaming/vulkan-ml-sample/2-ml-ext-for-vulkan.md index ac2f4cd193..42bc9bc559 100644 --- a/content/learning-paths/mobile-graphics-and-gaming/vulkan-ml-sample/2-ml-ext-for-vulkan.md +++ b/content/learning-paths/mobile-graphics-and-gaming/vulkan-ml-sample/2-ml-ext-for-vulkan.md @@ -55,7 +55,7 @@ Next, enable the emulation layers using the Vulkan Configurator to simulate the Under the **Vulkan Layers Location** tab, add the path to your `MLEmulationLayerForVulkan` folder. -In the **Apply a Vulkan Loader Configuration** list, right-click and choose **Create a new Configuration**. You can give the new configuration any name, for example `tensor_and_data_graph`. +Switch back to the **Vulkan Loader Management** tab. In the **Apply a Vulkan Loader Configuration** list, right-click and choose **Create a new Configuration**. You can give the new configuration any name, for example `tensor_and_data_graph`. ![Screenshot of the Vulkan Configurator showing the Vulkan Layers Location tab, where the emulation layer path (MLEmulationLayerForVulkan) is added to enable VK_ARM_data_graph and VK_ARM_tensors alt-text#center](./images/load_layers.png "Add emulation layers in Vulkan Configurator") diff --git a/content/learning-paths/mobile-graphics-and-gaming/vulkan-ml-sample/images/verify_layers.png b/content/learning-paths/mobile-graphics-and-gaming/vulkan-ml-sample/images/verify_layers.png index 51e7a45b62..84b6514d12 100644 Binary files a/content/learning-paths/mobile-graphics-and-gaming/vulkan-ml-sample/images/verify_layers.png and b/content/learning-paths/mobile-graphics-and-gaming/vulkan-ml-sample/images/verify_layers.png differ diff --git a/tools/check_open_category.py b/tools/check_open_category.py index ac0b784db6..112e1d5222 100644 --- a/tools/check_open_category.py +++ b/tools/check_open_category.py @@ -329,17 +329,19 @@ def check_entries(lp_index_path: Path, model: str = "gpt-4o-2024-08-06") -> int: # ---------------------------- def main(): - if len(sys.argv) != 2: - print("Usage: python tools/check_tools_software_languages.py /path/to/content/
///_index.md") - sys.exit(2) - - lp_index_path = Path(sys.argv[1]).resolve() - if not lp_index_path.exists(): - print(f"[ERROR] File not found: {lp_index_path}") - sys.exit(2) - # Single sequential flow so you can follow the variables: - problems = check_entries(lp_index_path, model="gpt-4o-2024-08-06") + files = sys.argv[1:] + problems = 0 + + for f in files: + if "content/" in f and f.endswith("_index.md"): + lp_index_path = Path(f).resolve() + if not lp_index_path.exists(): + print(f"[ERROR] File not found: {lp_index_path}") + sys.exit(2) + print("Checking file:", f) + # Single sequential flow so you can follow the variables: + problems = problems + check_entries(lp_index_path, model="gpt-4o-2024-08-06") # Exit codes: 0 ok, 1 issues found sys.exit(1 if problems > 0 else 0) diff --git a/tools/requirements.txt b/tools/requirements.txt index 7138126344..79327db69c 100644 --- a/tools/requirements.txt +++ b/tools/requirements.txt @@ -5,3 +5,4 @@ pyspellchecker better-profanity setuptools alive-progress +openai diff --git a/tools/verify_index_fields.py b/tools/verify_index_fields.py index f887c5af73..e9be639001 100644 --- a/tools/verify_index_fields.py +++ b/tools/verify_index_fields.py @@ -117,5 +117,7 @@ def validate_file(path, allowlist): if validate_file(f, allowlist): any_errors = True + + if any_errors: sys.exit(1) \ No newline at end of file