Skip to content

Commit f5f604e

Browse files
authored
Fix cv import (#132)
* fix cv import issue * remove debug message * update packages
1 parent c753461 commit f5f604e

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,22 @@ classifiers = [
3636
]
3737
dependencies = [
3838
"autogluon.common >=1, <2",
39-
"aws-cdk-lib >=2.0.0,<2.179",
39+
"aws-cdk-lib >=2.0.0,<2.190",
4040
"awscliv2 >=2.2,<2.4",
4141
"boto3 >=1.26.0,<2",
4242
"constructs >=10.0.0,<10.5",
43-
"fsspec >=2023.5.0,<2025.3",
4443
"matplotlib >=3.4,<3.11",
4544
"pandas >=2.0.0,<3",
4645
"pyarrow >=19.0.0,<20",
4746
"pyyaml >=5.4,<7",
4847
"ray[default] >=2.6.3,<3",
49-
"s3fs >=2023.5.0,<2025.3",
5048
"tqdm >=4.64.0,<=5",
5149
"typer >=0.9.0,<1.0.0",
5250
"wheel >0.38.0,<0.46",
5351
]
5452

5553
[project.optional-dependencies]
56-
tests = ["pytest", "pytest-mock", "tox", "black>=23.1.9, <=25.1.0", "isort>=5.11.0, <=6.0.0"]
54+
tests = ["pytest", "pytest-mock", "tox", "black>=23.1.9, <=25.1.0", "isort>=5.11.0, <=6.1.0"]
5755

5856
[project.urls]
5957
"Homepage" = "https://github.com/autogluon/autogluon-bench"
@@ -97,7 +95,7 @@ legacy_tox_ini = """
9795
[testenv:lint]
9896
deps =
9997
black>=23.1.9, <=25.1.0
100-
isort>=5.11.0, <=6.0.0
98+
isort>=5.11.0, <=6.1.0
10199
commands =
102100
black --check --diff src/ tests/
103101
isort --check --diff src/ tests/

src/autogluon/bench/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN apt-get update && \
1010
apt-get install -y software-properties-common build-essential && \
1111
add-apt-repository ppa:deadsnakes/ppa && \
1212
apt-get update && \
13-
apt-get install -y python3.9 python3.9-dev python3.9-distutils python3.9-venv && \
13+
apt-get install -y python3.9 python3.9-dev python3.9-distutils python3.9-venv ffmpeg libsm6 libxext6 && \
1414
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
1515

1616
# Install utilities and AWS CLI

src/autogluon/bench/utils/hardware_utilization.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ while true; do
1313
GPU_UTILIZATION=$(echo $line | awk -F ', ' '{printf "%.2f", $2}')
1414
aws cloudwatch put-metric-data --region $CDK_DEPLOY_REGION --namespace EC2 --storage-resolution 1 --unit Percent --dimensions InstanceId=$INSTANCE_ID --metric-name GPUUtilization_$GPU_INDEX --value $GPU_UTILIZATION
1515
done
16-
else
17-
echo "GPU not detected or nvidia-smi not found. Skipping GPU metrics."
1816
fi
1917

2018
CPU_UTILIZATION=$(top -bn1 | grep "Cpu(s)" | awk -F'id,' '{ split($1, vs, ","); v=vs[length(vs)]; sub("%", "", v); printf "%.2f", 100 - v }')

0 commit comments

Comments
 (0)