File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ IN_PROGRESS_ID="47fc9ee4"
1212TODO_ID=" f75ad846"
1313
1414# Optional: keep these open issues visible as In Progress on the board
15- IN_PROGRESS_ISSUES=" vlang/vtl#41 vlang/vsl#225 vlang/vtl#63"
15+ IN_PROGRESS_ISSUES=" vlang/vtl#41 vlang/vsl#225 vlang/vtl#63 vlang/vtl#106 "
1616
1717echo " Fetching project $PROJECT_NUMBER items..."
1818items=$( gh project item-list " $PROJECT_NUMBER " --owner " $OWNER " --format json --limit 200)
Original file line number Diff line number Diff line change @@ -14,3 +14,9 @@ pub fn gpu_activations_enabled() bool {
1414pub fn cuda_backward_enabled () bool {
1515 return os.getenv ('VTL_USE_CUDA' ) == '1' && os.getenv ('VTL_CUDA_BACKWARD' ) == '1'
1616}
17+
18+ // cuda_optimizer_enabled will run Adam/SGD steps on GPU (Phase 4, #106). Not implemented yet.
19+ @[inline]
20+ pub fn cuda_optimizer_enabled () bool {
21+ return os.getenv ('VTL_USE_CUDA' ) == '1' && os.getenv ('VTL_CUDA_OPTIMIZER' ) == '1'
22+ }
Original file line number Diff line number Diff line change @@ -49,6 +49,6 @@ mut model := models.sequential_from_ctx[f64](ctx)
4949
5050- ** Phase 2** : GPU-resident ` Variable ` (` gpu_activation ` , #101 ) — done (#104 )
5151- ** Phase 3** : CUDA backward for Linear (opt-in) — done; Conv2D backward still CPU
52- - ** Phase 4** : Optimizer state on device (fused Adam step )
52+ - ** Phase 4** : Optimizer state on device (# 106 , ` VTL_CUDA_OPTIMIZER=1 ` reserved, not implemented )
5353
5454See [ DEV_LIGHTWEIGHT.md] ( DEV_LIGHTWEIGHT.md ) for safe test commands.
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ GPU memory: [DEVICE_MEMORY.md](DEVICE_MEMORY.md)
1414| [ #88 ] ( https://github.com/vlang/vtl/issues/88 ) | vs NumPy/PyTorch benchmarks + PR comments |
1515| [ #89 ] ( https://github.com/vlang/vtl/issues/89 ) –[ #91 ] ( https://github.com/vlang/vtl/issues/91 ) | CUDA Linear/Conv2D + ` DeviceSession ` (Phase 1) |
1616| [ #101 ] ( https://github.com/vlang/vtl/issues/101 ) /[ #104 ] ( https://github.com/vlang/vtl/pull/104 ) | GPU activation chain (Phase 2) |
17- | Phase 3 | Linear CUDA backward (` VTL_CUDA_BACKWARD=1 ` ) |
17+ | [ # 105 ] ( https://github.com/vlang/vtl/pull/105 ) | Linear CUDA backward (` VTL_CUDA_BACKWARD=1 ` , Phase 3 ) |
1818| [ #86 ] ( https://github.com/vlang/vtl/issues/86 ) | ` DataLoader ` |
1919
2020** VSL (downstream):** [ #280 ] ( https://github.com/vlang/vsl/issues/280 ) –[ #285 ] ( https://github.com/vlang/vsl/issues/285 ) .
@@ -25,7 +25,8 @@ GPU memory: [DEVICE_MEMORY.md](DEVICE_MEMORY.md)
2525| ----------| -------| --------|
2626| P1 | [ #41 ] ( https://github.com/vlang/vtl/issues/41 ) | Windows example crash |
2727| P1 | — | Full ` nn_cifar10 ` in CI (compile OOM on default runners) |
28- | P1 | follow-up | GPU Phase 4 optimizer on device ([ DEVICE_MEMORY.md] ( DEVICE_MEMORY.md ) ) |
28+ | P1 | [ #106 ] ( https://github.com/vlang/vtl/issues/106 ) | GPU Phase 4 optimizer on device |
29+ | P2 | [ #107 ] ( https://github.com/vlang/vtl/issues/107 ) | Conv2D CUDA backward |
2930| P2 | — | Conv2D CUDA backward; Vulkan in ` Sequential ` training |
3031| P2 | [ #63 ] ( https://github.com/vlang/vtl/issues/63 ) | ARM GPU support |
3132| P2 | — | Vulkan in ` Sequential ` training (today: smoke in ` nn_cifar10_vulkan ` ) |
You can’t perform that action at this time.
0 commit comments