Skip to content
Snippets Groups Projects
Unverified Commit 9b411520 authored by Ahmet Oner's avatar Ahmet Oner Committed by GitHub
Browse files

Merge pull request #212 from ahmetoner/upgrade-torch

Upgrade torch to v1.13.1, fixes #206
parents d0d25ecd 88e78fff
Branches
No related tags found
No related merge requests found
...@@ -4,6 +4,10 @@ Changelog ...@@ -4,6 +4,10 @@ Changelog
Unreleased Unreleased
---------- ----------
### Changed
- Upgraded torch to v1.13.1
[1.4.0] (2024-04-17) [1.4.0] (2024-04-17)
-------------------- --------------------
......
...@@ -77,7 +77,7 @@ COPY --from=swagger-ui /usr/share/nginx/html/swagger-ui.css swagger-ui-assets/sw ...@@ -77,7 +77,7 @@ COPY --from=swagger-ui /usr/share/nginx/html/swagger-ui.css swagger-ui-assets/sw
COPY --from=swagger-ui /usr/share/nginx/html/swagger-ui-bundle.js swagger-ui-assets/swagger-ui-bundle.js COPY --from=swagger-ui /usr/share/nginx/html/swagger-ui-bundle.js swagger-ui-assets/swagger-ui-bundle.js
RUN poetry install RUN poetry install
RUN $POETRY_VENV/bin/pip install torch==1.13.0+cu117 -f https://download.pytorch.org/whl/torch RUN $POETRY_VENV/bin/pip install torch==1.13.1+cu117 -f https://download.pytorch.org/whl/torch
EXPOSE 9000 EXPOSE 9000
......
...@@ -10,7 +10,7 @@ Install torch with following command: ...@@ -10,7 +10,7 @@ Install torch with following command:
```sh ```sh
# just for GPU: # just for GPU:
pip3 install torch==1.13.0+cu117 -f https://download.pytorch.org/whl/torch pip3 install torch==1.13.1+cu117 -f https://download.pytorch.org/whl/torch
``` ```
### Run ### Run
......
...@@ -1218,12 +1218,12 @@ files = [ ...@@ -1218,12 +1218,12 @@ files = [
[[package]] [[package]]
name = "torch" name = "torch"
version = "1.13.0" version = "1.13.1"
description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration" description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration"
optional = false optional = false
python-versions = ">=3.7.0" python-versions = ">=3.7.0"
files = [ files = [
{file = "torch-1.13.0-cp310-none-macosx_10_9_x86_64.whl", hash = "sha256:49a949b8136b32b2ec0724cbf4c6678b54e974b7d68f19f1231eea21cde5c23b"}, {file = "torch-1.13.1-cp310-none-macosx_10_9_x86_64.whl", hash = "sha256:393a6273c832e047581063fb74335ff50b4c566217019cc6ace318cd79eb0566"},
] ]
[package.dependencies] [package.dependencies]
...@@ -1234,16 +1234,16 @@ opt-einsum = ["opt-einsum (>=3.3)"] ...@@ -1234,16 +1234,16 @@ opt-einsum = ["opt-einsum (>=3.3)"]
[package.source] [package.source]
type = "url" type = "url"
url = "https://download.pytorch.org/whl/cpu/torch-1.13.0-cp310-none-macosx_10_9_x86_64.whl" url = "https://download.pytorch.org/whl/cpu/torch-1.13.1-cp310-none-macosx_10_9_x86_64.whl"
[[package]] [[package]]
name = "torch" name = "torch"
version = "1.13.0" version = "1.13.1"
description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration" description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration"
optional = false optional = false
python-versions = ">=3.7.0" python-versions = ">=3.7.0"
files = [ files = [
{file = "torch-1.13.0-cp310-none-macosx_11_0_arm64.whl", hash = "sha256:0fdd38c96230947b1ed870fed4a560252f8d23c3a2bf4dab9d2d42b18f2e67c8"}, {file = "torch-1.13.1-cp310-none-macosx_11_0_arm64.whl", hash = "sha256:0122806b111b949d21fa1a5f9764d1fd2fcc4a47cb7f8ff914204fd4fc752ed5"},
] ]
[package.dependencies] [package.dependencies]
...@@ -1254,16 +1254,16 @@ opt-einsum = ["opt-einsum (>=3.3)"] ...@@ -1254,16 +1254,16 @@ opt-einsum = ["opt-einsum (>=3.3)"]
[package.source] [package.source]
type = "url" type = "url"
url = "https://download.pytorch.org/whl/cpu/torch-1.13.0-cp310-none-macosx_11_0_arm64.whl" url = "https://download.pytorch.org/whl/cpu/torch-1.13.1-cp310-none-macosx_11_0_arm64.whl"
[[package]] [[package]]
name = "torch" name = "torch"
version = "1.13.0" version = "1.13.1"
description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration" description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration"
optional = false optional = false
python-versions = ">=3.7.0" python-versions = ">=3.7.0"
files = [ files = [
{file = "torch-1.13.0-cp310-cp310-manylinux2014_aarch64.whl", hash = "sha256:d2d2753519415d154de4d3e64d2eaaeefdba6b6fd7d69d5ffaef595988117700"}, {file = "torch-1.13.1-cp310-cp310-manylinux2014_aarch64.whl", hash = "sha256:d9fe785d375f2e26a5d5eba5de91f89e6a3be5d11efb497e76705fdf93fa3c2e"},
] ]
[package.dependencies] [package.dependencies]
...@@ -1274,16 +1274,16 @@ opt-einsum = ["opt-einsum (>=3.3)"] ...@@ -1274,16 +1274,16 @@ opt-einsum = ["opt-einsum (>=3.3)"]
[package.source] [package.source]
type = "url" type = "url"
url = "https://download.pytorch.org/whl/torch-1.13.0-cp310-cp310-manylinux2014_aarch64.whl" url = "https://download.pytorch.org/whl/torch-1.13.1-cp310-cp310-manylinux2014_aarch64.whl"
[[package]] [[package]]
name = "torch" name = "torch"
version = "1.13.0+cpu" version = "1.13.1+cpu"
description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration" description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration"
optional = false optional = false
python-versions = ">=3.7.0" python-versions = ">=3.7.0"
files = [ files = [
{file = "torch-1.13.0%2Bcpu-cp310-cp310-linux_x86_64.whl", hash = "sha256:b37a1a701fa00bcb9d508ebc509c3137df5f1cb9287548ee674893ac9561fbae"}, {file = "torch-1.13.1+cpu-cp310-cp310-linux_x86_64.whl", hash = "sha256:11692523b87c45b79ddfb5148b12a713d85235d399915490d94e079521f7e014"},
] ]
[package.dependencies] [package.dependencies]
...@@ -1294,16 +1294,16 @@ opt-einsum = ["opt-einsum (>=3.3)"] ...@@ -1294,16 +1294,16 @@ opt-einsum = ["opt-einsum (>=3.3)"]
[package.source] [package.source]
type = "url" type = "url"
url = "https://download.pytorch.org/whl/cpu/torch-1.13.0%2Bcpu-cp310-cp310-linux_x86_64.whl" url = "https://download.pytorch.org/whl/cpu/torch-1.13.1%2Bcpu-cp310-cp310-linux_x86_64.whl"
[[package]] [[package]]
name = "torch" name = "torch"
version = "1.13.0+cpu" version = "1.13.1+cpu"
description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration" description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration"
optional = false optional = false
python-versions = ">=3.7.0" python-versions = ">=3.7.0"
files = [ files = [
{file = "torch-1.13.0%2Bcpu-cp310-cp310-win_amd64.whl", hash = "sha256:6fe6a7b8c7fcb4ba5f9d20854ecd4d6a8644c5cb12ff9b72d1523c6dcf543606"}, {file = "torch-1.13.1+cpu-cp310-cp310-win_amd64.whl", hash = "sha256:207ab3700cd9c4349f4fd1892597eb3d385eb78221c0f2974ec54b8ea903aa00"},
] ]
[package.dependencies] [package.dependencies]
...@@ -1314,7 +1314,7 @@ opt-einsum = ["opt-einsum (>=3.3)"] ...@@ -1314,7 +1314,7 @@ opt-einsum = ["opt-einsum (>=3.3)"]
[package.source] [package.source]
type = "url" type = "url"
url = "https://download.pytorch.org/whl/cpu/torch-1.13.0%2Bcpu-cp310-cp310-win_amd64.whl" url = "https://download.pytorch.org/whl/cpu/torch-1.13.1%2Bcpu-cp310-cp310-win_amd64.whl"
[[package]] [[package]]
name = "tqdm" name = "tqdm"
...@@ -1549,4 +1549,4 @@ files = [ ...@@ -1549,4 +1549,4 @@ files = [
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.10" python-versions = "^3.10"
content-hash = "1fd85aa4696df0327a00f6ab3c89d1759577a4e302d88400213dac3ff88866f4" content-hash = "be778223ac873f8dedc6e7bd55be36fd66117fb3a33508c880627f785dab4623"
...@@ -29,12 +29,12 @@ numba = "^0.59.1" ...@@ -29,12 +29,12 @@ numba = "^0.59.1"
openai-whisper = "^20231117" openai-whisper = "^20231117"
faster-whisper = "^1.0.1" faster-whisper = "^1.0.1"
torch = [ torch = [
{markers = "sys_platform == 'darwin' and platform_machine == 'arm64'", url = "https://download.pytorch.org/whl/cpu/torch-1.13.0-cp310-none-macosx_11_0_arm64.whl"}, {markers = "sys_platform == 'darwin' and platform_machine == 'arm64'", url = "https://download.pytorch.org/whl/cpu/torch-1.13.1-cp310-none-macosx_11_0_arm64.whl"},
{markers = "sys_platform == 'linux' and platform_machine == 'arm64'", url="https://download.pytorch.org/whl/cpu/torch-1.13.0-cp310-none-macosx_11_0_arm64.whl"}, {markers = "sys_platform == 'linux' and platform_machine == 'arm64'", url="https://download.pytorch.org/whl/cpu/torch-1.13.1-cp310-none-macosx_11_0_arm64.whl"},
{markers = "sys_platform == 'darwin' and platform_machine == 'x86_64'", url = "https://download.pytorch.org/whl/cpu/torch-1.13.0-cp310-none-macosx_10_9_x86_64.whl"}, {markers = "sys_platform == 'darwin' and platform_machine == 'x86_64'", url = "https://download.pytorch.org/whl/cpu/torch-1.13.1-cp310-none-macosx_10_9_x86_64.whl"},
{markers = "sys_platform == 'linux' and platform_machine == 'aarch64'", url="https://download.pytorch.org/whl/torch-1.13.0-cp310-cp310-manylinux2014_aarch64.whl"}, {markers = "sys_platform == 'linux' and platform_machine == 'aarch64'", url="https://download.pytorch.org/whl/torch-1.13.1-cp310-cp310-manylinux2014_aarch64.whl"},
{markers = "sys_platform == 'linux' and platform_machine == 'x86_64'", url="https://download.pytorch.org/whl/cpu/torch-1.13.0%2Bcpu-cp310-cp310-linux_x86_64.whl"}, {markers = "sys_platform == 'linux' and platform_machine == 'x86_64'", url="https://download.pytorch.org/whl/cpu/torch-1.13.1%2Bcpu-cp310-cp310-linux_x86_64.whl"},
{markers = "sys_platform == 'win' and platform_machine == 'amd64'", url="https://download.pytorch.org/whl/cpu/torch-1.13.0%2Bcpu-cp310-cp310-win_amd64.whl"}, {markers = "sys_platform == 'win' and platform_machine == 'amd64'", url="https://download.pytorch.org/whl/cpu/torch-1.13.1%2Bcpu-cp310-cp310-win_amd64.whl"},
] ]
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment