Closed hecmay closed 4 years ago
Anaconda download page: https://anaconda.org/cornell-zhang/heterocl-libs
Can you also provide the information on how we use it with conda? What does heterocl-libs mean?
Can you also provide the information on how we use it with conda? What does heterocl-libs mean?
To install this package with conda run:
conda install -c cornell-zhang heterocl-libs
It is exactly the same way as you install other conda packages, for example numpy
conda install -c conda-forge numpy
And after you install it, you can import it with python (from conda). The library name can be changed later.
What I'm actually asking is why don't we use heterocl instead of heterocl-libs
refer to conda in tvm repo: https://github.com/apache/incubator-tvm/tree/master/conda
heterocl-libs: install heterocl python packages with libhcl c++ so library. heterocl: python packages only (heterocl and hlib)
Ok. This is the very reason I asked you to provide the complete command-line usage. I only saw heterocl-libs; hence the question.
Can you also update the HeteroCL README as well?
I think we only need the one that also installs the .so library. Without that, users cannot run HeteroCL in most cases.
I think we only need the one that also installs the .so library. Without that, users cannot run HeteroCL in most cases.
Agreed.
@seanlatias @Hecmay I suggest we update & move the installation instructions from the HCL website to the README file.
Agreed. But the conda test does not pass. The package can compile, but conda complains it cannot find CXXABI 3.2.22. I need to debug before we update the README.
The bug has been fixed. The new version is tested on vLab. Annaconda download link: https://anaconda.org/cornell-zhang/heterocl.
Install the compiled library and python package with the following command.
conda install -c cornell-zhang heterocl
It runs much faster than to compile & install from source. Not surprising bc it uses the pre-compiled llvmdev and cmake binaries provided by conda.
Awesome!
@Hecmay Have we updated the installation guide?
I think I need to discuss with Sean to decide where to put the installation guide. I would prefer to put it in github README.
I suggest we update & move the installation instructions from the HCL website to the README file
This is my suggestion. We need to update README regardless.