Skip to content

Commit 67dc024

Browse files
Update install_frameworks.py (#240)
1 parent f3754c0 commit 67dc024

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ jobs:
303303
wget https://ampereaimodelzoo.s3.eu-central-1.amazonaws.com/aio_objdet_dataset.tar.gz > /dev/null 2>&1
304304
tar -xf aio_objdet_dataset.tar.gz > /dev/null
305305
306-
AIO_IMPLICIT_FP16_TRANSFORM_FILTER=".*" python3 natural_language_processing/extractive_question_answering/bert_large/run_huggingface.py -m bert-large-cased-whole-word-masking-finetuned-squad
306+
# AIO_IMPLICIT_FP16_TRANSFORM_FILTER=".*" python3 natural_language_processing/extractive_question_answering/bert_large/run_huggingface.py -m bert-large-cased-whole-word-masking-finetuned-squad
307307
308308
wget $S3_URL_RESNET_50_V15_TF_FP32 > /dev/null 2>&1
309309
IGNORE_DATASET_LIMITS=1 AIO_IMPLICIT_FP16_TRANSFORM_FILTER=".*" python3 computer_vision/classification/resnet_50_v15/run.py -m resnet_50_v15_tf_fp32.pb -b 32 -p fp32 -f tf --timeout=60

computer_vision/object_detection/retinanet_mlperf/run.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22
# Copyright (c) 2024, Ampere Computing LLC
33
import argparse
4+
import torchvision # noqa
45
from utils.cv.openimages import OpenImagesDataset
56
from utils.benchmark import run_model
67
from utils.misc import print_goodbye_message_and_die

utils/setup/install_frameworks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
try:
2828
import torch # noqa
2929
except ModuleNotFoundError:
30-
subprocess.check_call([sys.executable, "-m", "pip", "install", "torch<2.2"])
30+
subprocess.check_call([sys.executable, "-m", "pip", "install", "torch"])
3131
native_frameworks.append("PyTorch")
3232
try:
3333
import torchvision # noqa
3434
except ModuleNotFoundError:
35-
subprocess.check_call([sys.executable, "-m", "pip", "install", "torchvision==0.16.2"])
35+
subprocess.check_call([sys.executable, "-m", "pip", "install", "torchvision"])
3636

3737
# summary
3838
len_native_frameworks = len(native_frameworks)

0 commit comments

Comments
 (0)