From e67eb05af10e28e224eb940a678476e3d97ee1dc Mon Sep 17 00:00:00 2001 From: Mengtao Yuan Date: Wed, 17 Apr 2024 07:08:16 -0700 Subject: [PATCH 1/2] Create __init__.py in example folder For my internal CentOS development env, `python -m examples/models/...` does not work with error message that module cannot be found. Adding this empty file fixes the issue. --- examples/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 examples/__init__.py diff --git a/examples/__init__.py b/examples/__init__.py new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/examples/__init__.py @@ -0,0 +1 @@ + From ad4d8f49dfbfbd672e0263b21f14555c2a8b01a9 Mon Sep 17 00:00:00 2001 From: Mengtao Yuan Date: Wed, 17 Apr 2024 09:46:01 -0700 Subject: [PATCH 2/2] Add licenses --- examples/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/__init__.py b/examples/__init__.py index 8b137891791..2e41cd717f6 100644 --- a/examples/__init__.py +++ b/examples/__init__.py @@ -1 +1,5 @@ - +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree.