From 0bcb5e02609e87a201259e0eb3735a9410063636 Mon Sep 17 00:00:00 2001 From: Xuehai Pan Date: Sat, 18 Jan 2025 23:14:57 +0800 Subject: [PATCH] chore: update license header --- LICENSE | 2 +- README.md | 4 ++-- docs/source/conf.py | 2 +- install-nvidia-driver.sh | 2 +- nvitop-exporter/LICENSE | 2 +- nvitop-exporter/nvitop_exporter/__init__.py | 2 +- nvitop-exporter/nvitop_exporter/__main__.py | 2 +- nvitop-exporter/nvitop_exporter/cli.py | 2 +- nvitop-exporter/nvitop_exporter/exporter.py | 2 +- nvitop-exporter/nvitop_exporter/utils.py | 2 +- nvitop-exporter/nvitop_exporter/version.py | 2 +- nvitop/__init__.py | 2 +- nvitop/api/LICENSE | 2 +- nvitop/api/__init__.py | 2 +- nvitop/api/collector.py | 2 +- nvitop/api/device.py | 2 +- nvitop/api/host.py | 2 +- nvitop/api/libcuda.py | 2 +- nvitop/api/libcudart.py | 2 +- nvitop/api/libnvml.py | 2 +- nvitop/api/process.py | 2 +- nvitop/api/utils.py | 2 +- nvitop/callbacks/LICENSE | 2 +- nvitop/callbacks/__init__.py | 2 +- nvitop/callbacks/keras.py | 2 +- nvitop/callbacks/lightning.py | 2 +- nvitop/callbacks/pytorch_lightning.py | 2 +- nvitop/callbacks/tensorboard.py | 2 +- nvitop/callbacks/utils.py | 2 +- nvitop/cli.py | 2 +- nvitop/gui/screens/help.py | 2 +- nvitop/select.py | 2 +- nvitop/version.py | 2 +- 33 files changed, 34 insertions(+), 34 deletions(-) diff --git a/LICENSE b/LICENSE index 91844dd7..f8c9038d 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 02276690..f8f0b254 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 f0b8584b..f98d91a2 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -22,7 +22,7 @@ # -- 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 088368d5..cbe79421 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 91844dd7..f8c9038d 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 c18e4d3e..81cbfb9b 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 a2e4b862..a812df33 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 8fd6a2d9..16168156 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 b7565f0f..186759a7 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 e8685489..42d3dc91 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 d6f0e195..4e6eccda 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 2190a538..646d6f8e 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 91844dd7..f8c9038d 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 ec1e2cb2..e04e8992 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 8878c9e1..e58bfdec 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 4b4f5bf1..e3c5f69d 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 d401fe31..a45afce1 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 693db05b..50b50c48 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 67722c4e..2e7f3fc1 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 e1efe378..4e1fbb69 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 8fb03aa8..06ce91a6 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 9f44f733..87ea6a9e 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 91844dd7..f8c9038d 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 f1b81282..1e109aec 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 5fa108c9..30946885 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 4442c075..592d37df 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 9c4d1118..d6b52d35 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 61b96744..4475df86 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 7c3dbf7a..9adb5f81 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 2050e8df..14eb3d92 100644 --- a/nvitop/cli.py +++ b/nvitop/cli.py @@ -163,7 +163,7 @@ def posfloat(argstring: str) -> float: 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 5ef44807..d98439df 100644 --- a/nvitop/gui/screens/help.py +++ b/nvitop/gui/screens/help.py @@ -7,7 +7,7 @@ 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 ebec42b0..5091f8a8 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 341544fa..750506e0 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.