diff --git a/docs/source/conf.py b/docs/source/conf.py index 79c4a65..e4ceec4 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/scripts/pyre_check.py b/scripts/pyre_check.py index 741ecc3..631ec2e 100644 --- a/scripts/pyre_check.py +++ b/scripts/pyre_check.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/setup.py b/setup.py index d749cff..2d2d1df 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/__init__.py b/tzrec/__init__.py index f11fc22..266b25e 100644 --- a/tzrec/__init__.py +++ b/tzrec/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/acc/__init__.py b/tzrec/acc/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/acc/__init__.py +++ b/tzrec/acc/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/acc/_aten_lowering_pass.py b/tzrec/acc/_aten_lowering_pass.py index 1b9d65f..d088ba7 100644 --- a/tzrec/acc/_aten_lowering_pass.py +++ b/tzrec/acc/_aten_lowering_pass.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/acc/_decompositions.py b/tzrec/acc/_decompositions.py index fcdac59..31d086f 100644 --- a/tzrec/acc/_decompositions.py +++ b/tzrec/acc/_decompositions.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/acc/aot_utils.py b/tzrec/acc/aot_utils.py index bd3aad4..210e97e 100644 --- a/tzrec/acc/aot_utils.py +++ b/tzrec/acc/aot_utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 @@ -32,6 +32,7 @@ # skip default bound check which is not allow by aot if "ENABLE_AOT" in os.environ: + # pyre-ignore [8] IntNBitTableBatchedEmbeddingBagsCodegen.__init__ = functools.partialmethod( IntNBitTableBatchedEmbeddingBagsCodegen.__init__, bounds_check_mode=BoundsCheckMode.NONE, @@ -45,9 +46,10 @@ del decomposition_table[aten._softmax.out] +# pyre-ignore [56] @register_decomposition(aten._softmax) @out_wrapper() -def _softmax(x: torch.Tensor, dim: int, half_to_float: bool): +def _softmax(x: torch.Tensor, dim: int, half_to_float: bool) -> torch.Tensor: # eager softmax returns a contiguous tensor. Ensure that decomp also returns # a contiguous tensor. x = x.contiguous() @@ -67,7 +69,7 @@ def _softmax(x: torch.Tensor, dim: int, half_to_float: bool): def export_model_aot( model: nn.Module, data: Dict[str, torch.Tensor], save_dir: str -) -> None: +) -> torch.export.ExportedProgram: """Export aot model. Args: diff --git a/tzrec/acc/trt_utils.py b/tzrec/acc/trt_utils.py index 89d32ef..3420a4e 100644 --- a/tzrec/acc/trt_utils.py +++ b/tzrec/acc/trt_utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/acc/utils.py b/tzrec/acc/utils.py index 1d5e174..cfa4933 100644 --- a/tzrec/acc/utils.py +++ b/tzrec/acc/utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/benchmark/__init__.py b/tzrec/benchmark/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/benchmark/__init__.py +++ b/tzrec/benchmark/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/benchmark/benchmark.py b/tzrec/benchmark/benchmark.py index 38b153f..7f78672 100644 --- a/tzrec/benchmark/benchmark.py +++ b/tzrec/benchmark/benchmark.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/constant.py b/tzrec/constant.py index 7155594..b4fcf8e 100644 --- a/tzrec/constant.py +++ b/tzrec/constant.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/__init__.py b/tzrec/datasets/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/datasets/__init__.py +++ b/tzrec/datasets/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/csv_dataset.py b/tzrec/datasets/csv_dataset.py index b874661..26b85eb 100644 --- a/tzrec/datasets/csv_dataset.py +++ b/tzrec/datasets/csv_dataset.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/csv_dataset_test.py b/tzrec/datasets/csv_dataset_test.py index e13174d..c9c3bed 100644 --- a/tzrec/datasets/csv_dataset_test.py +++ b/tzrec/datasets/csv_dataset_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/data_parser.py b/tzrec/datasets/data_parser.py index 6e46162..bcace55 100644 --- a/tzrec/datasets/data_parser.py +++ b/tzrec/datasets/data_parser.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/data_parser_test.py b/tzrec/datasets/data_parser_test.py index 29a0421..701101e 100644 --- a/tzrec/datasets/data_parser_test.py +++ b/tzrec/datasets/data_parser_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/dataset.py b/tzrec/datasets/dataset.py index f9233aa..33c41cd 100644 --- a/tzrec/datasets/dataset.py +++ b/tzrec/datasets/dataset.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/dataset_test.py b/tzrec/datasets/dataset_test.py index 6def303..3545533 100644 --- a/tzrec/datasets/dataset_test.py +++ b/tzrec/datasets/dataset_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/odps_dataset.py b/tzrec/datasets/odps_dataset.py index 78d04dd..fc6e254 100644 --- a/tzrec/datasets/odps_dataset.py +++ b/tzrec/datasets/odps_dataset.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/odps_dataset_test.py b/tzrec/datasets/odps_dataset_test.py index 5114d7a..7efbf20 100644 --- a/tzrec/datasets/odps_dataset_test.py +++ b/tzrec/datasets/odps_dataset_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/odps_dataset_v1.py b/tzrec/datasets/odps_dataset_v1.py index cdecc94..77d2555 100644 --- a/tzrec/datasets/odps_dataset_v1.py +++ b/tzrec/datasets/odps_dataset_v1.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/odps_dataset_v1_test.py b/tzrec/datasets/odps_dataset_v1_test.py index 8f284aa..e435db3 100644 --- a/tzrec/datasets/odps_dataset_v1_test.py +++ b/tzrec/datasets/odps_dataset_v1_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/parquet_dataset.py b/tzrec/datasets/parquet_dataset.py index 04f7844..8f6cc1a 100644 --- a/tzrec/datasets/parquet_dataset.py +++ b/tzrec/datasets/parquet_dataset.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/parquet_dataset_test.py b/tzrec/datasets/parquet_dataset_test.py index e1f6b8b..26c7139 100644 --- a/tzrec/datasets/parquet_dataset_test.py +++ b/tzrec/datasets/parquet_dataset_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/sampler.py b/tzrec/datasets/sampler.py index 384cfd6..75d105e 100644 --- a/tzrec/datasets/sampler.py +++ b/tzrec/datasets/sampler.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/sampler_test.py b/tzrec/datasets/sampler_test.py index 8bb82da..64f3071 100644 --- a/tzrec/datasets/sampler_test.py +++ b/tzrec/datasets/sampler_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/datasets/utils.py b/tzrec/datasets/utils.py index d4f6d6f..d041b24 100644 --- a/tzrec/datasets/utils.py +++ b/tzrec/datasets/utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/eval.py b/tzrec/eval.py index 59fb2fa..b009604 100644 --- a/tzrec/eval.py +++ b/tzrec/eval.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/export.py b/tzrec/export.py index 8b3e535..f6c4b5b 100644 --- a/tzrec/export.py +++ b/tzrec/export.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/__init__.py b/tzrec/features/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/features/__init__.py +++ b/tzrec/features/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/combo_feature.py b/tzrec/features/combo_feature.py index 549a668..53ba0b9 100644 --- a/tzrec/features/combo_feature.py +++ b/tzrec/features/combo_feature.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/combo_feature_test.py b/tzrec/features/combo_feature_test.py index 903af2d..8fd823d 100644 --- a/tzrec/features/combo_feature_test.py +++ b/tzrec/features/combo_feature_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/expr_feature.py b/tzrec/features/expr_feature.py index 39009e5..726e3b4 100644 --- a/tzrec/features/expr_feature.py +++ b/tzrec/features/expr_feature.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/expr_feature_test.py b/tzrec/features/expr_feature_test.py index 56dabd7..95e6106 100644 --- a/tzrec/features/expr_feature_test.py +++ b/tzrec/features/expr_feature_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/feature.py b/tzrec/features/feature.py index d8c306e..a533d8e 100644 --- a/tzrec/features/feature.py +++ b/tzrec/features/feature.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/feature_test.py b/tzrec/features/feature_test.py index a98d971..349a19c 100644 --- a/tzrec/features/feature_test.py +++ b/tzrec/features/feature_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/id_feature.py b/tzrec/features/id_feature.py index 6981bc5..4629b6a 100644 --- a/tzrec/features/id_feature.py +++ b/tzrec/features/id_feature.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/id_feature_test.py b/tzrec/features/id_feature_test.py index 15e88cd..dfea6af 100644 --- a/tzrec/features/id_feature_test.py +++ b/tzrec/features/id_feature_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/lookup_feature.py b/tzrec/features/lookup_feature.py index f01469a..3f91841 100644 --- a/tzrec/features/lookup_feature.py +++ b/tzrec/features/lookup_feature.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/lookup_feature_test.py b/tzrec/features/lookup_feature_test.py index a4c4618..4c6e5a2 100644 --- a/tzrec/features/lookup_feature_test.py +++ b/tzrec/features/lookup_feature_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/match_feature.py b/tzrec/features/match_feature.py index f51416d..7634633 100644 --- a/tzrec/features/match_feature.py +++ b/tzrec/features/match_feature.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/match_feature_test.py b/tzrec/features/match_feature_test.py index 9414b35..5ee4429 100644 --- a/tzrec/features/match_feature_test.py +++ b/tzrec/features/match_feature_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/overlap_feature.py b/tzrec/features/overlap_feature.py index 2f58ae5..e5a60e6 100644 --- a/tzrec/features/overlap_feature.py +++ b/tzrec/features/overlap_feature.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/overlap_feature_test.py b/tzrec/features/overlap_feature_test.py index e5fbca4..5f3f8ae 100644 --- a/tzrec/features/overlap_feature_test.py +++ b/tzrec/features/overlap_feature_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/raw_feature.py b/tzrec/features/raw_feature.py index ce4c2fe..3e99ed4 100644 --- a/tzrec/features/raw_feature.py +++ b/tzrec/features/raw_feature.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/raw_feature_test.py b/tzrec/features/raw_feature_test.py index 5ce21df..1d83a25 100644 --- a/tzrec/features/raw_feature_test.py +++ b/tzrec/features/raw_feature_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/sequence_feature.py b/tzrec/features/sequence_feature.py index 18ac53c..aa97f05 100644 --- a/tzrec/features/sequence_feature.py +++ b/tzrec/features/sequence_feature.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/sequence_feature_test.py b/tzrec/features/sequence_feature_test.py index bd36355..ce30d73 100644 --- a/tzrec/features/sequence_feature_test.py +++ b/tzrec/features/sequence_feature_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/tokenize_feature.py b/tzrec/features/tokenize_feature.py index e6db5e7..616a4ef 100644 --- a/tzrec/features/tokenize_feature.py +++ b/tzrec/features/tokenize_feature.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/features/tokenize_feature_test.py b/tzrec/features/tokenize_feature_test.py index 3efb3af..bf8bfec 100644 --- a/tzrec/features/tokenize_feature_test.py +++ b/tzrec/features/tokenize_feature_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/loss/__init__.py b/tzrec/loss/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/loss/__init__.py +++ b/tzrec/loss/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/loss/jrc_loss.py b/tzrec/loss/jrc_loss.py index 85723cd..6ff9623 100644 --- a/tzrec/loss/jrc_loss.py +++ b/tzrec/loss/jrc_loss.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/loss/jrc_loss_test.py b/tzrec/loss/jrc_loss_test.py index 401bf83..1c52ba2 100644 --- a/tzrec/loss/jrc_loss_test.py +++ b/tzrec/loss/jrc_loss_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/main.py b/tzrec/main.py index a120f8b..d98f6c6 100644 --- a/tzrec/main.py +++ b/tzrec/main.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/metrics/__init__.py b/tzrec/metrics/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/metrics/__init__.py +++ b/tzrec/metrics/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/metrics/grouped_auc.py b/tzrec/metrics/grouped_auc.py index 2a5b509..223112b 100644 --- a/tzrec/metrics/grouped_auc.py +++ b/tzrec/metrics/grouped_auc.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/metrics/grouped_auc_test.py b/tzrec/metrics/grouped_auc_test.py index 16d89f2..5137af9 100644 --- a/tzrec/metrics/grouped_auc_test.py +++ b/tzrec/metrics/grouped_auc_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/metrics/recall_at_k.py b/tzrec/metrics/recall_at_k.py index 4d6bb60..06f67cc 100644 --- a/tzrec/metrics/recall_at_k.py +++ b/tzrec/metrics/recall_at_k.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/metrics/recall_at_k_test.py b/tzrec/metrics/recall_at_k_test.py index 2a55a9f..cdd5e1c 100644 --- a/tzrec/metrics/recall_at_k_test.py +++ b/tzrec/metrics/recall_at_k_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/__init__.py b/tzrec/models/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/models/__init__.py +++ b/tzrec/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/dbmtl.py b/tzrec/models/dbmtl.py index 0100244..f02d6e4 100644 --- a/tzrec/models/dbmtl.py +++ b/tzrec/models/dbmtl.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/dbmtl_test.py b/tzrec/models/dbmtl_test.py index 8ec96e0..960b5f2 100644 --- a/tzrec/models/dbmtl_test.py +++ b/tzrec/models/dbmtl_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/dc2vr.py b/tzrec/models/dc2vr.py index b55d806..1ccd38c 100644 --- a/tzrec/models/dc2vr.py +++ b/tzrec/models/dc2vr.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/dc2vr_test.py b/tzrec/models/dc2vr_test.py index fdc5a7a..af3bc6a 100644 --- a/tzrec/models/dc2vr_test.py +++ b/tzrec/models/dc2vr_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/deepfm.py b/tzrec/models/deepfm.py index 12b05d2..0d4b9fa 100644 --- a/tzrec/models/deepfm.py +++ b/tzrec/models/deepfm.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/deepfm_test.py b/tzrec/models/deepfm_test.py index 09828c6..bffe326 100644 --- a/tzrec/models/deepfm_test.py +++ b/tzrec/models/deepfm_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/dssm.py b/tzrec/models/dssm.py index 47dbc3c..9bbab6d 100644 --- a/tzrec/models/dssm.py +++ b/tzrec/models/dssm.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/dssm_test.py b/tzrec/models/dssm_test.py index ce74d38..3a550d4 100644 --- a/tzrec/models/dssm_test.py +++ b/tzrec/models/dssm_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/dssm_v2.py b/tzrec/models/dssm_v2.py index ff54f7a..eea7918 100644 --- a/tzrec/models/dssm_v2.py +++ b/tzrec/models/dssm_v2.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/dssm_v2_test.py b/tzrec/models/dssm_v2_test.py index 3ea8c35..39b329b 100644 --- a/tzrec/models/dssm_v2_test.py +++ b/tzrec/models/dssm_v2_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/match_model.py b/tzrec/models/match_model.py index 5d5c9a0..5d244f5 100644 --- a/tzrec/models/match_model.py +++ b/tzrec/models/match_model.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/match_model_test.py b/tzrec/models/match_model_test.py index 541149a..3345472 100644 --- a/tzrec/models/match_model_test.py +++ b/tzrec/models/match_model_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/mmoe.py b/tzrec/models/mmoe.py index 146e5a7..14810fb 100644 --- a/tzrec/models/mmoe.py +++ b/tzrec/models/mmoe.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/mmoe_test.py b/tzrec/models/mmoe_test.py index 8fa7130..b5ee231 100644 --- a/tzrec/models/mmoe_test.py +++ b/tzrec/models/mmoe_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/model.py b/tzrec/models/model.py index 562c728..7612891 100644 --- a/tzrec/models/model.py +++ b/tzrec/models/model.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 @@ -241,6 +241,7 @@ def forward( class ScriptWrapperAOT(ScriptWrapper): """Model inference wrapper for aot export.""" + # pyre-ignore [14] def forward( self, data: Dict[str, torch.Tensor], diff --git a/tzrec/models/multi_task_rank.py b/tzrec/models/multi_task_rank.py index 483dc86..ff0a656 100644 --- a/tzrec/models/multi_task_rank.py +++ b/tzrec/models/multi_task_rank.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/multi_task_rank_test.py b/tzrec/models/multi_task_rank_test.py index b0dcacf..3fe177a 100644 --- a/tzrec/models/multi_task_rank_test.py +++ b/tzrec/models/multi_task_rank_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/multi_tower.py b/tzrec/models/multi_tower.py index 69f009b..6501512 100644 --- a/tzrec/models/multi_tower.py +++ b/tzrec/models/multi_tower.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/multi_tower_din.py b/tzrec/models/multi_tower_din.py index 14ef43e..72871c1 100644 --- a/tzrec/models/multi_tower_din.py +++ b/tzrec/models/multi_tower_din.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/multi_tower_din_test.py b/tzrec/models/multi_tower_din_test.py index dce0afc..ffaa15b 100644 --- a/tzrec/models/multi_tower_din_test.py +++ b/tzrec/models/multi_tower_din_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/multi_tower_din_trt.py b/tzrec/models/multi_tower_din_trt.py index a16476a..f43e44d 100644 --- a/tzrec/models/multi_tower_din_trt.py +++ b/tzrec/models/multi_tower_din_trt.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/multi_tower_test.py b/tzrec/models/multi_tower_test.py index 69bdf31..fbb7b31 100644 --- a/tzrec/models/multi_tower_test.py +++ b/tzrec/models/multi_tower_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/ple.py b/tzrec/models/ple.py index 9026012..0d139f1 100644 --- a/tzrec/models/ple.py +++ b/tzrec/models/ple.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/ple_test.py b/tzrec/models/ple_test.py index 18b0f23..11f630b 100644 --- a/tzrec/models/ple_test.py +++ b/tzrec/models/ple_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/rank_model.py b/tzrec/models/rank_model.py index 9ada02c..8997f86 100644 --- a/tzrec/models/rank_model.py +++ b/tzrec/models/rank_model.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/rank_model_test.py b/tzrec/models/rank_model_test.py index 11165b8..f722a17 100644 --- a/tzrec/models/rank_model_test.py +++ b/tzrec/models/rank_model_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/tdm.py b/tzrec/models/tdm.py index cdbe4f5..df8559e 100644 --- a/tzrec/models/tdm.py +++ b/tzrec/models/tdm.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/models/tdm_test.py b/tzrec/models/tdm_test.py index ece2b6a..2761b2e 100644 --- a/tzrec/models/tdm_test.py +++ b/tzrec/models/tdm_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/__init__.py b/tzrec/modules/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/modules/__init__.py +++ b/tzrec/modules/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/dense_embedding_collection.py b/tzrec/modules/dense_embedding_collection.py index 2949c5d..a451c5d 100644 --- a/tzrec/modules/dense_embedding_collection.py +++ b/tzrec/modules/dense_embedding_collection.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/dense_embedding_collection_test.py b/tzrec/modules/dense_embedding_collection_test.py index f43228d..fea049a 100644 --- a/tzrec/modules/dense_embedding_collection_test.py +++ b/tzrec/modules/dense_embedding_collection_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/embedding.py b/tzrec/modules/embedding.py index e6d4c2b..d9c79f7 100644 --- a/tzrec/modules/embedding.py +++ b/tzrec/modules/embedding.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/embedding_test.py b/tzrec/modules/embedding_test.py index 5ec1b87..ad9eb75 100644 --- a/tzrec/modules/embedding_test.py +++ b/tzrec/modules/embedding_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/extraction_net.py b/tzrec/modules/extraction_net.py index fe53ec5..15ace3d 100644 --- a/tzrec/modules/extraction_net.py +++ b/tzrec/modules/extraction_net.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/extraction_net_test.py b/tzrec/modules/extraction_net_test.py index 376311f..7dde181 100644 --- a/tzrec/modules/extraction_net_test.py +++ b/tzrec/modules/extraction_net_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/fm.py b/tzrec/modules/fm.py index 6037e86..d67a438 100644 --- a/tzrec/modules/fm.py +++ b/tzrec/modules/fm.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/fm_test.py b/tzrec/modules/fm_test.py index bcf9b11..4f26672 100644 --- a/tzrec/modules/fm_test.py +++ b/tzrec/modules/fm_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/interaction.py b/tzrec/modules/interaction.py index d5d2b84..a48402d 100644 --- a/tzrec/modules/interaction.py +++ b/tzrec/modules/interaction.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/interaction_test.py b/tzrec/modules/interaction_test.py index 10e5352..a44fed7 100644 --- a/tzrec/modules/interaction_test.py +++ b/tzrec/modules/interaction_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/intervention.py b/tzrec/modules/intervention.py index 5bd84e0..811e062 100644 --- a/tzrec/modules/intervention.py +++ b/tzrec/modules/intervention.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/intervention_test.py b/tzrec/modules/intervention_test.py index 7e69ffc..b5aecfa 100644 --- a/tzrec/modules/intervention_test.py +++ b/tzrec/modules/intervention_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/mlp.py b/tzrec/modules/mlp.py index 2041ac7..cd5d684 100644 --- a/tzrec/modules/mlp.py +++ b/tzrec/modules/mlp.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/mlp_test.py b/tzrec/modules/mlp_test.py index c8cf44e..b4fdd06 100644 --- a/tzrec/modules/mlp_test.py +++ b/tzrec/modules/mlp_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/mmoe.py b/tzrec/modules/mmoe.py index 14014f3..391fb96 100644 --- a/tzrec/modules/mmoe.py +++ b/tzrec/modules/mmoe.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/mmoe_test.py b/tzrec/modules/mmoe_test.py index 40eb821..e353aea 100644 --- a/tzrec/modules/mmoe_test.py +++ b/tzrec/modules/mmoe_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/sequence.py b/tzrec/modules/sequence.py index 3d4e44b..7b11903 100644 --- a/tzrec/modules/sequence.py +++ b/tzrec/modules/sequence.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/sequence_test.py b/tzrec/modules/sequence_test.py index 57e20fb..b81e8b4 100644 --- a/tzrec/modules/sequence_test.py +++ b/tzrec/modules/sequence_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/task_tower.py b/tzrec/modules/task_tower.py index d8b101b..b650b20 100644 --- a/tzrec/modules/task_tower.py +++ b/tzrec/modules/task_tower.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/task_tower_test.py b/tzrec/modules/task_tower_test.py index cd124be..e10450d 100644 --- a/tzrec/modules/task_tower_test.py +++ b/tzrec/modules/task_tower_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/variational_dropout.py b/tzrec/modules/variational_dropout.py index 372407d..59e78de 100644 --- a/tzrec/modules/variational_dropout.py +++ b/tzrec/modules/variational_dropout.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/modules/variational_dropout_test.py b/tzrec/modules/variational_dropout_test.py index 6ba215d..99182e3 100644 --- a/tzrec/modules/variational_dropout_test.py +++ b/tzrec/modules/variational_dropout_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/optim/__init__.py b/tzrec/optim/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/optim/__init__.py +++ b/tzrec/optim/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/optim/lr_scheduler.py b/tzrec/optim/lr_scheduler.py index abcb0c5..a39dcbb 100644 --- a/tzrec/optim/lr_scheduler.py +++ b/tzrec/optim/lr_scheduler.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/optim/lr_scheduler_test.py b/tzrec/optim/lr_scheduler_test.py index 1ce3136..4a9391e 100644 --- a/tzrec/optim/lr_scheduler_test.py +++ b/tzrec/optim/lr_scheduler_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/optim/optimizer_builder.py b/tzrec/optim/optimizer_builder.py index 8fed561..1c9b1fd 100644 --- a/tzrec/optim/optimizer_builder.py +++ b/tzrec/optim/optimizer_builder.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/predict.py b/tzrec/predict.py index 216e503..3160a1a 100644 --- a/tzrec/predict.py +++ b/tzrec/predict.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/protos/__init__.py b/tzrec/protos/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/protos/__init__.py +++ b/tzrec/protos/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/protos/models/__init__.py b/tzrec/protos/models/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/protos/models/__init__.py +++ b/tzrec/protos/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tests/__init__.py b/tzrec/tests/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/tests/__init__.py +++ b/tzrec/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tests/match_integration_test.py b/tzrec/tests/match_integration_test.py index 92fcc41..19dd774 100644 --- a/tzrec/tests/match_integration_test.py +++ b/tzrec/tests/match_integration_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tests/rank_integration_test.py b/tzrec/tests/rank_integration_test.py index e763bfa..f175959 100644 --- a/tzrec/tests/rank_integration_test.py +++ b/tzrec/tests/rank_integration_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tests/run.py b/tzrec/tests/run.py index 9aedb7a..6effd75 100644 --- a/tzrec/tests/run.py +++ b/tzrec/tests/run.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tests/utils.py b/tzrec/tests/utils.py index 8cde1b7..abcb33b 100644 --- a/tzrec/tests/utils.py +++ b/tzrec/tests/utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/__init__.py b/tzrec/tools/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/tools/__init__.py +++ b/tzrec/tools/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/add_feature_info_to_config.py b/tzrec/tools/add_feature_info_to_config.py index 441776e..7fea0ba 100644 --- a/tzrec/tools/add_feature_info_to_config.py +++ b/tzrec/tools/add_feature_info_to_config.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/add_feature_info_to_config_test.py b/tzrec/tools/add_feature_info_to_config_test.py index 4286c8e..3b1c290 100644 --- a/tzrec/tools/add_feature_info_to_config_test.py +++ b/tzrec/tools/add_feature_info_to_config_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/convert_easyrec_config_to_tzrec_config.py b/tzrec/tools/convert_easyrec_config_to_tzrec_config.py index f92dba6..799172b 100644 --- a/tzrec/tools/convert_easyrec_config_to_tzrec_config.py +++ b/tzrec/tools/convert_easyrec_config_to_tzrec_config.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/convert_easyrec_config_to_tzrec_config_test.py b/tzrec/tools/convert_easyrec_config_to_tzrec_config_test.py index d590dd8..f436f1e 100644 --- a/tzrec/tools/convert_easyrec_config_to_tzrec_config_test.py +++ b/tzrec/tools/convert_easyrec_config_to_tzrec_config_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/create_faiss_index.py b/tzrec/tools/create_faiss_index.py index 96075e4..6c21fca 100644 --- a/tzrec/tools/create_faiss_index.py +++ b/tzrec/tools/create_faiss_index.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/create_fg_json.py b/tzrec/tools/create_fg_json.py index b73f7d2..0a81076 100644 --- a/tzrec/tools/create_fg_json.py +++ b/tzrec/tools/create_fg_json.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/create_online_infer_data.py b/tzrec/tools/create_online_infer_data.py index e065db6..fd6ba2e 100644 --- a/tzrec/tools/create_online_infer_data.py +++ b/tzrec/tools/create_online_infer_data.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/feature_selection.py b/tzrec/tools/feature_selection.py index ae151d2..feff5af 100644 --- a/tzrec/tools/feature_selection.py +++ b/tzrec/tools/feature_selection.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/hitrate.py b/tzrec/tools/hitrate.py index eb172a4..75a4870 100644 --- a/tzrec/tools/hitrate.py +++ b/tzrec/tools/hitrate.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/list_distcp_param.py b/tzrec/tools/list_distcp_param.py index aa321bf..3b299a1 100644 --- a/tzrec/tools/list_distcp_param.py +++ b/tzrec/tools/list_distcp_param.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/__init__.py b/tzrec/tools/tdm/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/tools/tdm/__init__.py +++ b/tzrec/tools/tdm/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/cluster_tree.py b/tzrec/tools/tdm/cluster_tree.py index bb38b26..1c41cfa 100644 --- a/tzrec/tools/tdm/cluster_tree.py +++ b/tzrec/tools/tdm/cluster_tree.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/gen_tree/__init__.py b/tzrec/tools/tdm/gen_tree/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/tools/tdm/gen_tree/__init__.py +++ b/tzrec/tools/tdm/gen_tree/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/gen_tree/tree_builder.py b/tzrec/tools/tdm/gen_tree/tree_builder.py index 6696f03..a9aa312 100644 --- a/tzrec/tools/tdm/gen_tree/tree_builder.py +++ b/tzrec/tools/tdm/gen_tree/tree_builder.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/gen_tree/tree_builder_test.py b/tzrec/tools/tdm/gen_tree/tree_builder_test.py index 80a72e9..1bcfdaa 100644 --- a/tzrec/tools/tdm/gen_tree/tree_builder_test.py +++ b/tzrec/tools/tdm/gen_tree/tree_builder_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/gen_tree/tree_cluster.py b/tzrec/tools/tdm/gen_tree/tree_cluster.py index 6fc4025..0de2181 100644 --- a/tzrec/tools/tdm/gen_tree/tree_cluster.py +++ b/tzrec/tools/tdm/gen_tree/tree_cluster.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/gen_tree/tree_cluster_test.py b/tzrec/tools/tdm/gen_tree/tree_cluster_test.py index bbe4ca8..737aa6a 100644 --- a/tzrec/tools/tdm/gen_tree/tree_cluster_test.py +++ b/tzrec/tools/tdm/gen_tree/tree_cluster_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/gen_tree/tree_generator.py b/tzrec/tools/tdm/gen_tree/tree_generator.py index 0b1e8d4..3e13999 100644 --- a/tzrec/tools/tdm/gen_tree/tree_generator.py +++ b/tzrec/tools/tdm/gen_tree/tree_generator.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/gen_tree/tree_generator_test.py b/tzrec/tools/tdm/gen_tree/tree_generator_test.py index 8b8e634..5182da6 100644 --- a/tzrec/tools/tdm/gen_tree/tree_generator_test.py +++ b/tzrec/tools/tdm/gen_tree/tree_generator_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/gen_tree/tree_search_util.py b/tzrec/tools/tdm/gen_tree/tree_search_util.py index 874bd28..1568247 100644 --- a/tzrec/tools/tdm/gen_tree/tree_search_util.py +++ b/tzrec/tools/tdm/gen_tree/tree_search_util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/gen_tree/tree_search_util_test.py b/tzrec/tools/tdm/gen_tree/tree_search_util_test.py index 9d1a769..b99c9ad 100644 --- a/tzrec/tools/tdm/gen_tree/tree_search_util_test.py +++ b/tzrec/tools/tdm/gen_tree/tree_search_util_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/init_tree.py b/tzrec/tools/tdm/init_tree.py index 61c9c83..f64449f 100644 --- a/tzrec/tools/tdm/init_tree.py +++ b/tzrec/tools/tdm/init_tree.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/tools/tdm/retrieval.py b/tzrec/tools/tdm/retrieval.py index 391b6ce..9fe7a66 100644 --- a/tzrec/tools/tdm/retrieval.py +++ b/tzrec/tools/tdm/retrieval.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/train_eval.py b/tzrec/train_eval.py index cc93014..fd12c54 100644 --- a/tzrec/train_eval.py +++ b/tzrec/train_eval.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/__init__.py b/tzrec/utils/__init__.py index f971bcb..7d9f5d3 100644 --- a/tzrec/utils/__init__.py +++ b/tzrec/utils/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/checkpoint_util.py b/tzrec/utils/checkpoint_util.py index 697d0a2..d81ed57 100644 --- a/tzrec/utils/checkpoint_util.py +++ b/tzrec/utils/checkpoint_util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/checkpoint_util_test.py b/tzrec/utils/checkpoint_util_test.py index c81341f..a895570 100644 --- a/tzrec/utils/checkpoint_util_test.py +++ b/tzrec/utils/checkpoint_util_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/config_util.py b/tzrec/utils/config_util.py index 608f12c..8fc750d 100644 --- a/tzrec/utils/config_util.py +++ b/tzrec/utils/config_util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/config_util_test.py b/tzrec/utils/config_util_test.py index ab29f9d..71d9aae 100644 --- a/tzrec/utils/config_util_test.py +++ b/tzrec/utils/config_util_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/dist_util.py b/tzrec/utils/dist_util.py index 62e06e8..9ab38f8 100644 --- a/tzrec/utils/dist_util.py +++ b/tzrec/utils/dist_util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/env_util.py b/tzrec/utils/env_util.py index a684d0c..4b885bf 100644 --- a/tzrec/utils/env_util.py +++ b/tzrec/utils/env_util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/faiss_util.py b/tzrec/utils/faiss_util.py index fa9e592..d492ea2 100644 --- a/tzrec/utils/faiss_util.py +++ b/tzrec/utils/faiss_util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/faiss_util_test.py b/tzrec/utils/faiss_util_test.py index e88d7f4..fa177f8 100644 --- a/tzrec/utils/faiss_util_test.py +++ b/tzrec/utils/faiss_util_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/fx_util.py b/tzrec/utils/fx_util.py index 919f3ce..8011859 100644 --- a/tzrec/utils/fx_util.py +++ b/tzrec/utils/fx_util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/load_class.py b/tzrec/utils/load_class.py index fe488e6..dbd85de 100644 --- a/tzrec/utils/load_class.py +++ b/tzrec/utils/load_class.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/load_class_test.py b/tzrec/utils/load_class_test.py index 617a0d7..4b99d51 100644 --- a/tzrec/utils/load_class_test.py +++ b/tzrec/utils/load_class_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/logging_util.py b/tzrec/utils/logging_util.py index 0ab6999..8f3e19e 100644 --- a/tzrec/utils/logging_util.py +++ b/tzrec/utils/logging_util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/misc_util.py b/tzrec/utils/misc_util.py index 3e9b030..ea59db7 100644 --- a/tzrec/utils/misc_util.py +++ b/tzrec/utils/misc_util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/plan_util.py b/tzrec/utils/plan_util.py index 595ca69..1f872e2 100644 --- a/tzrec/utils/plan_util.py +++ b/tzrec/utils/plan_util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/plan_util_test.py b/tzrec/utils/plan_util_test.py index f0cfb24..2e203c6 100644 --- a/tzrec/utils/plan_util_test.py +++ b/tzrec/utils/plan_util_test.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/utils/test_util.py b/tzrec/utils/test_util.py index e2d576d..a4a75ee 100644 --- a/tzrec/utils/test_util.py +++ b/tzrec/utils/test_util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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 diff --git a/tzrec/version.py b/tzrec/version.py index 2bf703f..4a2e63d 100644 --- a/tzrec/version.py +++ b/tzrec/version.py @@ -1,4 +1,4 @@ -# Copyright (c) 2024, Alibaba Group; +# Copyright (c) 2024-2025, Alibaba Group; # 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