From 4abf814eb0db0bedb709710499351e1fea0e56c3 Mon Sep 17 00:00:00 2001 From: Pablo Garay Date: Tue, 4 Nov 2025 22:42:05 -0800 Subject: [PATCH 1/6] update copyright check version Signed-off-by: Pablo Garay --- .github/workflows/copyright-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/copyright-check.yml b/.github/workflows/copyright-check.yml index 0dcd0635..d28decd6 100644 --- a/.github/workflows/copyright-check.yml +++ b/.github/workflows/copyright-check.yml @@ -20,6 +20,6 @@ on: jobs: copyright-check: - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_copyright_check.yml@v0.65.4 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_copyright_check.yml@v0.65.13 with: from-year: 2024 From 3483553b07e1acc08beb911e556ff1bc6c8feada Mon Sep 17 00:00:00 2001 From: Pablo Garay Date: Tue, 4 Nov 2025 22:49:30 -0800 Subject: [PATCH 2/6] fix Signed-off-by: Pablo Garay --- .github/workflows/copyright-check.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/copyright-check.yml b/.github/workflows/copyright-check.yml index d28decd6..cb04b512 100644 --- a/.github/workflows/copyright-check.yml +++ b/.github/workflows/copyright-check.yml @@ -21,5 +21,3 @@ on: jobs: copyright-check: uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_copyright_check.yml@v0.65.13 - with: - from-year: 2024 From a24a23bbde25e086b481a52fc3bca4b66d3cc2f1 Mon Sep 17 00:00:00 2001 From: Pablo Garay Date: Tue, 4 Nov 2025 22:55:55 -0800 Subject: [PATCH 3/6] fix2 Signed-off-by: Pablo Garay --- .github/workflows/copyright-check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/copyright-check.yml b/.github/workflows/copyright-check.yml index cb04b512..c98e9210 100644 --- a/.github/workflows/copyright-check.yml +++ b/.github/workflows/copyright-check.yml @@ -20,4 +20,5 @@ on: jobs: copyright-check: - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_copyright_check.yml@v0.65.13 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_copyright_check.yml@v0.54.4 + secrets: inherit From 162c74ba0821641fc1692ca9841705841e0324d3 Mon Sep 17 00:00:00 2001 From: Pablo Garay Date: Tue, 4 Nov 2025 23:01:42 -0800 Subject: [PATCH 4/6] add copyright notice Signed-off-by: Pablo Garay --- docs/conf.py | 15 +++++++++++++++ examples/docker/hello_docker.py | 15 +++++++++++++++ examples/entrypoint/experiment.py | 15 +++++++++++++++ examples/entrypoint/task.py | 15 +++++++++++++++ examples/entrypoint/task_with_defaults.py | 15 +++++++++++++++ nemo_run/cli/lazy.py | 15 +++++++++++++++ nemo_run/core/execution/dgxcloud.py | 15 +++++++++++++++ nemo_run/core/execution/launcher.py | 15 +++++++++++++++ nemo_run/core/execution/lepton.py | 15 +++++++++++++++ nemo_run/core/execution/skypilot_jobs.py | 15 +++++++++++++++ nemo_run/core/packaging/hybrid.py | 15 +++++++++++++++ nemo_run/run/job.py | 15 +++++++++++++++ .../run/torchx_backend/schedulers/dgxcloud.py | 15 +++++++++++++++ nemo_run/run/torchx_backend/schedulers/lepton.py | 15 +++++++++++++++ .../torchx_backend/schedulers/skypilot_jobs.py | 15 +++++++++++++++ test/cli/test_config.py | 15 +++++++++++++++ test/cli/test_lazy.py | 15 +++++++++++++++ test/core/execution/test_skypilot_jobs.py | 15 +++++++++++++++ test/core/packaging/test_hybrid.py | 15 +++++++++++++++ test/core/tunnel/test_rsync.py | 15 +++++++++++++++ test/dummy_script.py | 15 +++++++++++++++ test/dummy_type.py | 15 +++++++++++++++ test/run/test_job.py | 15 +++++++++++++++ .../schedulers/test_skypilot_jobs.py | 15 +++++++++++++++ 24 files changed, 360 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 4261aaf5..66b9d160 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Configuration file for the Sphinx documentation builder. # # For the full list of built-in configuration values, see the documentation: diff --git a/examples/docker/hello_docker.py b/examples/docker/hello_docker.py index 3e97d482..b2cd71ff 100644 --- a/examples/docker/hello_docker.py +++ b/examples/docker/hello_docker.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import nemo_run as run if __name__ == "__main__": diff --git a/examples/entrypoint/experiment.py b/examples/entrypoint/experiment.py index 3e341957..465449cd 100644 --- a/examples/entrypoint/experiment.py +++ b/examples/entrypoint/experiment.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from dataclasses import dataclass from typing import List diff --git a/examples/entrypoint/task.py b/examples/entrypoint/task.py index ac89c713..7e637c2c 100644 --- a/examples/entrypoint/task.py +++ b/examples/entrypoint/task.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from dataclasses import dataclass from typing import List diff --git a/examples/entrypoint/task_with_defaults.py b/examples/entrypoint/task_with_defaults.py index aaebabf3..aa9e3c83 100644 --- a/examples/entrypoint/task_with_defaults.py +++ b/examples/entrypoint/task_with_defaults.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from dataclasses import dataclass from typing import List diff --git a/nemo_run/cli/lazy.py b/nemo_run/cli/lazy.py index efee05b6..f6785dbb 100644 --- a/nemo_run/cli/lazy.py +++ b/nemo_run/cli/lazy.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import ast import builtins import contextlib diff --git a/nemo_run/core/execution/dgxcloud.py b/nemo_run/core/execution/dgxcloud.py index b8b64528..1973d7f8 100644 --- a/nemo_run/core/execution/dgxcloud.py +++ b/nemo_run/core/execution/dgxcloud.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import base64 import json import logging diff --git a/nemo_run/core/execution/launcher.py b/nemo_run/core/execution/launcher.py index 7e6c14a8..d994a86c 100644 --- a/nemo_run/core/execution/launcher.py +++ b/nemo_run/core/execution/launcher.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import os import pathlib from dataclasses import dataclass, field diff --git a/nemo_run/core/execution/lepton.py b/nemo_run/core/execution/lepton.py index 61a70b43..c32d07b3 100644 --- a/nemo_run/core/execution/lepton.py +++ b/nemo_run/core/execution/lepton.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import base64 import logging import os diff --git a/nemo_run/core/execution/skypilot_jobs.py b/nemo_run/core/execution/skypilot_jobs.py index ddb9854b..d5edb179 100644 --- a/nemo_run/core/execution/skypilot_jobs.py +++ b/nemo_run/core/execution/skypilot_jobs.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import logging import os import subprocess diff --git a/nemo_run/core/packaging/hybrid.py b/nemo_run/core/packaging/hybrid.py index 318b49d4..4aeb250a 100644 --- a/nemo_run/core/packaging/hybrid.py +++ b/nemo_run/core/packaging/hybrid.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import os from dataclasses import dataclass, field from pathlib import Path diff --git a/nemo_run/run/job.py b/nemo_run/run/job.py index d019e694..b232a03d 100644 --- a/nemo_run/run/job.py +++ b/nemo_run/run/job.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import sys import traceback from dataclasses import dataclass, field diff --git a/nemo_run/run/torchx_backend/schedulers/dgxcloud.py b/nemo_run/run/torchx_backend/schedulers/dgxcloud.py index 1489ecaf..0865da58 100644 --- a/nemo_run/run/torchx_backend/schedulers/dgxcloud.py +++ b/nemo_run/run/torchx_backend/schedulers/dgxcloud.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import json import logging import os diff --git a/nemo_run/run/torchx_backend/schedulers/lepton.py b/nemo_run/run/torchx_backend/schedulers/lepton.py index f68e86a2..0b012c19 100644 --- a/nemo_run/run/torchx_backend/schedulers/lepton.py +++ b/nemo_run/run/torchx_backend/schedulers/lepton.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import json import logging import os diff --git a/nemo_run/run/torchx_backend/schedulers/skypilot_jobs.py b/nemo_run/run/torchx_backend/schedulers/skypilot_jobs.py index f812d251..d364c359 100644 --- a/nemo_run/run/torchx_backend/schedulers/skypilot_jobs.py +++ b/nemo_run/run/torchx_backend/schedulers/skypilot_jobs.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import json import os import shutil diff --git a/test/cli/test_config.py b/test/cli/test_config.py index 5a21998d..ea334e3c 100644 --- a/test/cli/test_config.py +++ b/test/cli/test_config.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pytest import json import toml diff --git a/test/cli/test_lazy.py b/test/cli/test_lazy.py index 94c7e28e..dd74b94e 100644 --- a/test/cli/test_lazy.py +++ b/test/cli/test_lazy.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from dataclasses import dataclass from pathlib import Path from typing import Dict, List, Literal, Optional, Union diff --git a/test/core/execution/test_skypilot_jobs.py b/test/core/execution/test_skypilot_jobs.py index f1fecb64..66a7e953 100644 --- a/test/core/execution/test_skypilot_jobs.py +++ b/test/core/execution/test_skypilot_jobs.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import os import tempfile from unittest.mock import MagicMock, mock_open, patch diff --git a/test/core/packaging/test_hybrid.py b/test/core/packaging/test_hybrid.py index e60096d3..824b6ef1 100644 --- a/test/core/packaging/test_hybrid.py +++ b/test/core/packaging/test_hybrid.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import filecmp import os import subprocess diff --git a/test/core/tunnel/test_rsync.py b/test/core/tunnel/test_rsync.py index a22d8e49..ddc0ba41 100644 --- a/test/core/tunnel/test_rsync.py +++ b/test/core/tunnel/test_rsync.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """Tests for the rsync module.""" import unittest diff --git a/test/dummy_script.py b/test/dummy_script.py index fda35b1a..a9ad47df 100644 --- a/test/dummy_script.py +++ b/test/dummy_script.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import nemo_run as run with run.lazy_imports(): diff --git a/test/dummy_type.py b/test/dummy_type.py index cc3695b0..71a6a94b 100644 --- a/test/dummy_type.py +++ b/test/dummy_type.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + class RealType: def __init__(self, value=42): self.value = value diff --git a/test/run/test_job.py b/test/run/test_job.py index 5cf5f5f0..896e4841 100644 --- a/test/run/test_job.py +++ b/test/run/test_job.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from unittest.mock import MagicMock, patch import pytest diff --git a/test/run/torchx_backend/schedulers/test_skypilot_jobs.py b/test/run/torchx_backend/schedulers/test_skypilot_jobs.py index 9c8b1c6d..46c6d75e 100644 --- a/test/run/torchx_backend/schedulers/test_skypilot_jobs.py +++ b/test/run/torchx_backend/schedulers/test_skypilot_jobs.py @@ -1,3 +1,18 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import json import os import tempfile From bce3f0c8270156512a70079f9bffde5cbc880c51 Mon Sep 17 00:00:00 2001 From: Pablo Garay Date: Tue, 4 Nov 2025 23:11:33 -0800 Subject: [PATCH 5/6] lintfix Signed-off-by: Pablo Garay --- test/dummy_type.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/dummy_type.py b/test/dummy_type.py index 71a6a94b..9eff8284 100644 --- a/test/dummy_type.py +++ b/test/dummy_type.py @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. + class RealType: def __init__(self, value=42): self.value = value From de2d3cd6a3bef76e7bf29fed116945a4e9221325 Mon Sep 17 00:00:00 2001 From: Pablo Garay Date: Tue, 4 Nov 2025 23:16:42 -0800 Subject: [PATCH 6/6] undo Signed-off-by: Pablo Garay --- .github/workflows/copyright-check.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/copyright-check.yml b/.github/workflows/copyright-check.yml index c98e9210..55d95abd 100644 --- a/.github/workflows/copyright-check.yml +++ b/.github/workflows/copyright-check.yml @@ -21,4 +21,3 @@ on: jobs: copyright-check: uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_copyright_check.yml@v0.54.4 - secrets: inherit