Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mednet
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
medai
software
mednet
Merge requests
!4
Moved code to lightning
代码
评审变更
检出分支
下载
补丁
文本差异
Merged
Moved code to lightning
move-to-lightning
into
main
Overview
2
Commits
79
Pipelines
17
Changes
24
Merged
Daniel CARRON
requested to merge
move-to-lightning
into
main
1 year ago
Overview
2
Commits
79
Pipelines
17
Changes
1
Expand
Updating codebase to make use of pytorch-lightning
Main train/valid loops are handled by lightning
Removed device-handling code
Each model implements its own train/valid/predict steps
Updated config files for use with lightning
Using lightning checkpointing and logging callbacks
Updated DeviceMonitor to be compatible with lightning
0
0
Merge request reports
Compare
version 4
version 16
507a6207
1 year ago
version 15
f3cc3c55
1 year ago
version 14
b3b1462b
1 year ago
version 13
0baca28d
1 year ago
version 12
06ff7884
1 year ago
version 11
27647fcc
1 year ago
version 10
0a858361
1 year ago
version 9
55f4eac1
1 year ago
version 8
4964077c
1 year ago
version 7
c41430c7
1 year ago
version 6
d711a4fa
1 year ago
version 5
2a7513e8
1 year ago
version 4
f53b7d95
1 year ago
version 3
c60bd4f0
1 year ago
version 2
51efda26
1 year ago
version 1
bf25f806
1 year ago
main (base)
and
version 5
latest version
f87e433e
79 commits,
1 year ago
version 16
507a6207
42 commits,
1 year ago
version 15
f3cc3c55
39 commits,
1 year ago
version 14
b3b1462b
38 commits,
1 year ago
version 13
0baca28d
37 commits,
1 year ago
version 12
06ff7884
34 commits,
1 year ago
version 11
27647fcc
33 commits,
1 year ago
version 10
0a858361
32 commits,
1 year ago
version 9
55f4eac1
31 commits,
1 year ago
version 8
4964077c
30 commits,
1 year ago
version 7
c41430c7
29 commits,
1 year ago
version 6
d711a4fa
27 commits,
1 year ago
version 5
2a7513e8
26 commits,
1 year ago
version 4
f53b7d95
25 commits,
1 year ago
version 3
c60bd4f0
24 commits,
1 year ago
version 2
51efda26
23 commits,
1 year ago
version 1
bf25f806
22 commits,
1 year ago
Show latest version
1 file
+
1
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/ptbench/engine/trainer.py
+
1
−
0
Options
@@ -42,6 +42,7 @@ class AcceleratorProcessor:
if
len
(
split_accelerator
)
>
1
:
devices
=
split_accelerator
[
1
:]
devices
=
[
int
(
i
)
for
i
in
devices
]
os
.
environ
[
"
CUDA_VISIBLE_DEVICES
"
]
=
devices
else
:
devices
=
"
auto
"
Loading