Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/woke-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# SPDX-FileCopyrightText: Copyright 2025 Arm Limited and affiliates.
#
# SPDX-License-Identifier: Apache-2.0

name: Inclusive language review

# Trigger on pull requests only
on:
- pull_request

#* Stop stale workflows when pull requests are updated: https://stackoverflow.com/a/70972844
#* Does not apply to the main branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

# Declare default permissions as read only.
permissions: read-all

jobs:
woke:
runs-on: ah-ubuntu_24_04-c7g_2x-50
steps:
- name: Checkout Tool-Solutions
uses: actions/checkout@v6.0.1

- name: Run 'woke'
uses: get-woke/woke-action@v0
with:
fail-on-error: true
woke-args: -c ${{ github.workspace }}/.woke.yml --output text
280 changes: 280 additions & 0 deletions .woke.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,280 @@
# SPDX-FileCopyrightText: Copyright 2024, 2025 Arm Limited and affiliates.
#
# SPDX-License-Identifier: Apache-2.0

# Custom settings and rules for get-woke (https://github.com/get-woke/woke)

# Rules based on:
# - get-woke default set: https://github.com/get-woke/woke/blob/main/pkg/rule/default.yaml
# - INCITS inclusive terminology guidelines:
# https://www.incits.org/dotAsset/ac0948e7-8708-46ef-9e0c-783c904a14c7.pdf

rules:
- name: abort/terminate
terms:
- abort
- terminate
alternatives:
- halt
- end
- stop
- eliminate
- quit
- cease
- close
- "hard stop"
- "end involuntarily"
- "force quit"

- name: blackbox
terms:
- black-box
- blackbox
- black box
alternatives:
- closed-box

- name: blacklist
terms:
- blacklist
- black-list
- blacklisted
- black-listed
alternatives:
- denylist
- blocklist
- exclusion list

- name: chinese-wall
terms:
- "chinese wall"
- "chinese-wall"
- "Chinese wall"
alternatives:
- "ethical wall"

- name: colony
terms:
- colony
alternatives:
- settlement
- population
- community
- territory

- name: crazy
terms:
- crazy
alternatives:
- unexpected
- surprising
- puzzling

- name: cripple
terms:
- cripple
alternatives:
- limit
- disadvantage

- name: dumb
terms:
- dumb
- dummy
alternatives:
- foolish
- silent
- placeholder
- sample

- name: first-class
terms:
- "first-class citizen"
alternatives:
- "first-class entity"
- "core entity"
- "top level entity"

- name: handicap
terms:
- handicap
alternatives:
- limit
- disadvantage

- name: hang
terms:
- hang
- hanged
alternatives:
- froze
- frozen
- unresponsive
options:
word_boundary: true

- name: he/she
terms:
- she
- he
- she'd
- he'd
- she'll
- he'll
- she's
- he's
alternatives:
- they
- it
options:
word_boundary: true

- name: her/him
terms:
- her
- hers
- him
- his
alternatives:
- their
- theirs
- them
options:
word_boundary: true

- name: herself/himself
terms:
- herself
- himself
alternatives:
- themselves
- theirself
- self

- name: grandfathered
terms:
- grandfathered
alternatives:
- legacy status

- name: guys
terms:
- guys
alternatives:
- folks
- people
- you all
options:
word_boundary: true

- name: kill/murder
terms:
- kill
- murder
alternatives:
- halt
- end
- stop
- eliminate
- quit
- cease
- close
- "hard stop"
- "end involuntarily"
- "force quit"
options:
word_boundary: true

- name: man/woman
terms:
- man
- woman
alternatives:
- human
- person
options:
word_boundary: true

- name: man-hours
terms:
- man hours
- man-hours
alternatives:
- person hours
- engineer hours

- name: master
terms:
- master
alternatives:
- main
- leader
- primary

- name: suicide
terms:
- suicide
alternatives:
- "shut down"
- "self destruct"

- name: master-slave
terms:
- master-slave
- master/slave
alternatives:
- leader/follower
- primary/replica
- primary/standby

- name: ocd
terms:
- ocd
- neurotic
- ocd
- o.c.d
- o.c.d.
alternatives:
- has an anxiety disorder
- obsessive
- pedantic
- picky
options:
word_boundary: true

- name: slave
terms:
- slave
alternatives:
- follower
- replica
- standby

- name: sanity
terms:
- sanity
- sane
alternatives:
- confidence
- quick check
- coherence check
- correct
- adequate

- name: whitebox
terms:
- white-box
- whitebox
- white box
alternatives:
- open-box

- name: whitelist
terms:
- whitelist
- white-list
- whitelisted
- white-listed
alternatives:
- allowlist
- inclusion list
7 changes: 7 additions & 0 deletions .wokeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: Copyright 2025 Arm Limited and affiliates.
#
# SPDX-License-Identifier: Apache-2.0

