camenduru / wheels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐣 Please follow me for new updates https://twitter.com/camenduru
🔥 Please join our discord server https://discord.gg/k5BwmmvJJU
🥳 Please join my patreon community https://patreon.com/camenduru

🧬 Code

https://github.com/NVlabs/tiny-cuda-nn
https://github.com/open-mmlab/mmcv
https://github.com/facebookresearch/xformers
https://github.com/facebookresearch/pytorch3d
https://github.com/nerfstudio-project/nerfacc
https://github.com/facebookresearch/detectron2
https://github.com/NVIDIAGameWorks/kaolin
https://github.com/mit-han-lab/torchsparse
https://github.com/mapillary/inplace_abn
https://github.com/modelscope/modelscope
https://github.com/facebookresearch/detectron2/tree/main/projects/DensePose
https://github.com/NVlabs/nvdiffrast
https://github.com/haotian-liu/LLaVA
https://github.com/chengzeyi/stable-fast
https://github.com/open-mmlab/mmhuman3d
https://github.com/SHI-Labs/NATTEN
https://github.com/nvidia/nemo
https://github.com/openpifpaf/openpifpaf
https://github.com/apache/tvm
https://github.com/mlc-ai/mlc-llm

🦒 Colab T4

Screenshot 2023-12-18 17gfd0946

mmcv_full-1.7.1-cp310-cp310-linux_x86_64.whl

-std=c++14 to -std=c++17

%cd /content
!git clone -b v1.7.1 https://github.com/open-mmlab/mmcv
%cd /content/mmcv
!MMCV_WITH_OPS=1 pip wheel -v .

tinycudann-1.7-cp310-cp310-linux_x86_64.whl

!pip wheel -v git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch

nerfacc-0.5.3-cp310-cp310-linux_x86_64.whl

!pip wheel -v git+https://github.com/nerfstudio-project/nerfacc@v0.5.3

detectron2-0.6-cp310-cp310-linux_x86_64.whl

!pip wheel -v git+https://github.com/facebookresearch/detectron2

pytorch3d-0.7.5-cp310-cp310-linux_x86_64.whl

!pip wheel -v git+https://github.com/facebookresearch/pytorch3d

kaolin-0.15.0a0-cp310-cp310-linux_x86_64.whl

%cd /content
!git clone --recursive https://github.com/NVIDIAGameWorks/kaolin
%cd /content/kaolin
!pip wheel -v .

inplace_abn-1.1.0-cp310-cp310-linux_x86_64.whl

!pip wheel -v inplace-abn

torchsparse-2.0.0b0-cp310-cp310-linux_x86_64.whl

!apt install libsparsehash-dev
%cd /content
!git clone -b v2.0.0 --recursive https://github.com/mit-han-lab/torchsparse
%cd /content/torchsparse
!pip wheel -v .

modelscope-1.10.0-py3-none-any.whl

%cd /content
!git clone -b v1.10.0 --recursive https://github.com/modelscope/modelscope
%cd /content/modelscope
!pip install -q addict yapf simplejson
!pip wheel -v .

detectron2_densepose-0.6-py3-none-any.whl

!pip wheel -v git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose

nvdiffrast-0.3.1-py3-none-any.whl

%cd /content
!git clone -b v0.3.1 --recursive https://github.com/NVlabs/nvdiffrast
%cd /content/nvdiffrast
!pip wheel -v .

llava-ShareGPT4V-1.1.3-py3-none-any.whl

%cd /content
!git clone -b v1.1.3 --recursive https://github.com/haotian-liu/LLaVA
%cd /content/LLaVA
#delete torch==2.0.1, torchvision==0.15.2 in pyproject.toml
!pip wheel -v .
%cd /content
!git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose
%cd /content/openpose
!git submodule update --init --recursive --remote
!apt install -qq libprotobuf-dev protobuf-compiler libgoogle-glog-dev
!mkdir /content/openpose/build
%cd /content/openpose/build
!cmake ..
!cmake ..
!make -j`nproc`
!wget https://huggingface.co/camenduru/openpose/resolve/main/models/pose/body_25/pose_iter_584000.caffemodel -O /content/openpose/models/pose/body_25/pose_iter_584000.caffemodel
!wget https://huggingface.co/camenduru/openpose/resolve/main/models/pose/coco/pose_iter_440000.caffemodel -O /content/openpose/models/pose/coco/pose_iter_440000.caffemodel
!wget https://huggingface.co/camenduru/openpose/resolve/main/models/pose/mpi/pose_iter_160000.caffemodel -O /content/openpose/models/pose/mpi/pose_iter_160000.caffemodel
!wget https://huggingface.co/camenduru/openpose/resolve/main/models/face/pose_iter_116000.caffemodel -O /content/openpose/models/face/pose_iter_116000.caffemodel
!wget https://huggingface.co/camenduru/openpose/resolve/main/models/hand/pose_iter_102000.caffemodel -O /content/openpose/models/hand/pose_iter_102000.caffemodel
!/content/openpose/build/examples/openpose/openpose.bin --image_dir /content/images --write_json /content/images --display 0 --render_pose 0

natten-0.14.7.dev0-cp310-cp310-linux_x86_64.whl

%cd /content
!git clone https://github.com/SHI-Labs/NATTEN
%cd /content/NATTEN
!make WORKERS=2
!make CUDA_ARCH="7.5"
!python setup.py bdist_wheel

MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl

%cd /content/OneFormer-hf/oneformer/modeling/pixel_decoder/ops
!sh make.sh
!python setup.py bdist_wheel

nemo_toolkit-1.21.0-py3-none-any.whl

!pip wheel -v nemo-toolkit[all]==1.21.0

openpifpaf-0.13.11+8.gd192643.dirty-cp310-cp310-linux_x86_64.whl

%cd /content
!git clone https://github.com/openpifpaf/openpifpaf
%cd /content/openpifpaf
!python setup.py bdist_wheel

upfirdn2d-0.0.0-cp310-cp310-linux_x86_64.whl

%cd /content/havatar/model/op
!python setup.py bdist_wheel
%cd /content/havatar

tvm-0.12.dev2119+g05dc738fb-cp310-cp310-linux_x86_64.whl

!apt install libpolly-18-dev
%cd /content
# https://github.com/apache/tvm/blob/main/docs/install/from_source.rst
!bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
# set(USE_CUDA ON)
# set(USE_CUDNN ON)
# set(USE_BLAS openblas)
# set(USE_LLVM "llvm-config-18 --link-static")
# set(HIDE_PRIVATE_SYMBOLS ON)

%cd /content
!git clone --recursive https://github.com/apache/tvm tvm

%cd /content/tvm
!mkdir /content/tvm/build
!cp cmake/config.cmake build #CUDA ON
%cd /content/tvm/build
!cmake ..
!make -j4

%cd /content/tvm/python
!pip wheel .

mlc_chat-0.1.dev847+gb01b06c-cp310-cp310-linux_x86_64.whl

!apt install cargo -y

%cd /content
!git clone --recursive https://github.com/mlc-ai/mlc-llm.git
%cd /content/mlc-llm
!mkdir -p build
%cd /content/mlc-llm/build

%env TVM_HOME=/content/tvm
!python ../cmake/gen_cmake_config.py

!cmake .. && cmake --build . --parallel $(nproc) && cd ..

%cd /content/mlc-llm/python
!pip wheel .

About