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

I have question at testing and running | installation #1

Open
developerChans opened this issue Feb 25, 2022 · 1 comment
Open

I have question at testing and running | installation #1

developerChans opened this issue Feb 25, 2022 · 1 comment

Comments

@developerChans
Copy link

on installation document ...

Configure and Build
To build the compiler, create a build directory and run cmake on the source directory. It's a good idea to build two configurations (Release and Debug) because some programs take a really long time to run in Debug mode. It's also a good idea to build the project outside of the source directory.

mkdir build
cd build
export TVM_HOME=/path/to/nest_compiler/tvm
export PYTHONPATH=/path/to/nest_compiler/tvm/python
export TVM_LIBRARY_PATH=/path/to/build/tvm
cmake -G Ninja /path/to/nest_compiler -DCMAKE_BUILD_TYPE=Release -DNESTC_WITH_EVTA=ON -DNESTC_EVTA_BUNDLE_TEST=ON -DGLOW_WITH_BUNDLES=ON -DNESTC_USE_PRECOMPILED_EVTA_LIBRARY=ON
ninja check_nestc

Where should I put that build folder?
Also, where exactly should I route the TVM?
Should I grab it as HOME/USER?
Also, when I run cmake, I get some errors, but there is no requirement.txt of the project?

on testing and running document...

Now run the examples. Note that the databases should be in the current working directory.

./bin/mnist
./bin/cifar10
./bin/fr2en
./bin/ptb
./bin/char-rnn

where is that ./bin directory...?
that download_datasets_and_models.py --all-datasets dont have bin...

@developerChans
Copy link
Author

developerChans commented Feb 25, 2022

And in installation document...
change that nest_compiler -> nest-compiler

export TVM_HOME=/path/to/nest-compiler/tvm
export PYTHONPATH=/path/to/nest-compiler/tvm/python
export TVM_LIBRARY_PATH=/path/to/build/tvm
cmake -G Ninja /path/to/nest-compiler -DCMAKE_BUILD_TYPE=Release -DNESTC_WITH_EVTA=ON -DNESTC_EVTA_BUNDLE_TEST=ON -DGLOW_WITH_BUNDLES=ON -DNESTC_USE_PRECOMPILED_EVTA_LIBRARY=ON

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

1 participant