Skip to content

Commit d05956e

Browse files
committed
address comments
1 parent eb7c51c commit d05956e

5 files changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
run: docker run --rm toolsolutions-pytorch:latest ./test-examples.sh
7070

7171
- name: Run unit tests
72-
run: docker run --rm toolsolutions-pytorch:latest bash ./run_unit_tests.sh
72+
run: docker run --rm toolsolutions-pytorch:latest ./run_unit_tests.sh
7373

7474
# This job adds a check named "Precommit-status" that represents overall
7575
# workflow status and can be used in branch rulesets

ML-Frameworks/pytorch-aarch64/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ RUN pip install "$(basename "$TORCH_AO_WHEEL")" --no-deps \
107107
COPY examples/ /home/$DOCKER_USER/
108108
COPY pytorch/test /home/$DOCKER_USER/pytorch/test
109109

110-
RUN pip install -r requirements-unit.txt
111-
112110
# Llm examples depends on torchchat
113111
RUN sudo mkdir -p /home/ubuntu/gen_ai_utils/ && \
114112
cd /home/ubuntu/gen_ai_utils/ && \

ML-Frameworks/pytorch-aarch64/examples/requirements-unit.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

ML-Frameworks/pytorch-aarch64/examples/run_unit_tests.sh

100644100755
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@
1717
# limitations under the License.
1818
# *******************************************************************************
1919

20-
LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libtcmalloc.so.4 DNNL_DEFAULT_FPMATH_MODE=BF16 /
21-
python pytorch/test/test_mkldnn.py
22-
LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libtcmalloc.so.4 DNNL_DEFAULT_FPMATH_MODE=BF16 /
23-
python pytorch/test/test_transformers.py
20+
OMP_NUM_THREADS=16 python pytorch/test/test_mkldnn.py
21+
OMP_NUM_THREADS=16 python pytorch/test/test_transformers.py

ML-Frameworks/pytorch-aarch64/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
certifi==2024.8.30
55
charset-normalizer~=3.4.0
66
datasets~=3.4.1
7+
expecttest==0.3.0 # From unit tests
78
filelock~=3.16.1
89
fsspec==2024.9.0
910
huggingface_hub==0.27.0

0 commit comments

Comments
 (0)