Skip to content

Commit eac40b7

Browse files
committed
Move to cuda_core 1.0.0
1 parent ebc722a commit eac40b7

4 files changed

Lines changed: 5 additions & 18 deletions

File tree

conda/environments/all_arch-any.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ channels:
66
- conda-forge
77
dependencies:
88
- cuda-bindings>=12.9.6,!=13.0.*,!=13.1.*
9-
- cuda-core @ git+https://github.com/nvidia/cuda-python@main#subdirectory=cuda_core
9+
- cuda-core>=1.0.0
1010
- jupyterlab>=4.0.0
1111
- nodejs=18
1212
- pre-commit

dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ dependencies:
7474
- jupyterlab>=4.0.0
7575
- psutil
7676
- cuda-bindings>=12.9.6,!=13.0.*,!=13.1.*
77-
- cuda-core @ git+https://github.com/nvidia/cuda-python@main#subdirectory=cuda_core
77+
- cuda-core>=1.0.0
7878
test_python:
7979
common:
8080
- output_types: [conda, requirements, pyproject]

jupyterlab_nvdashboard/apps/gpu.py

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -181,21 +181,8 @@ def send_data(self):
181181
# Max PCIe Throughput = BW-per-lane * Width
182182
max_rxtx_tp = pci_width * pci_bw[pci_gen]
183183

184-
pci_tx = [
185-
device.pci_info.get_throughput(
186-
system.PcieUtilCounter.PCIE_UTIL_TX_BYTES
187-
)
188-
* 1024
189-
for device in gpus
190-
]
191-
192-
pci_rx = [
193-
device.pci_info.get_throughput(
194-
system.PcieUtilCounter.PCIE_UTIL_RX_BYTES
195-
)
196-
* 1024
197-
for device in gpus
198-
]
184+
pci_tx = [device.pci_info.tx_throughput * 1024 for device in gpus]
185+
pci_rx = [device.pci_info.rx_throughput * 1024 for device in gpus]
199186

200187
stats = {
201188
"pci_tx": pci_tx,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ classifiers = [
3131
]
3232
dependencies = [
3333
"cuda-bindings>=12.9.6,!=13.0.*,!=13.1.*",
34-
"cuda-core @ git+https://github.com/nvidia/cuda-python@main#subdirectory=cuda_core",
34+
"cuda-core>=1.0.0",
3535
"jupyterlab>=4.0.0",
3636
"psutil",
3737
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.

0 commit comments

Comments
 (0)