Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.face
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.bio.face
Merge requests
!204
Unset the number of used threads
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Unset the number of used threads
thread-fix-removal
into
master
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Unset the number of used threads
André MAYORAZ
requested to merge
thread-fix-removal
into
master
Feb 20, 2023
Overview
0
Commits
1
Pipelines
2
Changes
1
Closes
#95 (closed)
.
Unset the number of threads used by pytorch. (now managed in the CI)
Edited
Feb 20, 2023
by
André MAYORAZ
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
df2652bf
1 commit,
Feb 20, 2023
1 file
+
0
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/bob/bio/face/embeddings/pytorch.py
+
0
−
3
View file @ df2652bf
Edit in single-file editor
Open in Web IDE
Show full file
@@ -23,9 +23,6 @@ from bob.bio.face.utils import (
embedding_transformer
,
)
# Fix for torch on docker (fixes CI linux runners):
torch
.
set_num_threads
(
1
)
class
PyTorchModel
(
TransformerMixin
,
BaseEstimator
):
"""
Loading