Skip to content

Commit

Permalink
added missing license headers
Browse files Browse the repository at this point in the history
Signed-off-by: Alp Dener <[email protected]>
  • Loading branch information
denera committed Nov 21, 2023
1 parent f2e5fa9 commit 71c16ae
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 1 deletion.
3 changes: 3 additions & 0 deletions examples/jax/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See LICENSE for license information.
3 changes: 3 additions & 0 deletions examples/jax/encoder/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See LICENSE for license information.
3 changes: 3 additions & 0 deletions examples/jax/mnist/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See LICENSE for license information.
3 changes: 3 additions & 0 deletions examples/paddle/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See LICENSE for license information.
3 changes: 3 additions & 0 deletions examples/paddle/mnist/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See LICENSE for license information.
3 changes: 3 additions & 0 deletions examples/pytorch/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See LICENSE for license information.
3 changes: 3 additions & 0 deletions examples/pytorch/mnist/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See LICENSE for license information.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def main():
}
)
test_paths = []
for path, dirs, files in os.walk(f'tests/{framework}'):
for path, _, _ in os.walk(f'tests/{framework}'):
test_paths += [ f'{path}/*.py' ]
package_data.update( { f'transformer_engine.{framework}.tests': test_paths } )

Expand Down
4 changes: 4 additions & 0 deletions tests/jax/test_encoder.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See LICENSE for license information.

import pytest
import transformer_engine.jax as te
from transformer_engine.jax.examples.encoder.single_gpu import encoder_parser, train_and_evaluate
Expand Down
4 changes: 4 additions & 0 deletions tests/jax/test_mnist.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See LICENSE for license information.

import pytest
import transformer_engine.jax as te
from transformer_engine.jax.examples.mnist.single_gpu import mnist_parser, train_and_evaluate
Expand Down

0 comments on commit 71c16ae

Please sign in to comment.