diff --git a/LICENSE b/LICENSE index 91844dd..f8c9038 100644 --- a/LICENSE +++ b/LICENSE @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2021-2024 Xuehai Pan. All Rights Reserved. + Copyright 2021-2025 Xuehai Pan. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 0227669..f8f0b25 100644 --- a/README.md +++ b/README.md @@ -343,7 +343,7 @@ Type `nvitop --help` for more command options: usage: nvitop [--help] [--version] [--once | --monitor [{auto,full,compact}]] [--interval SEC] [--ascii] [--colorful] [--force-color] [--light] [--gpu-util-thresh th1 th2] [--mem-util-thresh th1 th2] - [--only idx [idx ...]] [--only-visible] + [--only INDEX [INDEX ...]] [--only-visible] [--compute] [--only-compute] [--graphics] [--only-graphics] [--user [USERNAME ...]] [--pid PID [PID ...]] @@ -379,7 +379,7 @@ coloring: ( 1 <= th1 < th2 <= 99, defaults: 10 80 ) device filtering: - --only idx [idx ...], -o idx [idx ...] + --only INDEX [INDEX ...], -o INDEX [INDEX ...] Only show the specified devices, suppress option `--only-visible`. --only-visible, -ov Only show devices in the `CUDA_VISIBLE_DEVICES` environment variable. diff --git a/docs/source/conf.py b/docs/source/conf.py index f0b8584..f98d91a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -22,7 +22,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspa # -- Project information ----------------------------------------------------- project = 'nvitop: the one-stop solution for GPU process management.' -copyright = '2021-2024, Xuehai Pan' +copyright = '2021-2025, Xuehai Pan' author = 'Xuehai Pan' diff --git a/install-nvidia-driver.sh b/install-nvidia-driver.sh index 088368d..cbe7942 100755 --- a/install-nvidia-driver.sh +++ b/install-nvidia-driver.sh @@ -13,7 +13,7 @@ # ============================================================================== # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop-exporter/LICENSE b/nvitop-exporter/LICENSE index 91844dd..f8c9038 100644 --- a/nvitop-exporter/LICENSE +++ b/nvitop-exporter/LICENSE @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2021-2024 Xuehai Pan. All Rights Reserved. + Copyright 2021-2025 Xuehai Pan. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/nvitop-exporter/nvitop_exporter/__init__.py b/nvitop-exporter/nvitop_exporter/__init__.py index c18e4d3..81cbfb9 100644 --- a/nvitop-exporter/nvitop_exporter/__init__.py +++ b/nvitop-exporter/nvitop_exporter/__init__.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop-exporter/nvitop_exporter/__main__.py b/nvitop-exporter/nvitop_exporter/__main__.py index a2e4b86..a812df3 100644 --- a/nvitop-exporter/nvitop_exporter/__main__.py +++ b/nvitop-exporter/nvitop_exporter/__main__.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop-exporter/nvitop_exporter/cli.py b/nvitop-exporter/nvitop_exporter/cli.py index 8fd6a2d..1616815 100644 --- a/nvitop-exporter/nvitop_exporter/cli.py +++ b/nvitop-exporter/nvitop_exporter/cli.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop-exporter/nvitop_exporter/exporter.py b/nvitop-exporter/nvitop_exporter/exporter.py index b7565f0..186759a 100644 --- a/nvitop-exporter/nvitop_exporter/exporter.py +++ b/nvitop-exporter/nvitop_exporter/exporter.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop-exporter/nvitop_exporter/utils.py b/nvitop-exporter/nvitop_exporter/utils.py index e868548..42d3dc9 100644 --- a/nvitop-exporter/nvitop_exporter/utils.py +++ b/nvitop-exporter/nvitop_exporter/utils.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop-exporter/nvitop_exporter/version.py b/nvitop-exporter/nvitop_exporter/version.py index d6f0e19..4e6eccd 100644 --- a/nvitop-exporter/nvitop_exporter/version.py +++ b/nvitop-exporter/nvitop_exporter/version.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/__init__.py b/nvitop/__init__.py index 2190a53..646d6f8 100644 --- a/nvitop/__init__.py +++ b/nvitop/__init__.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/api/LICENSE b/nvitop/api/LICENSE index 91844dd..f8c9038 100644 --- a/nvitop/api/LICENSE +++ b/nvitop/api/LICENSE @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2021-2024 Xuehai Pan. All Rights Reserved. + Copyright 2021-2025 Xuehai Pan. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/nvitop/api/__init__.py b/nvitop/api/__init__.py index ec1e2cb..e04e899 100644 --- a/nvitop/api/__init__.py +++ b/nvitop/api/__init__.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/api/collector.py b/nvitop/api/collector.py index 8878c9e..e58bfde 100644 --- a/nvitop/api/collector.py +++ b/nvitop/api/collector.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/api/device.py b/nvitop/api/device.py index 4b4f5bf..e3c5f69 100644 --- a/nvitop/api/device.py +++ b/nvitop/api/device.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/api/host.py b/nvitop/api/host.py index d401fe3..a45afce 100644 --- a/nvitop/api/host.py +++ b/nvitop/api/host.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/api/libcuda.py b/nvitop/api/libcuda.py index 693db05..50b50c4 100644 --- a/nvitop/api/libcuda.py +++ b/nvitop/api/libcuda.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/api/libcudart.py b/nvitop/api/libcudart.py index 67722c4..2e7f3fc 100644 --- a/nvitop/api/libcudart.py +++ b/nvitop/api/libcudart.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/api/libnvml.py b/nvitop/api/libnvml.py index e1efe37..4e1fbb6 100644 --- a/nvitop/api/libnvml.py +++ b/nvitop/api/libnvml.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/api/process.py b/nvitop/api/process.py index 8fb03aa..06ce91a 100644 --- a/nvitop/api/process.py +++ b/nvitop/api/process.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/api/utils.py b/nvitop/api/utils.py index 9f44f73..87ea6a9 100644 --- a/nvitop/api/utils.py +++ b/nvitop/api/utils.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/callbacks/LICENSE b/nvitop/callbacks/LICENSE index 91844dd..f8c9038 100644 --- a/nvitop/callbacks/LICENSE +++ b/nvitop/callbacks/LICENSE @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2021-2024 Xuehai Pan. All Rights Reserved. + Copyright 2021-2025 Xuehai Pan. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/nvitop/callbacks/__init__.py b/nvitop/callbacks/__init__.py index f1b8128..1e109ae 100644 --- a/nvitop/callbacks/__init__.py +++ b/nvitop/callbacks/__init__.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/callbacks/keras.py b/nvitop/callbacks/keras.py index 5fa108c..3094688 100644 --- a/nvitop/callbacks/keras.py +++ b/nvitop/callbacks/keras.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/callbacks/lightning.py b/nvitop/callbacks/lightning.py index 4442c07..592d37d 100644 --- a/nvitop/callbacks/lightning.py +++ b/nvitop/callbacks/lightning.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/callbacks/pytorch_lightning.py b/nvitop/callbacks/pytorch_lightning.py index 9c4d111..d6b52d3 100644 --- a/nvitop/callbacks/pytorch_lightning.py +++ b/nvitop/callbacks/pytorch_lightning.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/callbacks/tensorboard.py b/nvitop/callbacks/tensorboard.py index 61b9674..4475df8 100644 --- a/nvitop/callbacks/tensorboard.py +++ b/nvitop/callbacks/tensorboard.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/callbacks/utils.py b/nvitop/callbacks/utils.py index 7c3dbf7..9adb5f8 100644 --- a/nvitop/callbacks/utils.py +++ b/nvitop/callbacks/utils.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/cli.py b/nvitop/cli.py index 2050e8d..14eb3d9 100644 --- a/nvitop/cli.py +++ b/nvitop/cli.py @@ -163,7 +163,7 @@ def parse_arguments() -> argparse.Namespace: dest='only', type=int, nargs='+', - metavar='idx', + metavar='INDEX', help='Only show the specified devices, suppress option `--only-visible`.', ) device_filtering.add_argument( diff --git a/nvitop/gui/screens/help.py b/nvitop/gui/screens/help.py index 5ef4480..d98439d 100644 --- a/nvitop/gui/screens/help.py +++ b/nvitop/gui/screens/help.py @@ -7,7 +7,7 @@ from nvitop.gui.library import Device, Displayable, MouseEvent from nvitop.version import __version__ -HELP_TEMPLATE = """nvitop {} - (C) Xuehai Pan, 2021-2024. +HELP_TEMPLATE = """nvitop {} - (C) Xuehai Pan, 2021-2025. Released under the GNU GPLv3 License. GPU Process Type: C: Compute, G: Graphics, X: Mixed. diff --git a/nvitop/select.py b/nvitop/select.py index ebec42b..5091f8a 100644 --- a/nvitop/select.py +++ b/nvitop/select.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/nvitop/version.py b/nvitop/version.py index 341544f..750506e 100644 --- a/nvitop/version.py +++ b/nvitop/version.py @@ -1,6 +1,6 @@ # This file is part of nvitop, the interactive NVIDIA-GPU process viewer. # -# Copyright 2021-2024 Xuehai Pan. All Rights Reserved. +# Copyright 2021-2025 Xuehai Pan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.