From 31f437ff792312f4f43e78cae272a34050e32b42 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 31 Jul 2024 03:29:47 +0000 Subject: [PATCH 1/2] Bump torch from 2.0.1 to 2.2.0 Bumps [torch](https://github.com/pytorch/pytorch) from 2.0.1 to 2.2.0. - [Release notes](https://github.com/pytorch/pytorch/releases) - [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md) - [Commits](https://github.com/pytorch/pytorch/compare/v2.0.1...v2.2.0) --- updated-dependencies: - dependency-name: torch dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ba3a7c3..b5cfca4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,7 @@ tk==0.1.0 customtkinter==5.2.2 pillow==9.5.0 torch==2.0.1+cu118; sys_platform != 'darwin' -torch==2.0.1; sys_platform == 'darwin' +torch==2.2.0; sys_platform == 'darwin' torchvision==0.15.2+cu118; sys_platform != 'darwin' torchvision==0.15.2; sys_platform == 'darwin' onnxruntime==1.18.0; sys_platform == 'darwin' and platform_machine != 'arm64' From 99ebec28b8cdedf4396ad8008cbef294e3511658 Mon Sep 17 00:00:00 2001 From: thongao1302 <130044485+thongao1302@users.noreply.github.com> Date: Mon, 5 Aug 2024 17:28:26 +0700 Subject: [PATCH 2/2] Merge branch 'main' into dependabot/pip/torch-2.2.0 --- .devcontainer/devcontainer.json | 22 ++++++++++++++++++++++ .github/dependabot.yml | 14 ++++++++++++++ modules/processors/frame/core.py | 1 + 3 files changed, 37 insertions(+) create mode 100644 .devcontainer/devcontainer.json create mode 100644 .github/dependabot.yml diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..b9862e1 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,22 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/alpine +{ + "name": "Alpine", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/base:alpine-3.20" + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "uname -a", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..b2fefb2 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for more information: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +# https://containers.dev/guide/dependabot + +version: 2 +updates: + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + + + interval: weekly diff --git a/modules/processors/frame/core.py b/modules/processors/frame/core.py index 7d76704..093a9c6 100644 --- a/modules/processors/frame/core.py +++ b/modules/processors/frame/core.py @@ -1,3 +1,4 @@ + import sys import importlib from concurrent.futures import ThreadPoolExecutor