Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find current origin/master revision in submodule path #87

Open
hthanhbmt opened this issue Dec 15, 2022 · 2 comments
Open

Unable to find current origin/master revision in submodule path #87

hthanhbmt opened this issue Dec 15, 2022 · 2 comments

Comments

@hthanhbmt
Copy link

hthanhbmt commented Dec 15, 2022

When I install I got some issue:

Unable to find current origin/master revision in submodule path third_party/cpuinfo
Failed to recurse into submodule path tools/marian-dev/src/3rd_party/fbgemm
Failed to recurse into submodule path tools/browsermt/marian-dev
Failed to recurse into submodule path tools/marian-dev

I found that cpuinfo and googletest repository changed the default "Master branch" to "Main branch", so we need to change the config in file:
tools/marian-dev/src/3rd_party/fbgemm/.gitmodules
and
tools/browsermt/marian-dev/src/3rd_party/fbgemm/.gitmodules

for example, I added the attribute branch = main

[submodule "third_party/cpuinfo"]
	path = third_party/cpuinfo
	url = https://github.com/pytorch/cpuinfo
	branch = main

[submodule "third_party/googletest"]
	path = third_party/googletest
	url = https://github.com/google/googletest
	branch = main
@pdakwal
Copy link

pdakwal commented Jan 6, 2023

@hthanhbmt I am getting the same error. Even after adding branch=main. Any success regarding this?

@hthanhbmt
Copy link
Author

@pdakwal

I remember I changed 2 files with the same content, you should check again. There are:
tools/marian-dev/src/3rd_party/fbgemm/.gitmodules
tools/browsermt/marian-dev/src/3rd_party/fbgemm/.gitmodules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants