github.com/alwaysproblem/mlserving-tutorial@v0.0.0-20221124033215-121cfddbfbf4/TorchServing/README.md (about)

     1  # Torch
     2  
     3  ## Build from source
     4  
     5  ## environment preparation
     6  
     7  - anaconda installation
     8  
     9  ```bash
    10  
    11  ```
    12  
    13  ```bash
    14  conda create -n pytorch python=3.8 -y
    15  conda activate pytorch
    16  ```
    17  
    18  ```bash
    19  cd CustomOp
    20  bash test.sh
    21  ```
    22  
    23  
    24  - https://pytorch.org/tutorials/advanced/cpp_extension.html
    25  - https://pytorch.org/docs/stable/notes/extending.html
    26  - https://github.com/pytorch/extension-ffi
    27  - https://pytorch.org/tutorials/advanced/torch_script_custom_ops
    28  - https://pytorch.org/tutorials/advanced/dispatcher.html
    29  - https://pytorch.org/tutorials/advanced/torch_script_custom_classes.html
    30  - https://pytorch.org/tutorials/advanced/extend_dispatcher.html