Skip to content

Commit 90ca6b1

Browse files
Fix extension package
1 parent 0469f79 commit 90ca6b1

File tree

2 files changed

+2
-42
lines changed

2 files changed

+2
-42
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ TerminalSystemMonitorCUDAExt = "CUDA"
1717

1818
[compat]
1919
Aqua = "0.8.9"
20-
CUDA = "5.5.2"
2120
Dates = "1"
2221
JET = "0.9.12"
2322
MLDataDevices = "1.5.3"
@@ -32,6 +31,7 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
3231
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
3332
ReTestItems = "817f1d60-ba6b-4fd5-9520-3cf149f6a823"
3433
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
34+
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
3535

3636
[targets]
37-
test = ["Aqua", "JET", "ReTestItems", "Test"]
37+
test = ["Aqua", "JET", "ReTestItems", "Test", "CUDA"]

ext/TerminalSystemMonitorCUDAExt/TerminalSystemMonitorCUDAExt.jl

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6,46 +6,6 @@ using UnicodePlots: barplot
66
import TerminalSystemMonitor
77
using TerminalSystemMonitor: extract_number_and_unit
88

9-
"""
10-
Device 0 [NVIDIA GeForce GTX 1080 Ti] PCIe GEN 1@16x RX: 0.000 KiB/s TX: 0.000 KiB/s
11-
GPU 139MHz MEM 405MHz TEMP 39°C FAN 0% POW 11 / 280 W
12-
GPU[ 0%] MEM[ 0.096Gi/11.000Gi]
13-
14-
Device 1 [NVIDIA GeForce GTX 1080 Ti] PCIe GEN 1@16x RX: 0.000 KiB/s TX: 0.000 KiB/s
15-
GPU 139MHz MEM 405MHz TEMP 36°C FAN 0% POW 9 / 280 W
16-
GPU[ 0%] MEM[ 0.107Gi/11.000Gi]
17-
┌──────────────────────────────────────────────────────────────────────────────────┐
18-
100│GPU0 % │
19-
│GPU0 mem% │
20-
│ │
21-
75│ │
22-
│ │
23-
│ │
24-
50│ │
25-
│ │
26-
│ │
27-
25│ │
28-
│ │
29-
│ │
30-
0│──────────────────────────────────────────────────────────────────────────────────│
31-
└41s────────────────30s──────────────────20s─────────────────10s─────────────────0s┘
32-
┌──────────────────────────────────────────────────────────────────────────────────┐
33-
100│GPU1 % │
34-
│GPU1 mem% │
35-
│ │
36-
75│ │
37-
│ │
38-
│ │
39-
50│ │
40-
│ │
41-
│ │
42-
25│ │
43-
│ │
44-
│ │
45-
0│──────────────────────────────────────────────────────────────────────────────────│
46-
└41s────────────────30s──────────────────20s─────────────────10s─────────────────0s┘
47-
"""
48-
499
function _plot_gpu_utilization_rates(gpu_id, dev::CUDA.CuDevice)
5010
mig = uuid(dev) != parent_uuid(dev)
5111
nvml_dev = CUDA.NVML.Device(uuid(dev); mig)

0 commit comments

Comments
 (0)