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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Schwertgen
whisper-asr-webservice
Commits
9bf7d8b9
Commit
9bf7d8b9
authored
3 months ago
by
Ahmet Öner
Browse files
Options
Downloads
Patches
Plain Diff
Fix issues with Torch CUDA and cuDNN, fixes #283 and #284
parent
a8d0dcfb
No related branches found
No related tags found
No related merge requests found
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+4
-0
4 additions, 0 deletions
CHANGELOG.md
Dockerfile.gpu
+3
-1
3 additions, 1 deletion
Dockerfile.gpu
poetry.lock
+40
-441
40 additions, 441 deletions
poetry.lock
pyproject.toml
+3
-9
3 additions, 9 deletions
pyproject.toml
with
50 additions
and
451 deletions
CHANGELOG.md
+
4
−
0
View file @
9bf7d8b9
...
...
@@ -4,6 +4,10 @@ Changelog
Unreleased
----------
### Fixed
-
Fixed issues with Torch CUDA and cuDNN
[1.8.0] (2025-02-17)
--------------------
...
...
This diff is collapsed.
Click to expand it.
Dockerfile.gpu
+
3
−
1
View file @
9bf7d8b9
...
...
@@ -14,6 +14,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-venv \
python3-pip \
libcudnn8 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
RUN ln -s -f /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 && \
...
...
@@ -39,7 +41,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
RUN poetry install
RUN $POETRY_VENV/bin/pip install torch==2.6.0 --index-url https://download.pytorch.org/whl/cu12
1
RUN $POETRY_VENV/bin/pip install torch==2.6.0
+cu126 torchaudio==2.6.0+cu126
--index-url https://download.pytorch.org/whl/cu12
6
EXPOSE 9000
...
...
This diff is collapsed.
Click to expand it.
poetry.lock
+
40
−
441
View file @
9bf7d8b9
This diff is collapsed.
Click to expand it.
pyproject.toml
+
3
−
9
View file @
9bf7d8b9
...
...
@@ -12,7 +12,7 @@ packages = [{ include = "app" }]
whisper-asr-webservice
=
"app.webservice:start"
[[tool.poetry.source]]
name
=
"pytorch"
name
=
"pytorch
-cpu
"
url
=
"https://download.pytorch.org/whl/cpu"
priority
=
"explicit"
...
...
@@ -29,14 +29,8 @@ whisperx = "^3.3.1"
tqdm
=
"^4.67.1"
llvmlite
=
"^0.44.0"
numba
=
"^0.61.0"
torch
=
[
{
markers
=
"sys_platform
=
=
'darwin'
and
platform_machine
=
=
'arm64'", url = "
https://download.pytorch.org/whl/cpu/torch
-2.6
.
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
-2.6
.
0
-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
-2.6
.
0
-cp
310
-none-macosx_
11_0
_arm
64
.whl
" },
{
markers
=
"sys_platform
=
=
'linux'
and
platform_machine
=
=
'aarch64'", url = "
https://download.pytorch.org/whl/cpu/torch
-2.6
.
0
%
2
Bcpu-cp
310
-cp
310
-manylinux_
2_28
_aarch
64
.whl
" },
{
markers
=
"sys_platform
=
=
'linux'
and
platform_machine
=
=
'x86_64'", url = "
https://download.pytorch.org/whl/cpu/torch
-2.6
.
0
%
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
-2.6
.
0
%
2
Bcpu-cp
310
-cp
310
-win_amd
64
.whl
" },
]
torch
=
{
version
=
"2.6.0"
,
source
=
"pytorch-cpu"
}
torchaudio
=
{
version
=
"2.6.0"
,
source
=
"pytorch-cpu"
}
[poetry.group.dev.dependencies]
pytest
=
"^8.3.4"
...
...
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