Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
whisper-asr-webservice
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Schwertgen
whisper-asr-webservice
Commits
9b411520
Unverified
Commit
9b411520
authored
Apr 16, 2024
by
Ahmet Oner
Committed by
GitHub
Apr 16, 2024
Browse files
Options
Downloads
Plain Diff
Merge pull request #212 from ahmetoner/upgrade-torch
Upgrade torch to v1.13.1, fixes #206
parents
d0d25ecd
88e78fff
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
CHANGELOG.md
+4
-0
4 additions, 0 deletions
CHANGELOG.md
Dockerfile.gpu
+1
-1
1 addition, 1 deletion
Dockerfile.gpu
docs/build.md
+1
-1
1 addition, 1 deletion
docs/build.md
poetry.lock
+16
-16
16 additions, 16 deletions
poetry.lock
pyproject.toml
+6
-6
6 additions, 6 deletions
pyproject.toml
with
28 additions
and
24 deletions
CHANGELOG.md
+
4
−
0
View file @
9b411520
...
@@ -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)
--------------------
--------------------
...
...
This diff is collapsed.
Click to expand it.
Dockerfile.gpu
+
1
−
1
View file @
9b411520
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
docs/build.md
+
1
−
1
View file @
9b411520
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
poetry.lock
+
16
−
16
View file @
9b411520
...
@@ -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:
49a949b8136b32b2ec0724cbf
4c66
78b54e974b7d68f19f1231eea21cde5c23b
"
}
,
{file
=
"torch-1.13.
1
-cp310-none-macosx_10_9_x86_64.whl"
,
hash
=
"sha256:
393a6273c832e047581063fb74335ff50b
4c
5
66
217019cc6ace318cd79eb0566
"
}
,
]
]
[
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:0
fdd38c96230947b1ed870fed4a560252f8d23c3a2bf4dab9d2d42b18f2e67c8
"
}
,
{file
=
"torch-1.13.
1
-cp310-none-macosx_11_0_arm64.whl"
,
hash
=
"sha256:0
122806b111b949d21fa1a5f9764d1fd2fcc4a47cb7f8ff914204fd4fc752ed5
"
}
,
]
]
[
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:d
2d2753519415d154de4d3e64d2eaaeefdba6b6fd7d69d5ffaef595988117700
"
}
,
{file
=
"torch-1.13.
1
-cp310-cp310-manylinux2014_aarch64.whl"
,
hash
=
"sha256:d
9fe785d375f2e26a5d5eba5de91f89e6a3be5d11efb497e76705fdf93fa3c2e
"
}
,
]
]
[
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%2B
cpu-cp310-cp310-linux_x86_64.whl"
,
hash
=
"sha256:
b37a1a701fa00bcb9d508ebc509c3137df5f1cb9287548ee674893ac
95
6
1f
bae
"
}
,
{file
=
"torch-1.13.
1+
cpu-cp310-cp310-linux_x86_64.whl"
,
hash
=
"sha256:
11692523b87c45b79ddfb5148b12a713d85235d399915490d94e07
95
2
1f
7e014
"
}
,
]
]
[
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%2B
cpu-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
"
This diff is collapsed.
Click to expand it.
pyproject.toml
+
6
−
6
View file @
9b411520
...
@@ -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
-cp
310
-none-macosx_
11_0
_arm
64
.whl
"},
{markers
=
"sys_platform
=
=
'darwin'
and
platform_machine
=
=
'arm64'", url = "
https://download.pytorch.org/whl/cpu/torch
-1.13
.
1
-cp
310
-none-macosx_
11_0
_arm
64
.whl
"},
{markers
=
"sys_platform
=
=
'linux'
and
platform_machine
=
=
'arm64'", url="
https://download.pytorch.org/whl/cpu/torch
-1.13
.
0
-cp
310
-none-macosx_
11_0
_arm
64
.whl
"},
{markers
=
"sys_platform
=
=
'linux'
and
platform_machine
=
=
'arm64'", url="
https://download.pytorch.org/whl/cpu/torch
-1.13
.
1
-cp
310
-none-macosx_
11_0
_arm
64
.whl
"},
{markers
=
"sys_platform
=
=
'darwin'
and
platform_machine
=
=
'x86_64'", url = "
https://download.pytorch.org/whl/cpu/torch
-1.13
.
0
-cp
310
-none-macosx_
10_9
_x
86_64
.whl
"},
{markers
=
"sys_platform
=
=
'darwin'
and
platform_machine
=
=
'x86_64'", url = "
https://download.pytorch.org/whl/cpu/torch
-1.13
.
1
-cp
310
-none-macosx_
10_9
_x
86_64
.whl
"},
{markers
=
"sys_platform
=
=
'linux'
and
platform_machine
=
=
'aarch64'", url="
https://download.pytorch.org/whl/torch
-1.13
.
0
-cp
310
-cp
310
-manylinux
2014
_aarch
64
.whl
"},
{markers
=
"sys_platform
=
=
'linux'
and
platform_machine
=
=
'aarch64'", url="
https://download.pytorch.org/whl/torch
-1.13
.
1
-cp
310
-cp
310
-manylinux
2014
_aarch
64
.whl
"},
{markers
=
"sys_platform
=
=
'linux'
and
platform_machine
=
=
'x86_64'", url="
https://download.pytorch.org/whl/cpu/torch
-1.13
.
0
%
2
Bcpu-cp
310
-cp
310
-linux_x
86_64
.whl
"},
{markers
=
"sys_platform
=
=
'linux'
and
platform_machine
=
=
'x86_64'", url="
https://download.pytorch.org/whl/cpu/torch
-1.13
.
1
%
2
Bcpu-cp
310
-cp
310
-linux_x
86_64
.whl
"},
{markers
=
"sys_platform
=
=
'win'
and
platform_machine
=
=
'amd64'", url="
https://download.pytorch.org/whl/cpu/torch
-1.13
.
0
%
2
Bcpu-cp
310
-cp
310
-win_amd
64
.whl
"},
{markers
=
"sys_platform
=
=
'win'
and
platform_machine
=
=
'amd64'", url="
https://download.pytorch.org/whl/cpu/torch
-1.13
.
1
%
2
Bcpu-cp
310
-cp
310
-win_amd
64
.whl
"},
]
]
[tool.poetry.dev-dependencies]
[tool.poetry.dev-dependencies]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment