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

How to check out the specific mxnet version? #27

Closed
abduallahmohamed opened this issue Jun 8, 2017 · 3 comments
Closed

How to check out the specific mxnet version? #27

abduallahmohamed opened this issue Jun 8, 2017 · 3 comments

Comments

@abduallahmohamed
Copy link

Hello,
I'm trying to checkout this specific version of mxnet you have mentioned, https://github.com/dmlc/mxnet/tree/62ecb60

I do the following steps:
git clone --recursive https://github.com/dmlc/mxnet
git checkout 62ecb60

and start compiling but nothing works, am I getting the sub modules somehow wrong ?

@abduallahmohamed
Copy link
Author

Ok,
git checkout 62ecb60, and compiling mxnet isn't working due to wrong decencies,
so I solved it by checking out the correct version for each dependencies .
so the full instruction are:

Install the following:

apt-get install -y build-essential git
apt-get install -y libopenblas-dev
apt-get install -y libopencv-dev

Clone:
git clone --recursive https://github.com/dmlc/mxnet
Checkout the correct version:

git checkout 62ecb60
cd /mxnet/cub/;git checkout 89de7ab;
cd /mxnet/dmlc-core/;git checkout b5bec54;
cd /mxnet/mshadow/;git checkout 23210f3;
cd /mxnet/nnvm/;git checkout ddf3c17;
cd /mxnet/nnvm/dmlc-core/;git checkout 3a51614;
cd /mxnet/ps-lite/;git checkout acdb698;

And then compile it with:
cd /mxnet/; make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1;

@meetps
Copy link

meetps commented Dec 27, 2017

error: pathspec '89de7ab' did not match any file(s) known to git.

when I try to do git checkout 89de7ab in the cub repo.

Any solutions?

@meetps
Copy link

meetps commented Dec 27, 2017

I've solved this by checking out to v1.6.4 on cub submodule.

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