LICENSE
LICENSES/*
ML-Frameworks/pytorch-aarch64/examples/openimages-mlperf.json
3 changes: 2 additions & 1 deletion ML-Frameworks/pytorch-aarch64/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ This is a multiscale SSD (Single Shot Detection) model based on the ResNet-34 ba
To run inference with SSD-ResNet-34 on example image call:

```bash
# wokeignore:rule=master
python detect_objects.py -m ./ssd_resnet34.yml -i https://raw.githubusercontent.com/zhreshold/mxnet-ssd/master/data/demo/street.jpg
```

Expand All @@ -79,7 +80,7 @@ There is also additional information in `image_preprocess` that is used to prepr
- `mean`: Mean values per channel for normalizing image
- `std`: Standard deviation values per channel for normalizing image

_Note: in PyTorch, in order to load the model from saved checkpoint, it is also necessary to have the implementation of that model in Python. In the example configuration used here, the implementation of the model (`SSD_R34`) is defined [here](https://github.com/mlcommons/inference/tree/master/vision/classification_and_detection/python/models)._
_Note: in PyTorch, in order to load the model from saved checkpoint, it is also necessary to have the implementation of that model in Python. In the example configuration used here, the implementation of the model (`SSD_R34`) is defined [here](https://github.com/mlcommons/inference/tree/master/vision/classification_and_detection/python/models)._ <!-- wokeignore:rule=master -->

## Natural Language Processing (NLP)

Expand Down
7 changes: 2 additions & 5 deletions ML-Frameworks/pytorch-aarch64/examples/ssd_resnet34.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@
# limitations under the License.
# *******************************************************************************

description: >-
SSD-ResNet34 FP32 for object detection pretrained on COCO 2017 dataset. For details on how
this model was trained please see
<https://github.com/mlcommons/training/tree/master/image_classification> for more information
description: "SSD-ResNet34 FP32 for object detection pretrained on COCO 2017 dataset. For details on how this model was trained please see <https://github.com/mlcommons/training/tree/master/image_classification> for more information" # wokeignore:rule=master
model:
name: resnet34-ssd1200.pytorch
script: ssd_resnet34.py
source: https://zenodo.org/record/3236545/files/resnet34-ssd1200.pytorch
labels: https://raw.githubusercontent.com/amikelive/coco-labels/master/coco-labels-2014_2017.txt
labels: https://raw.githubusercontent.com/amikelive/coco-labels/master/coco-labels-2014_2017.txt # wokeignore:rule=master
threshold: 0.5
image_preprocess:
input_shape: [1,3,1200,1200]
Expand Down
2 changes: 1 addition & 1 deletion ML-Frameworks/pytorch-aarch64/scripts/download-dataset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -euo pipefail

# This script is based on the upstream MLCommon's instructions to download datasets.
# https://github.com/mlperf/inference/tree/master/vision/classification_and_detection
# https://github.com/mlperf/inference/tree/master/vision/classification_and_detection # wokeignore:rule=master

# Download ImageNet's validation set
# These will be installed to ${HOME}/CK_TOOLS/
Expand Down
2 changes: 1 addition & 1 deletion ML-Frameworks/pytorch-aarch64/scripts/download-model.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -euo pipefail

# This script is based on the upstream MLCommon's instructions to download models.
# https://github.com/mlperf/inference/tree/master/vision/classification_and_detection
# https://github.com/mlperf/inference/tree/master/vision/classification_and_detection # wokeignore:rule=master

cd inference/vision/classification_and_detection

Expand Down
4 changes: 2 additions & 2 deletions ML-Frameworks/tensorflow-aarch64/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ https://github.com/ARM-software/Tool-Solutions/tree/r25.09
https://github.com/ARM-software/Tool-Solutions/tree/r25.08

### Changed
- Updates TensorFlow hash to ab8aab720f1648f6a470b159b0d1aea3a5b0df81 # 2.20.0-dev0 from master, 25th July 2025
- Updates TensorFlow hash to ab8aab720f1648f6a470b159b0d1aea3a5b0df81 # 2.20.0-dev0 from master, 25th July 2025 <!-- wokeignore:rule=master -->

### Fixed
- Updates Transformers to 4.50 as a mitigation for CVE-2025-2099.
Expand Down Expand Up @@ -598,7 +598,7 @@ https://github.com/ARM-software/Tool-Solutions/tree/tensorflow-pytorch-aarch64--

### Changed
- Updates Compute Library version to 21.11.
- Updates tensorflow/benchmarks to use the master branch.
- Updates tensorflow/benchmarks to use the master branch. <!-- wokeignore:rule=master -->

### Fixed
- Various improvements and corrections to the documentation.
Expand Down
Loading