If you already have a local PaddlePaddle repo and have not initialized the submodule, you can simply run the following command in your PaddlePaddle home directory.
If you already have a local PaddlePaddle repo and have not initialized the submodule, your local submodule folder will be empty. You can simply run the following command in your PaddlePaddle home directory to initialze your submodule folder.
```
```
git submodule update --init --recursive
git submodule update --init --recursive
```
```
To sync with the upstream submodule repo, you can run the following command
If you have already initialized your submodule and you would like to sync with the upstream submodule repo, you can run the following command