mmdeploy/docs/en/01-how-to-build/build_from_source.md
RunningLeon 4bb9bc738c
bump version to v1.0.0 (#1960)
* change docs from 1.x to main

* bump version

* update readme status info and highlights

* revert version change

* fix dead links

* fix script

* fix docs

* fix building status

* fix md lint error

* upgrade to ubuntu20.04 for github ci

* Revert "upgrade to ubuntu20.04 for github ci"

This reverts commit 9c598f4857633dfb96b116ca9fb9a5d15b5fa6b4.

* update codebase md files

* upgrade to ubuntu20.04 for github ci

* fix

* fix requirements

* fix

* fix ci

* bump version

* fix

* fix pplnn torchscript

* fix building status

* fix ncnn

* fix

* remove circileci hold

* fix pytorch image
2023-04-06 12:07:42 +08:00

992 B

Build from Source

Download

git clone -b main git@github.com:open-mmlab/mmdeploy.git --recursive

Note:

  • If fetching submodule fails, you could get submodule manually by following instructions:

    cd mmdeploy
    git clone git@github.com:NVIDIA/cub.git third_party/cub
    cd third_party/cub
    git checkout c3cceac115
    
    # go back to third_party directory and git clone pybind11
    cd ..
    git clone git@github.com:pybind/pybind11.git pybind11
    cd pybind11
    git checkout 70a58c5
    
  • If it fails when git clone via SSH, you can try the HTTPS protocol like this:

    git clone -b main https://github.com/open-mmlab/mmdeploy.git --recursive
    

Build

Please visit the following links to find out how to build MMDeploy according to the target platform.