# TorchFly **Repository Path**: sun-haoxin/TorchFly ## Basic Information - **Project Name**: TorchFly - **Description**: https://github.com/qywu/TorchFly - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-03 - **Last Updated**: 2023-04-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README -------------------------------------------------------------------------------- ## Installment Currently, TorchFly only supports Linux. Please download [conda](https://www.anaconda.com/distribution/#download-section) and create a virtual environment first (Python >= 3.6). ```bash # create virtual env conda create -n torchfly python=3.7 ``` [apex](https://github.com/qywu/apex) is recommended, but it may need modifications if cuda version is mismatched. You can install it via: ```bash # make sure ``nvcc`` is installed # modified the error due to cuda version git clone https://github.com/qywu/apex cd apex pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./ ``` Then install this library in developer mode: ```bash # clone repo git clone https://github.com/qywu/TorchFly # install the repo pip install -e . ``` To use the repo, ```python import torchfly ``` ## Documentation https://qywu.github.io/TorchFly