Skip to content

Instantly share code, notes, and snippets.

@Syzygianinfern0
Last active April 10, 2023 03:24
Show Gist options
  • Save Syzygianinfern0/26512817c946b2a4b4ddb21535595a1a to your computer and use it in GitHub Desktop.
Save Syzygianinfern0/26512817c946b2a4b4ddb21535595a1a to your computer and use it in GitHub Desktop.
Install LITv2
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"id": "e49abd1f-6fa9-4cfb-ad58-3d6e031886b0",
"metadata": {},
"source": [
"# Install PyTorch"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "ef2fdd82-67e1-4dd1-8d3b-882d5f8ec312",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
" __ __ __ __\n",
" / \\ / \\ / \\ / \\\n",
" / \\/ \\/ \\/ \\\n",
"███████████████/ /██/ /██/ /██/ /████████████████████████\n",
" / / \\ / \\ / \\ / \\ \\____\n",
" / / \\_/ \\_/ \\_/ \\ o \\__,\n",
" / _/ \\_____/ `\n",
" |/\n",
" ███╗ ███╗ █████╗ ███╗ ███╗██████╗ █████╗\n",
" ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗\n",
" ██╔████╔██║███████║██╔████╔██║██████╔╝███████║\n",
" ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║\n",
" ██║ ╚═╝ ██║██║ ██║██║ ╚═╝ ██║██████╔╝██║ ██║\n",
" ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝\n",
"\n",
" mamba (0.27.0) supported by @QuantStack\n",
"\n",
" GitHub: https://github.com/mamba-org/mamba\n",
" Twitter: https://twitter.com/QuantStack\n",
"\n",
"█████████████████████████████████████████████████████████████\n",
"\n",
"\n",
"Looking for: ['pytorch==1.13.1', 'torchvision==0.14.1', 'torchaudio==0.13.1', 'pytorch-cuda=11.7']\n",
"\n",
"pytorch/linux-64 Using cache\n",
"pytorch/noarch Using cache\n",
"nvidia/linux-64 Using cache\n",
"nvidia/noarch Using cache\n",
"\u001b[?25l\u001b[2K\u001b[0G[+] 0.0s\n",
"pkgs/main/linux-64 \u001b[33m━━━━━━━━━╸\u001b[0m\u001b[90m━━━━━━━━━━━━━━━\u001b[0m 0.0 B / ??.?MB @ ??.?MB/s 0.0s\u001b[2K\u001b[1A\u001b[2K\u001b[0G[+] 0.1s\n",
"pkgs/main/linux-64 \u001b[33m━━━━━━━━━╸\u001b[0m\u001b[90m━━━━━━━━━━━━━━━\u001b[0m 0.0 B / ??.?MB @ ??.?MB/s 0.1s\n",
"pkgs/main/noarch \u001b[90m━━━━━━╸\u001b[0m\u001b[33m━━━━━━━━━━━━━━━╸\u001b[0m\u001b[90m━━\u001b[0m 0.0 B / ??.?MB @ ??.?MB/s 0.1s\n",
"pkgs/r/linux-64 \u001b[33m━━━━━━━━╸\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━\u001b[0m 0.0 B / ??.?MB @ ??.?MB/s 0.1s\n",
"pkgs/r/noarch \u001b[90m━╸\u001b[0m\u001b[33m━━━━━━━━━━━━━━━╸\u001b[0m\u001b[90m━━━━━━━\u001b[0m 0.0 B / ??.?MB @ ??.?MB/s 0.1s\u001b[2K\u001b[1A\u001b[2K\u001b[1A\u001b[2K\u001b[1A\u001b[2K\u001b[1A\u001b[2K\u001b[0Gpkgs/main/linux-64 No change\n",
"pkgs/r/linux-64 No change\n",
"pkgs/r/noarch No change\n",
"pkgs/main/noarch No change\n",
"\u001b[?25h\n",
"Pinned packages:\n",
" - python 3.8.*\n",
"\n",
"\n",
"Transaction\n",
"\n",
" Prefix: /home/sharan/miniconda3/envs/sm\n",
"\n",
" Updating specs:\n",
"\n",
" - pytorch==1.13.1\n",
" - torchvision==0.14.1\n",
" - torchaudio==0.13.1\n",
" - pytorch-cuda=11.7\n",
" - ca-certificates\n",
" - certifi\n",
" - openssl\n",
"\n",
"\n",
" Package Version Build Channel Size\n",
"────────────────────────────────────────────────────────────────────────────────────────────────\n",
" Install:\n",
"────────────────────────────────────────────────────────────────────────────────────────────────\n",
"\n",
"\u001b[32m + blas \u001b[00m 1.0 mkl pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + brotlipy \u001b[00m 0.7.0 py38h27cfd23_1003 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + bzip2 \u001b[00m 1.0.8 h7b6447c_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + cffi \u001b[00m 1.15.1 py38h5eee18b_3 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + charset-normalizer\u001b[00m 2.0.4 pyhd3eb1b0_0 pkgs/main/noarch \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + cryptography \u001b[00m 39.0.1 py38h9ce1e76_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + cuda-cudart \u001b[00m 11.7.99 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + cuda-cupti \u001b[00m 11.7.101 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + cuda-libraries \u001b[00m 11.7.1 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + cuda-nvrtc \u001b[00m 11.7.99 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + cuda-nvtx \u001b[00m 11.7.91 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + cuda-runtime \u001b[00m 11.7.1 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + ffmpeg \u001b[00m 4.3 hf484d3e_0 pytorch/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + flit-core \u001b[00m 3.8.0 py38h06a4308_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + freetype \u001b[00m 2.12.1 h4a9f257_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + giflib \u001b[00m 5.2.1 h5eee18b_3 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + gmp \u001b[00m 6.2.1 h295c915_3 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + gnutls \u001b[00m 3.6.15 he1e5248_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + idna \u001b[00m 3.4 py38h06a4308_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + intel-openmp \u001b[00m 2021.4.0 h06a4308_3561 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + jpeg \u001b[00m 9e h5eee18b_1 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + lame \u001b[00m 3.100 h7b6447c_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + lcms2 \u001b[00m 2.12 h3be6417_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + lerc \u001b[00m 3.0 h295c915_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libcublas \u001b[00m 11.10.3.66 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libcufft \u001b[00m 10.7.2.124 h4fbf590_0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libcufile \u001b[00m 1.6.0.25 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libcurand \u001b[00m 10.3.2.56 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libcusolver \u001b[00m 11.4.0.1 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libcusparse \u001b[00m 11.7.4.91 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libdeflate \u001b[00m 1.17 h5eee18b_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libiconv \u001b[00m 1.16 h7f8727e_2 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libidn2 \u001b[00m 2.3.2 h7f8727e_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libnpp \u001b[00m 11.7.4.75 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libnvjpeg \u001b[00m 11.8.0.2 0 nvidia/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libpng \u001b[00m 1.6.39 h5eee18b_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libtasn1 \u001b[00m 4.19.0 h5eee18b_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libtiff \u001b[00m 4.5.0 h6a678d5_2 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libunistring \u001b[00m 0.9.10 h27cfd23_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libwebp \u001b[00m 1.2.4 h11a3e52_1 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + libwebp-base \u001b[00m 1.2.4 h5eee18b_1 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + lz4-c \u001b[00m 1.9.4 h6a678d5_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + mkl \u001b[00m 2021.4.0 h06a4308_640 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + mkl-service \u001b[00m 2.4.0 py38h7f8727e_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + mkl_fft \u001b[00m 1.3.1 py38hd3c417c_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + mkl_random \u001b[00m 1.2.2 py38h51133e4_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + nettle \u001b[00m 3.7.3 hbbd107a_1 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + numpy \u001b[00m 1.23.5 py38h14f4228_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + numpy-base \u001b[00m 1.23.5 py38h31eccc5_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + openh264 \u001b[00m 2.1.1 h4ff587b_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + pillow \u001b[00m 9.4.0 py38h6a678d5_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + pycparser \u001b[00m 2.21 pyhd3eb1b0_0 pkgs/main/noarch \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + pyopenssl \u001b[00m 23.0.0 py38h06a4308_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + pysocks \u001b[00m 1.7.1 py38h06a4308_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + pytorch \u001b[00m 1.13.1 py3.8_cuda11.7_cudnn8.5.0_0 pytorch/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + pytorch-cuda \u001b[00m 11.7 h778d358_3 pytorch/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + pytorch-mutex \u001b[00m 1.0 cuda pytorch/noarch \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + requests \u001b[00m 2.28.1 py38h06a4308_1 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + six \u001b[00m 1.16.0 pyhd3eb1b0_1 pkgs/main/noarch \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + torchaudio \u001b[00m 0.13.1 py38_cu117 pytorch/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + torchvision \u001b[00m 0.14.1 py38_cu117 pytorch/linux-64 \u001b[32m Cached\u001b[00m\n",
"\u001b[32m + typing_extensions \u001b[00m 4.4.0 py38h06a4308_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + urllib3 \u001b[00m 1.26.15 py38h06a4308_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\u001b[32m + zstd \u001b[00m 1.5.4 hc292b87_0 pkgs/main/linux-64\u001b[32m Cached\u001b[00m\n",
"\n",
" Summary:\n",
"\n",
" Install: 64 packages\n",
"\n",
" Total download: 0 B\n",
"\n",
"────────────────────────────────────────────────────────────────────────────────────────────────\n",
"\n",
"\u001b[?25l\u001b[2K\u001b[0G\u001b[?25h\n",
"Downloading and Extracting Packages\n",
"\n",
"Preparing transaction: done\n",
"Verifying transaction: done\n",
"Executing transaction: done\n"
]
}
],
"source": [
"!mamba install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia -y"
]
},
{
"cell_type": "markdown",
"id": "2c096a35-8fa4-470b-9456-a654974348cd",
"metadata": {
"tags": []
},
"source": [
"# Other"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "340d878d-9b6b-4c46-840a-20f4239bb228",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting timm\n",
" Using cached timm-0.6.13-py3-none-any.whl (549 kB)\n",
"Collecting ninja\n",
" Downloading ninja-1.11.1-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (145 kB)\n",
"\u001b[2K \u001b[38;2;114;156;31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m146.0/146.0 kB\u001b[0m \u001b[31m8.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting tensorboard\n",
" Downloading tensorboard-2.12.1-py3-none-any.whl (5.6 MB)\n",
"\u001b[2K \u001b[38;2;114;156;31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m5.6/5.6 MB\u001b[0m \u001b[31m75.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m0m eta \u001b[36m0:00:01\u001b[0m36m0:00:01\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: torch>=1.7 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from timm) (1.13.1)\n",
"Requirement already satisfied: torchvision in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from timm) (0.14.1)\n",
"Requirement already satisfied: pyyaml in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from timm) (6.0)\n",
"Collecting huggingface-hub\n",
" Using cached huggingface_hub-0.13.4-py3-none-any.whl (200 kB)\n",
"Collecting markdown>=2.6.8\n",
" Downloading Markdown-3.4.3-py3-none-any.whl (93 kB)\n",
"\u001b[2K \u001b[38;2;114;156;31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m93.9/93.9 kB\u001b[0m \u001b[31m23.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hRequirement already satisfied: wheel>=0.26 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from tensorboard) (0.38.4)\n",
"Collecting protobuf>=3.19.6\n",
" Using cached protobuf-4.22.1-cp37-abi3-manylinux2014_x86_64.whl (302 kB)\n",
"Requirement already satisfied: requests<3,>=2.21.0 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from tensorboard) (2.28.2)\n",
"Requirement already satisfied: setuptools>=41.0.0 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from tensorboard) (65.6.3)\n",
"Collecting tensorboard-data-server<0.8.0,>=0.7.0\n",
" Using cached tensorboard_data_server-0.7.0-py3-none-manylinux2014_x86_64.whl (6.6 MB)\n",
"Collecting tensorboard-plugin-wit>=1.6.0\n",
" Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)\n",
"Collecting grpcio>=1.48.2\n",
" Downloading grpcio-1.53.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.0 MB)\n",
"\u001b[2K \u001b[38;2;114;156;31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m5.0/5.0 MB\u001b[0m \u001b[31m90.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m31m128.8 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\n",
"\u001b[?25hCollecting google-auth<3,>=1.6.3\n",
" Downloading google_auth-2.17.2-py2.py3-none-any.whl (178 kB)\n",
"\u001b[2K \u001b[38;2;114;156;31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m178.2/178.2 kB\u001b[0m \u001b[31m45.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
"\u001b[?25hCollecting absl-py>=0.4\n",
" Using cached absl_py-1.4.0-py3-none-any.whl (126 kB)\n",
"Requirement already satisfied: numpy>=1.12.0 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from tensorboard) (1.23.5)\n",
"Collecting google-auth-oauthlib<1.1,>=0.5\n",
" Downloading google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)\n",
"Collecting werkzeug>=1.0.1\n",
" Using cached Werkzeug-2.2.3-py3-none-any.whl (233 kB)\n",
"Collecting pyasn1-modules>=0.2.1\n",
" Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)\n",
"Requirement already satisfied: six>=1.9.0 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from google-auth<3,>=1.6.3->tensorboard) (1.16.0)\n",
"Collecting rsa<5,>=3.1.4\n",
" Using cached rsa-4.9-py3-none-any.whl (34 kB)\n",
"Collecting cachetools<6.0,>=2.0.0\n",
" Using cached cachetools-5.3.0-py3-none-any.whl (9.3 kB)\n",
"Collecting requests-oauthlib>=0.7.0\n",
" Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)\n",
"Requirement already satisfied: importlib-metadata>=4.4 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from markdown>=2.6.8->tensorboard) (6.3.0)\n",
"Requirement already satisfied: charset-normalizer<4,>=2 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from requests<3,>=2.21.0->tensorboard) (3.1.0)\n",
"Requirement already satisfied: certifi>=2017.4.17 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from requests<3,>=2.21.0->tensorboard) (2022.12.7)\n",
"Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from requests<3,>=2.21.0->tensorboard) (1.26.15)\n",
"Requirement already satisfied: idna<4,>=2.5 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from requests<3,>=2.21.0->tensorboard) (3.4)\n",
"Requirement already satisfied: typing_extensions in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from torch>=1.7->timm) (4.5.0)\n",
"Requirement already satisfied: MarkupSafe>=2.1.1 in /home/sharan/.local/lib/python3.8/site-packages (from werkzeug>=1.0.1->tensorboard) (2.1.2)\n",
"Collecting filelock\n",
" Downloading filelock-3.11.0-py3-none-any.whl (10.0 kB)\n",
"Requirement already satisfied: packaging>=20.9 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from huggingface-hub->timm) (23.0)\n",
"Collecting tqdm>=4.42.1\n",
" Using cached tqdm-4.65.0-py3-none-any.whl (77 kB)\n",
"Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from torchvision->timm) (9.4.0)\n",
"Requirement already satisfied: zipp>=0.5 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from importlib-metadata>=4.4->markdown>=2.6.8->tensorboard) (3.15.0)\n",
"Collecting pyasn1<0.5.0,>=0.4.6\n",
" Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)\n",
"Collecting oauthlib>=3.0.0\n",
" Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)\n",
"Installing collected packages: tensorboard-plugin-wit, pyasn1, ninja, werkzeug, tqdm, tensorboard-data-server, rsa, pyasn1-modules, protobuf, oauthlib, grpcio, filelock, cachetools, absl-py, requests-oauthlib, markdown, huggingface-hub, google-auth, timm, google-auth-oauthlib, tensorboard\n",
"Successfully installed absl-py-1.4.0 cachetools-5.3.0 filelock-3.11.0 google-auth-2.17.2 google-auth-oauthlib-1.0.0 grpcio-1.53.0 huggingface-hub-0.13.4 markdown-3.4.3 ninja-1.11.1 oauthlib-3.2.2 protobuf-4.22.1 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-oauthlib-1.3.1 rsa-4.9 tensorboard-2.12.1 tensorboard-data-server-0.7.0 tensorboard-plugin-wit-1.8.1 timm-0.6.13 tqdm-4.65.0 werkzeug-2.2.3\n"
]
}
],
"source": [
"!pip install timm ninja tensorboard"
]
},
{
"cell_type": "markdown",
"id": "c2d337a7-0d62-4f93-862d-9b00259a6b25",
"metadata": {},
"source": [
"# Apex"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "f440ea7d-92f5-4fd6-a0f0-b42d921326d1",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cloning into 'apex'...\n",
"remote: Enumerating objects: 10936, done.\u001b[K\n",
"remote: Counting objects: 100% (62/62), done.\u001b[K\n",
"remote: Compressing objects: 100% (55/55), done.\u001b[K\n",
"remote: Total 10936 (delta 21), reused 28 (delta 7), pack-reused 10874\u001b[K\n",
"Receiving objects: 100% (10936/10936), 15.28 MiB | 36.65 MiB/s, done.\n",
"Resolving deltas: 100% (7563/7563), done.\n"
]
}
],
"source": [
"!git clone https://github.com/NVIDIA/apex"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "9ffd4352-5ff6-4c15-a045-de0ef220a667",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"/home/sharan/code/sm/apex\n"
]
}
],
"source": [
"%cd apex"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "38d3e861-aac2-49bd-8ec4-f632c6cbf510",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Using pip 23.0.1 from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/pip (python 3.8)\n",
"\u001b[33mWARNING: Implying --no-binary=:all: due to the presence of --build-option / --global-option / --install-option. Consider using --config-settings for more flexibility.\u001b[0m\u001b[33m\n",
"\u001b[0m\u001b[33mDEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453\u001b[0m\u001b[33m\n",
"\u001b[0mProcessing /home/sharan/code/sm/apex\n",
" Running command python setup.py egg_info\n",
"\n",
"\n",
" torch.__version__ = 1.13.1\n",
"\n",
"\n",
" running egg_info\n",
" creating /tmp/pip-pip-egg-info-lrmobzq3/apex.egg-info\n",
" writing /tmp/pip-pip-egg-info-lrmobzq3/apex.egg-info/PKG-INFO\n",
" writing dependency_links to /tmp/pip-pip-egg-info-lrmobzq3/apex.egg-info/dependency_links.txt\n",
" writing requirements to /tmp/pip-pip-egg-info-lrmobzq3/apex.egg-info/requires.txt\n",
" writing top-level names to /tmp/pip-pip-egg-info-lrmobzq3/apex.egg-info/top_level.txt\n",
" writing manifest file '/tmp/pip-pip-egg-info-lrmobzq3/apex.egg-info/SOURCES.txt'\n",
" reading manifest file '/tmp/pip-pip-egg-info-lrmobzq3/apex.egg-info/SOURCES.txt'\n",
" adding license file 'LICENSE'\n",
" writing manifest file '/tmp/pip-pip-egg-info-lrmobzq3/apex.egg-info/SOURCES.txt'\n",
" Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
"Requirement already satisfied: packaging>20.6 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from apex==0.1) (23.0)\n",
"Installing collected packages: apex\n",
"\u001b[33m DEPRECATION: apex is being installed using the legacy 'setup.py install' method, because the '--no-binary' option was enabled for it and this currently disables local wheel building for projects that don't have a 'pyproject.toml' file. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/11451\u001b[0m\u001b[33m\n",
"\u001b[0m Running command Running setup.py install for apex\n",
"\n",
"\n",
" torch.__version__ = 1.13.1\n",
"\n",
"\n",
"\n",
" Compiling cuda extensions with\n",
" nvcc: NVIDIA (R) Cuda compiler driver\n",
" Copyright (c) 2005-2022 NVIDIA Corporation\n",
" Built on Wed_Sep_21_10:33:58_PDT_2022\n",
" Cuda compilation tools, release 11.8, V11.8.89\n",
" Build cuda_11.8.r11.8/compiler.31833905_0\n",
" from /usr/local/cuda-11.8/bin\n",
"\n",
" Traceback (most recent call last):\n",
" File \"<string>\", line 2, in <module>\n",
" File \"<pip-setuptools-caller>\", line 34, in <module>\n",
" File \"/home/sharan/code/sm/apex/setup.py\", line 171, in <module>\n",
" check_cuda_torch_binary_vs_bare_metal(CUDA_HOME)\n",
" File \"/home/sharan/code/sm/apex/setup.py\", line 33, in check_cuda_torch_binary_vs_bare_metal\n",
" raise RuntimeError(\n",
" RuntimeError: Cuda extensions are being compiled with a version of Cuda that does not match the version used to compile Pytorch binaries. Pytorch binaries were compiled with Cuda 11.7.\n",
" In some cases, a minor-version mismatch will not cause later errors: https://github.com/NVIDIA/apex/pull/323#discussion_r287021798. You can try commenting out this check (at your own risk).\n",
" \u001b[1;31merror\u001b[0m: \u001b[1msubprocess-exited-with-error\u001b[0m\n",
" \n",
" \u001b[31m×\u001b[0m \u001b[32mRunning setup.py install for apex\u001b[0m did not run successfully.\n",
" \u001b[31m│\u001b[0m exit code: \u001b[1;36m1\u001b[0m\n",
" \u001b[31m╰─>\u001b[0m See above for output.\n",
" \n",
" \u001b[1;35mnote\u001b[0m: This error originates from a subprocess, and is likely not a problem with pip.\n",
" \u001b[1;35mfull command\u001b[0m: \u001b[34m/home/sharan/miniconda3/envs/sm/bin/python -u -c '\u001b[0m\n",
"\u001b[34m exec(compile('\"'\"''\"'\"''\"'\"'\u001b[0m\n",
"\u001b[34m # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py\u001b[0m\n",
"\u001b[34m #\u001b[0m\n",
"\u001b[34m # - It imports setuptools before invoking setup.py, to enable projects that directly\u001b[0m\n",
"\u001b[34m # import from `distutils.core` to work with newer packaging standards.\u001b[0m\n",
"\u001b[34m # - It provides a clear error message when setuptools is not installed.\u001b[0m\n",
"\u001b[34m # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so\u001b[0m\n",
"\u001b[34m # setuptools doesn'\"'\"'t think the script is `-c`. This avoids the following warning:\u001b[0m\n",
"\u001b[34m # manifest_maker: standard file '\"'\"'-c'\"'\"' not found\".\u001b[0m\n",
"\u001b[34m # - It generates a shim setup.py, for handling setup.cfg-only projects.\u001b[0m\n",
"\u001b[34m import os, sys, tokenize\u001b[0m\n",
"\u001b[34m \u001b[0m\n",
"\u001b[34m try:\u001b[0m\n",
"\u001b[34m import setuptools\u001b[0m\n",
"\u001b[34m except ImportError as error:\u001b[0m\n",
"\u001b[34m print(\u001b[0m\n",
"\u001b[34m \"ERROR: Can not execute `setup.py` since setuptools is not available in \"\u001b[0m\n",
"\u001b[34m \"the build environment.\",\u001b[0m\n",
"\u001b[34m file=sys.stderr,\u001b[0m\n",
"\u001b[34m )\u001b[0m\n",
"\u001b[34m sys.exit(1)\u001b[0m\n",
"\u001b[34m \u001b[0m\n",
"\u001b[34m __file__ = %r\u001b[0m\n",
"\u001b[34m sys.argv[0] = __file__\u001b[0m\n",
"\u001b[34m \u001b[0m\n",
"\u001b[34m if os.path.exists(__file__):\u001b[0m\n",
"\u001b[34m filename = __file__\u001b[0m\n",
"\u001b[34m with tokenize.open(__file__) as f:\u001b[0m\n",
"\u001b[34m setup_py_code = f.read()\u001b[0m\n",
"\u001b[34m else:\u001b[0m\n",
"\u001b[34m filename = \"<auto-generated setuptools caller>\"\u001b[0m\n",
"\u001b[34m setup_py_code = \"from setuptools import setup; setup()\"\u001b[0m\n",
"\u001b[34m \u001b[0m\n",
"\u001b[34m exec(compile(setup_py_code, filename, \"exec\"))\u001b[0m\n",
"\u001b[34m '\"'\"''\"'\"''\"'\"' % ('\"'\"'/home/sharan/code/sm/apex/setup.py'\"'\"',), \"<pip-setuptools-caller>\", \"exec\"))' --cpp_ext --cuda_ext install --record /tmp/pip-record-hs6_o_7k/install-record.txt --single-version-externally-managed --compile --install-headers /home/sharan/miniconda3/envs/sm/include/python3.8/apex\u001b[0m\n",
" \u001b[1;35mcwd\u001b[0m: /home/sharan/code/sm/apex/\n",
" Running setup.py install for apex ... \u001b[?25l\u001b[?25herror\n",
"\u001b[1;31merror\u001b[0m: \u001b[1mlegacy-install-failure\u001b[0m\n",
"\n",
"\u001b[31m×\u001b[0m Encountered error while trying to install package.\n",
"\u001b[31m╰─>\u001b[0m apex\n",
"\n",
"\u001b[1;35mnote\u001b[0m: This is an issue with the package mentioned above, not pip.\n",
"\u001b[1;36mhint\u001b[0m: See above for output from the failure.\n"
]
}
],
"source": [
"!pip install -v --disable-pip-version-check --no-cache-dir --global-option=\"--cpp_ext\" --global-option=\"--cuda_ext\" ./"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "0148642d-4306-4f93-bc79-b1e12e201efc",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"nvcc: NVIDIA (R) Cuda compiler driver\n",
"Copyright (c) 2005-2022 NVIDIA Corporation\n",
"Built on Wed_Sep_21_10:33:58_PDT_2022\n",
"Cuda compilation tools, release 11.8, V11.8.89\n",
"Build cuda_11.8.r11.8/compiler.31833905_0\n"
]
}
],
"source": [
"!nvcc --version"
]
},
{
"cell_type": "markdown",
"id": "72bf6f5b-aec3-4b96-b818-2f59f02fb02a",
"metadata": {},
"source": [
"# There is mismatch between 11.8 and 11.7 which probably shouldnt affect much, editing setup.py of apex and commenting out lines 32-40"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "2b9ab36e-49ff-427e-926b-08023eeb93e0",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Using pip 23.0.1 from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/pip (python 3.8)\n",
"\u001b[33mWARNING: Implying --no-binary=:all: due to the presence of --build-option / --global-option / --install-option. Consider using --config-settings for more flexibility.\u001b[0m\u001b[33m\n",
"\u001b[0m\u001b[33mDEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453\u001b[0m\u001b[33m\n",
"\u001b[0mProcessing /home/sharan/code/sm/apex\n",
" Running command python setup.py egg_info\n",
"\n",
"\n",
" torch.__version__ = 1.13.1\n",
"\n",
"\n",
" running egg_info\n",
" creating /tmp/pip-pip-egg-info-5hi10eat/apex.egg-info\n",
" writing /tmp/pip-pip-egg-info-5hi10eat/apex.egg-info/PKG-INFO\n",
" writing dependency_links to /tmp/pip-pip-egg-info-5hi10eat/apex.egg-info/dependency_links.txt\n",
" writing requirements to /tmp/pip-pip-egg-info-5hi10eat/apex.egg-info/requires.txt\n",
" writing top-level names to /tmp/pip-pip-egg-info-5hi10eat/apex.egg-info/top_level.txt\n",
" writing manifest file '/tmp/pip-pip-egg-info-5hi10eat/apex.egg-info/SOURCES.txt'\n",
" reading manifest file '/tmp/pip-pip-egg-info-5hi10eat/apex.egg-info/SOURCES.txt'\n",
" adding license file 'LICENSE'\n",
" writing manifest file '/tmp/pip-pip-egg-info-5hi10eat/apex.egg-info/SOURCES.txt'\n",
" Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
"Requirement already satisfied: packaging>20.6 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from apex==0.1) (23.0)\n",
"Installing collected packages: apex\n",
"\u001b[33m DEPRECATION: apex is being installed using the legacy 'setup.py install' method, because the '--no-binary' option was enabled for it and this currently disables local wheel building for projects that don't have a 'pyproject.toml' file. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/11451\u001b[0m\u001b[33m\n",
"\u001b[0m Running command Running setup.py install for apex\n",
"\n",
"\n",
" torch.__version__ = 1.13.1\n",
"\n",
"\n",
"\n",
" Compiling cuda extensions with\n",
" nvcc: NVIDIA (R) Cuda compiler driver\n",
" Copyright (c) 2005-2022 NVIDIA Corporation\n",
" Built on Wed_Sep_21_10:33:58_PDT_2022\n",
" Cuda compilation tools, release 11.8, V11.8.89\n",
" Build cuda_11.8.r11.8/compiler.31833905_0\n",
" from /usr/local/cuda-11.8/bin\n",
"\n",
" running install\n",
" /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\n",
" warnings.warn(\n",
" running build\n",
" running build_py\n",
" running build_ext\n",
" /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/utils/cpp_extension.py:387: UserWarning: The detected CUDA version (11.8) has a minor version mismatch with the version that was used to compile PyTorch (11.7). Most likely this shouldn't be a problem.\n",
" warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))\n",
" /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/utils/cpp_extension.py:397: UserWarning: There are no g++ version bounds defined for CUDA version 11.8\n",
" warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')\n",
" building 'apex_C' extension\n",
" Emitting ninja build file /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
" Compiling objects...\n",
" Using envvar MAX_JOBS (32) as the number of workers...\n",
" ninja: no work to do.\n",
" g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/flatten_unflatten.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-cpython-38/apex_C.cpython-38-x86_64-linux-gnu.so\n",
" building 'amp_C' extension\n",
" Emitting ninja build file /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
" Compiling objects...\n",
" Using envvar MAX_JOBS (32) as the number of workers...\n",
" ninja: no work to do.\n",
" g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/amp_C_frontend.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_adagrad.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_adam.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_axpby_kernel.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_l2norm_kernel.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_l2norm_kernel_mp.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_l2norm_scale_kernel.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_lamb.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_lamb_mp.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_lamb_stage_1.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_lamb_stage_2.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_novograd.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_scale_kernel.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/multi_tensor_sgd_kernel.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/amp_C.cpython-38-x86_64-linux-gnu.so\n",
" building 'syncbn' extension\n",
" Emitting ninja build file /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
" Compiling objects...\n",
" Using envvar MAX_JOBS (32) as the number of workers...\n",
" ninja: no work to do.\n",
" g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/syncbn.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/welford.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/syncbn.cpython-38-x86_64-linux-gnu.so\n",
" building 'fused_layer_norm_cuda' extension\n",
" Emitting ninja build file /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
" Compiling objects...\n",
" Using envvar MAX_JOBS (32) as the number of workers...\n",
" ninja: no work to do.\n",
" g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/layer_norm_cuda.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/layer_norm_cuda_kernel.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/fused_layer_norm_cuda.cpython-38-x86_64-linux-gnu.so\n",
" building 'mlp_cuda' extension\n",
" Emitting ninja build file /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
" Compiling objects...\n",
" Using envvar MAX_JOBS (32) as the number of workers...\n",
" ninja: no work to do.\n",
" g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/mlp.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/mlp_cuda.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/mlp_cuda.cpython-38-x86_64-linux-gnu.so\n",
" building 'fused_dense_cuda' extension\n",
" Emitting ninja build file /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
" Compiling objects...\n",
" Using envvar MAX_JOBS (32) as the number of workers...\n",
" ninja: no work to do.\n",
" g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/fused_dense.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/fused_dense_cuda.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/fused_dense_cuda.cpython-38-x86_64-linux-gnu.so\n",
" building 'scaled_upper_triang_masked_softmax_cuda' extension\n",
" Emitting ninja build file /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
" Compiling objects...\n",
" Using envvar MAX_JOBS (32) as the number of workers...\n",
" ninja: no work to do.\n",
" g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/scaled_upper_triang_masked_softmax.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/scaled_upper_triang_masked_softmax_cuda.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/scaled_upper_triang_masked_softmax_cuda.cpython-38-x86_64-linux-gnu.so\n",
" building 'generic_scaled_masked_softmax_cuda' extension\n",
" Emitting ninja build file /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
" Compiling objects...\n",
" Using envvar MAX_JOBS (32) as the number of workers...\n",
" ninja: no work to do.\n",
" g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/generic_scaled_masked_softmax.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/generic_scaled_masked_softmax_cuda.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/generic_scaled_masked_softmax_cuda.cpython-38-x86_64-linux-gnu.so\n",
" building 'scaled_masked_softmax_cuda' extension\n",
" Emitting ninja build file /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
" Compiling objects...\n",
" Using envvar MAX_JOBS (32) as the number of workers...\n",
" ninja: no work to do.\n",
" g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/scaled_masked_softmax.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/scaled_masked_softmax_cuda.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/scaled_masked_softmax_cuda.cpython-38-x86_64-linux-gnu.so\n",
" building 'scaled_softmax_cuda' extension\n",
" Emitting ninja build file /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
" Compiling objects...\n",
" Using envvar MAX_JOBS (32) as the number of workers...\n",
" ninja: no work to do.\n",
" g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/scaled_softmax.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/scaled_softmax_cuda.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/scaled_softmax_cuda.cpython-38-x86_64-linux-gnu.so\n",
" building 'fused_weight_gradient_mlp_cuda' extension\n",
" Emitting ninja build file /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
" Compiling objects...\n",
" Using envvar MAX_JOBS (32) as the number of workers...\n",
" [1/3] c++ -MMD -MF /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/fused_weight_gradient_dense.o.d -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/sharan/code/sm/apex/csrc -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/TH -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/sharan/miniconda3/envs/sm/include/python3.8 -c -c /home/sharan/code/sm/apex/csrc/megatron/fused_weight_gradient_dense.cpp -o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/fused_weight_gradient_dense.o -O3 -DVERSION_GE_1_1 -DVERSION_GE_1_3 -DVERSION_GE_1_5 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE=\"_gcc\"' '-DPYBIND11_STDLIB=\"_libstdcpp\"' '-DPYBIND11_BUILD_ABI=\"_cxxabi1011\"' -DTORCH_EXTENSION_NAME=fused_weight_gradient_mlp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14\n",
" cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\n",
" [2/3] /usr/local/cuda-11.8/bin/nvcc -I/home/sharan/code/sm/apex/csrc -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/TH -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/sharan/miniconda3/envs/sm/include/python3.8 -c -c /home/sharan/code/sm/apex/csrc/megatron/fused_weight_gradient_dense_cuda.cu -o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/fused_weight_gradient_dense_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''\"'\"'-fPIC'\"'\"'' -O3 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -DVERSION_GE_1_1 -DVERSION_GE_1_3 -DVERSION_GE_1_5 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE=\"_gcc\"' '-DPYBIND11_STDLIB=\"_libstdcpp\"' '-DPYBIND11_BUILD_ABI=\"_cxxabi1011\"' -DTORCH_EXTENSION_NAME=fused_weight_gradient_mlp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14\n",
" [3/3] /usr/local/cuda-11.8/bin/nvcc -I/home/sharan/code/sm/apex/csrc -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/TH -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/sharan/miniconda3/envs/sm/include/python3.8 -c -c /home/sharan/code/sm/apex/csrc/megatron/fused_weight_gradient_dense_16bit_prec_cuda.cu -o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/fused_weight_gradient_dense_16bit_prec_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''\"'\"'-fPIC'\"'\"'' -O3 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -DVERSION_GE_1_1 -DVERSION_GE_1_3 -DVERSION_GE_1_5 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE=\"_gcc\"' '-DPYBIND11_STDLIB=\"_libstdcpp\"' '-DPYBIND11_BUILD_ABI=\"_cxxabi1011\"' -DTORCH_EXTENSION_NAME=fused_weight_gradient_mlp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14\n",
" g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/fused_weight_gradient_dense.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/fused_weight_gradient_dense_16bit_prec_cuda.o /home/sharan/code/sm/apex/build/temp.linux-x86_64-cpython-38/csrc/megatron/fused_weight_gradient_dense_cuda.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/fused_weight_gradient_mlp_cuda.cpython-38-x86_64-linux-gnu.so\n",
" running install_lib\n",
" copying build/lib.linux-x86_64-cpython-38/syncbn.cpython-38-x86_64-linux-gnu.so -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
" copying build/lib.linux-x86_64-cpython-38/fused_layer_norm_cuda.cpython-38-x86_64-linux-gnu.so -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
" copying build/lib.linux-x86_64-cpython-38/fused_dense_cuda.cpython-38-x86_64-linux-gnu.so -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
" copying build/lib.linux-x86_64-cpython-38/scaled_softmax_cuda.cpython-38-x86_64-linux-gnu.so -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
" copying build/lib.linux-x86_64-cpython-38/mlp_cuda.cpython-38-x86_64-linux-gnu.so -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
" copying build/lib.linux-x86_64-cpython-38/fused_weight_gradient_mlp_cuda.cpython-38-x86_64-linux-gnu.so -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
" copying build/lib.linux-x86_64-cpython-38/scaled_masked_softmax_cuda.cpython-38-x86_64-linux-gnu.so -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
" copying build/lib.linux-x86_64-cpython-38/amp_C.cpython-38-x86_64-linux-gnu.so -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fp16_utils\n",
" copying build/lib.linux-x86_64-cpython-38/apex/fp16_utils/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fp16_utils\n",
" copying build/lib.linux-x86_64-cpython-38/apex/fp16_utils/loss_scaler.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fp16_utils\n",
" copying build/lib.linux-x86_64-cpython-38/apex/fp16_utils/fp16_optimizer.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fp16_utils\n",
" copying build/lib.linux-x86_64-cpython-38/apex/fp16_utils/fp16util.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fp16_utils\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/mlp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/mlp/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/mlp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/mlp/mlp.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/mlp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/handle.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/_process_optimizer.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/frontend.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/amp.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/_amp_state.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/lists\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/lists/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/lists\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/lists/functional_overrides.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/lists\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/lists/torch_overrides.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/lists\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/lists/tensor_overrides.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/lists\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/utils.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/wrap.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/scaler.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/compat.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/__version__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/rnn_compat.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/_initialize.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/amp/opt.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/RNN\n",
" copying build/lib.linux-x86_64-cpython-38/apex/RNN/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/RNN\n",
" copying build/lib.linux-x86_64-cpython-38/apex/RNN/cells.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/RNN\n",
" copying build/lib.linux-x86_64-cpython-38/apex/RNN/RNNBackend.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/RNN\n",
" copying build/lib.linux-x86_64-cpython-38/apex/RNN/models.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/RNN\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/normalization\n",
" copying build/lib.linux-x86_64-cpython-38/apex/normalization/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/normalization\n",
" copying build/lib.linux-x86_64-cpython-38/apex/normalization/fused_layer_norm.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/normalization\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/schedules\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/pipeline_parallel/schedules/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/schedules\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/pipeline_parallel/schedules/fwd_bwd_no_pipelining.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/schedules\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/pipeline_parallel/schedules/fwd_bwd_pipelining_with_interleaving.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/schedules\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/pipeline_parallel/schedules/common.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/schedules\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/pipeline_parallel/schedules/fwd_bwd_pipelining_without_interleaving.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/schedules\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/pipeline_parallel/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/pipeline_parallel/utils.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/pipeline_parallel/p2p_communication.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/pipeline_parallel/_timers.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/tensor_parallel/cross_entropy.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/tensor_parallel/memory.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/tensor_parallel/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/tensor_parallel/mappings.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/tensor_parallel/layers.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/tensor_parallel/utils.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/tensor_parallel/data.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/tensor_parallel/random.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/enums.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/amp/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/amp/grad_scaler.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/amp\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/utils.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/_ucc_util.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/testing/distributed_test_base.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/testing/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/testing/standalone_transformer_lm.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/testing/commons.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/testing/standalone_gpt.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/testing/arguments.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/testing/standalone_bert.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/testing/global_vars.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/_data\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/_data/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/_data\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/_data/_batchsampler.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/_data\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/parallel_state.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/microbatches.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/functional\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/functional/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/functional\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/functional/fused_softmax.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/functional\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/layers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/layers/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/layers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/layers/layer_norm.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/layers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/transformer/log_util.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/parallel/multiproc.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/parallel/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/parallel/optimized_sync_batchnorm_kernel.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/parallel/LARC.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/parallel/distributed.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/parallel/sync_batchnorm_kernel.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/parallel/optimized_sync_batchnorm.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel\n",
" copying build/lib.linux-x86_64-cpython-38/apex/parallel/sync_batchnorm.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fused_dense\n",
" copying build/lib.linux-x86_64-cpython-38/apex/fused_dense/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fused_dense\n",
" copying build/lib.linux-x86_64-cpython-38/apex/fused_dense/fused_dense.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fused_dense\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/optimizers/fused_adam.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/optimizers/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/optimizers/fused_adagrad.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/optimizers/fused_lamb.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/optimizers/fused_sgd.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/optimizers/fused_mixed_precision_lamb.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/optimizers/fused_novograd.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/_autocast_utils.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/layer_norm\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/layer_norm/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/layer_norm\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/layer_norm/layer_norm.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/layer_norm\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/index_mul_2d\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/index_mul_2d/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/index_mul_2d\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/index_mul_2d/index_mul_2d.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/index_mul_2d\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/xentropy\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/xentropy/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/xentropy\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/xentropy/softmax_xentropy.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/xentropy\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/conv_bias_relu\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/conv_bias_relu/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/conv_bias_relu\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/conv_bias_relu/conv_bias_relu.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/conv_bias_relu\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/transducer\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/transducer/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/transducer\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/transducer/transducer.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/transducer\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/transducer/_transducer_ref.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/transducer\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/clip_grad\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/clip_grad/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/clip_grad\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/clip_grad/clip_grad.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/clip_grad\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/focal_loss\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/focal_loss/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/focal_loss\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/focal_loss/focal_loss.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/focal_loss\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/groupbn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/groupbn/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/groupbn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/groupbn/batch_norm.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/groupbn\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/layer_norm\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/layer_norm/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/layer_norm\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/layer_norm/test_fast_layer_norm.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/layer_norm\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/index_mul_2d\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/index_mul_2d/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/index_mul_2d\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/index_mul_2d/test_index_mul_2d.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/index_mul_2d\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/xentropy\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/xentropy/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/xentropy\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/xentropy/test_label_smoothing.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/xentropy\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/conv_bias_relu\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/conv_bias_relu/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/conv_bias_relu\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/conv_bias_relu/test_conv_bias_relu.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/conv_bias_relu\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/transducer\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/transducer/test_transducer_loss.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/transducer\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/transducer/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/transducer\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/transducer/test_transducer_joint.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/transducer\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/clip_grad\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/clip_grad/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/clip_grad\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/clip_grad/test_clip_grad.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/clip_grad\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/focal_loss\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/focal_loss/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/focal_loss\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/focal_loss/test_focal_loss.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/focal_loss\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/cudnn_gbn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/cudnn_gbn/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/cudnn_gbn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/cudnn_gbn/test_cudnn_gbn_with_two_gpus.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/cudnn_gbn\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/fmha\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/fmha/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/fmha\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/fmha/test_fmha.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/fmha\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/optimizers/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/optimizers/test_dist_adam.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/optimizers/test_distributed_fused_lamb.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/optimizers\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/multihead_attn/test_encdec_multihead_attn.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/multihead_attn/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/multihead_attn/test_self_multihead_attn.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/multihead_attn/test_fast_self_multihead_attn_bias.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/multihead_attn/test_self_multihead_attn_norm_add.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/multihead_attn/test_encdec_multihead_attn_norm_add.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/multihead_attn/test_mha_fused_softmax.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/peer_memory\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/peer_memory/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/peer_memory\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/peer_memory/test_peer_halo_exchange_module.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/peer_memory\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/bottleneck\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/bottleneck/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/bottleneck\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/test/bottleneck/test_bottleneck_module.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/bottleneck\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/cudnn_gbn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/cudnn_gbn/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/cudnn_gbn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/cudnn_gbn/batch_norm.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/cudnn_gbn\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/fmha\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/fmha/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/fmha\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/fmha/fmha.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/fmha\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/optimizers/fused_adam.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/optimizers/distributed_fused_lamb.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/optimizers/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/optimizers/fp16_optimizer.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/optimizers/distributed_fused_adam.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/optimizers/fused_lamb.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/optimizers/fused_sgd.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/multihead_attn/fast_self_multihead_attn_func.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/multihead_attn/self_multihead_attn.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/multihead_attn/fast_self_multihead_attn_norm_add_func.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/multihead_attn/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/multihead_attn/fast_encdec_multihead_attn_func.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/multihead_attn/fast_encdec_multihead_attn_norm_add_func.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/multihead_attn/encdec_multihead_attn_func.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/multihead_attn/self_multihead_attn_func.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/multihead_attn/encdec_multihead_attn.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/multihead_attn/mask_softmax_dropout_func.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/peer_memory\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/peer_memory/peer_memory.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/peer_memory\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/peer_memory/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/peer_memory\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/peer_memory/peer_halo_exchanger_1d.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/peer_memory\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/sparsity/sparse_masklib.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/sparsity/asp.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/sparsity/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_search_kernels\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/sparsity/permutation_search_kernels/permutation_utilities.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_search_kernels\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/sparsity/permutation_search_kernels/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_search_kernels\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/sparsity/permutation_search_kernels/channel_swap.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_search_kernels\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/sparsity/permutation_search_kernels/exhaustive_search.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_search_kernels\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/sparsity/permutation_search_kernels/call_permutation_search_kernels.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_search_kernels\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/sparsity/permutation_lib.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/bottleneck\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/bottleneck/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/bottleneck\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/bottleneck/halo_exchangers.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/bottleneck\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/bottleneck/bottleneck.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/bottleneck\n",
" copying build/lib.linux-x86_64-cpython-38/apex/contrib/bottleneck/test.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/bottleneck\n",
" creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/multi_tensor_apply\n",
" copying build/lib.linux-x86_64-cpython-38/apex/multi_tensor_apply/__init__.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/multi_tensor_apply\n",
" copying build/lib.linux-x86_64-cpython-38/apex/multi_tensor_apply/multi_tensor_apply.py -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/multi_tensor_apply\n",
" copying build/lib.linux-x86_64-cpython-38/apex_C.cpython-38-x86_64-linux-gnu.so -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
" copying build/lib.linux-x86_64-cpython-38/scaled_upper_triang_masked_softmax_cuda.cpython-38-x86_64-linux-gnu.so -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
" copying build/lib.linux-x86_64-cpython-38/generic_scaled_masked_softmax_cuda.cpython-38-x86_64-linux-gnu.so -> /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fp16_utils/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fp16_utils/loss_scaler.py to loss_scaler.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fp16_utils/fp16_optimizer.py to fp16_optimizer.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fp16_utils/fp16util.py to fp16util.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/mlp/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/mlp/mlp.py to mlp.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/handle.py to handle.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/_process_optimizer.py to _process_optimizer.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/frontend.py to frontend.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/amp.py to amp.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/_amp_state.py to _amp_state.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/lists/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/lists/functional_overrides.py to functional_overrides.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/lists/torch_overrides.py to torch_overrides.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/lists/tensor_overrides.py to tensor_overrides.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/utils.py to utils.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/wrap.py to wrap.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/scaler.py to scaler.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/compat.py to compat.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/__version__.py to __version__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/rnn_compat.py to rnn_compat.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/_initialize.py to _initialize.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/amp/opt.py to opt.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/RNN/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/RNN/cells.py to cells.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/RNN/RNNBackend.py to RNNBackend.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/RNN/models.py to models.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/normalization/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/normalization/fused_layer_norm.py to fused_layer_norm.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/schedules/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/schedules/fwd_bwd_no_pipelining.py to fwd_bwd_no_pipelining.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/schedules/fwd_bwd_pipelining_with_interleaving.py to fwd_bwd_pipelining_with_interleaving.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/schedules/common.py to common.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/schedules/fwd_bwd_pipelining_without_interleaving.py to fwd_bwd_pipelining_without_interleaving.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/utils.py to utils.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/p2p_communication.py to p2p_communication.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/pipeline_parallel/_timers.py to _timers.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel/cross_entropy.py to cross_entropy.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel/memory.py to memory.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel/mappings.py to mappings.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel/layers.py to layers.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel/utils.py to utils.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel/data.py to data.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/tensor_parallel/random.py to random.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/enums.py to enums.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/amp/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/amp/grad_scaler.py to grad_scaler.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/utils.py to utils.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/_ucc_util.py to _ucc_util.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing/distributed_test_base.py to distributed_test_base.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing/standalone_transformer_lm.py to standalone_transformer_lm.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing/commons.py to commons.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing/standalone_gpt.py to standalone_gpt.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing/arguments.py to arguments.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing/standalone_bert.py to standalone_bert.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/testing/global_vars.py to global_vars.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/_data/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/_data/_batchsampler.py to _batchsampler.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/parallel_state.py to parallel_state.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/microbatches.py to microbatches.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/functional/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/functional/fused_softmax.py to fused_softmax.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/layers/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/layers/layer_norm.py to layer_norm.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/transformer/log_util.py to log_util.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel/multiproc.py to multiproc.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel/optimized_sync_batchnorm_kernel.py to optimized_sync_batchnorm_kernel.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel/LARC.py to LARC.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel/distributed.py to distributed.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel/sync_batchnorm_kernel.py to sync_batchnorm_kernel.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel/optimized_sync_batchnorm.py to optimized_sync_batchnorm.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/parallel/sync_batchnorm.py to sync_batchnorm.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fused_dense/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/fused_dense/fused_dense.py to fused_dense.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers/fused_adam.py to fused_adam.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers/fused_adagrad.py to fused_adagrad.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers/fused_lamb.py to fused_lamb.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers/fused_sgd.py to fused_sgd.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers/fused_mixed_precision_lamb.py to fused_mixed_precision_lamb.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/optimizers/fused_novograd.py to fused_novograd.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/_autocast_utils.py to _autocast_utils.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/layer_norm/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/layer_norm/layer_norm.py to layer_norm.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/index_mul_2d/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/index_mul_2d/index_mul_2d.py to index_mul_2d.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/xentropy/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/xentropy/softmax_xentropy.py to softmax_xentropy.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/conv_bias_relu/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/conv_bias_relu/conv_bias_relu.py to conv_bias_relu.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/transducer/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/transducer/transducer.py to transducer.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/transducer/_transducer_ref.py to _transducer_ref.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/clip_grad/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/clip_grad/clip_grad.py to clip_grad.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/focal_loss/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/focal_loss/focal_loss.py to focal_loss.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/groupbn/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/groupbn/batch_norm.py to batch_norm.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/layer_norm/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/layer_norm/test_fast_layer_norm.py to test_fast_layer_norm.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/index_mul_2d/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/index_mul_2d/test_index_mul_2d.py to test_index_mul_2d.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/xentropy/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/xentropy/test_label_smoothing.py to test_label_smoothing.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/conv_bias_relu/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/conv_bias_relu/test_conv_bias_relu.py to test_conv_bias_relu.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/transducer/test_transducer_loss.py to test_transducer_loss.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/transducer/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/transducer/test_transducer_joint.py to test_transducer_joint.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/clip_grad/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/clip_grad/test_clip_grad.py to test_clip_grad.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/focal_loss/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/focal_loss/test_focal_loss.py to test_focal_loss.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/cudnn_gbn/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/cudnn_gbn/test_cudnn_gbn_with_two_gpus.py to test_cudnn_gbn_with_two_gpus.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/fmha/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/fmha/test_fmha.py to test_fmha.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/optimizers/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/optimizers/test_dist_adam.py to test_dist_adam.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/optimizers/test_distributed_fused_lamb.py to test_distributed_fused_lamb.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn/test_encdec_multihead_attn.py to test_encdec_multihead_attn.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn/test_self_multihead_attn.py to test_self_multihead_attn.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn/test_fast_self_multihead_attn_bias.py to test_fast_self_multihead_attn_bias.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn/test_self_multihead_attn_norm_add.py to test_self_multihead_attn_norm_add.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn/test_encdec_multihead_attn_norm_add.py to test_encdec_multihead_attn_norm_add.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/multihead_attn/test_mha_fused_softmax.py to test_mha_fused_softmax.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/peer_memory/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/peer_memory/test_peer_halo_exchange_module.py to test_peer_halo_exchange_module.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/bottleneck/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/test/bottleneck/test_bottleneck_module.py to test_bottleneck_module.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/cudnn_gbn/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/cudnn_gbn/batch_norm.py to batch_norm.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/fmha/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/fmha/fmha.py to fmha.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers/fused_adam.py to fused_adam.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers/distributed_fused_lamb.py to distributed_fused_lamb.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers/fp16_optimizer.py to fp16_optimizer.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers/distributed_fused_adam.py to distributed_fused_adam.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers/fused_lamb.py to fused_lamb.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/optimizers/fused_sgd.py to fused_sgd.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn/fast_self_multihead_attn_func.py to fast_self_multihead_attn_func.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn/self_multihead_attn.py to self_multihead_attn.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn/fast_self_multihead_attn_norm_add_func.py to fast_self_multihead_attn_norm_add_func.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn/fast_encdec_multihead_attn_func.py to fast_encdec_multihead_attn_func.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn/fast_encdec_multihead_attn_norm_add_func.py to fast_encdec_multihead_attn_norm_add_func.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn/encdec_multihead_attn_func.py to encdec_multihead_attn_func.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn/self_multihead_attn_func.py to self_multihead_attn_func.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn/encdec_multihead_attn.py to encdec_multihead_attn.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/multihead_attn/mask_softmax_dropout_func.py to mask_softmax_dropout_func.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/peer_memory/peer_memory.py to peer_memory.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/peer_memory/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/peer_memory/peer_halo_exchanger_1d.py to peer_halo_exchanger_1d.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/sparse_masklib.py to sparse_masklib.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/asp.py to asp.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_search_kernels/permutation_utilities.py to permutation_utilities.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_search_kernels/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_search_kernels/channel_swap.py to channel_swap.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_search_kernels/exhaustive_search.py to exhaustive_search.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_search_kernels/call_permutation_search_kernels.py to call_permutation_search_kernels.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/sparsity/permutation_lib.py to permutation_lib.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/bottleneck/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/bottleneck/halo_exchangers.py to halo_exchangers.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/bottleneck/bottleneck.py to bottleneck.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/contrib/bottleneck/test.py to test.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/multi_tensor_apply/__init__.py to __init__.cpython-38.pyc\n",
" byte-compiling /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex/multi_tensor_apply/multi_tensor_apply.py to multi_tensor_apply.cpython-38.pyc\n",
" running install_egg_info\n",
" running egg_info\n",
" creating apex.egg-info\n",
" writing apex.egg-info/PKG-INFO\n",
" writing dependency_links to apex.egg-info/dependency_links.txt\n",
" writing requirements to apex.egg-info/requires.txt\n",
" writing top-level names to apex.egg-info/top_level.txt\n",
" writing manifest file 'apex.egg-info/SOURCES.txt'\n",
" reading manifest file 'apex.egg-info/SOURCES.txt'\n",
" adding license file 'LICENSE'\n",
" writing manifest file 'apex.egg-info/SOURCES.txt'\n",
" Copying apex.egg-info to /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/apex-0.1-py3.8.egg-info\n",
" running install_scripts\n",
" writing list of installed files to '/tmp/pip-record-zncn660i/install-record.txt'\n",
" Running setup.py install for apex ... \u001b[?25l\u001b[?25hdone\n",
"Successfully installed apex-0.1\n"
]
}
],
"source": [
"!MAX_JOBS=32 pip install -v --disable-pip-version-check --no-cache-dir --global-option=\"--cpp_ext\" --global-option=\"--cuda_ext\" ./"
]
},
{
"cell_type": "code",
"execution_count": 10,
"id": "59809332-df7e-4ed3-b2bf-4dce97f52ab4",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"/home/sharan/code/sm\n"
]
}
],
"source": [
"%cd ../"
]
},
{
"cell_type": "markdown",
"id": "ffe154ef-c744-46ed-97d4-1f269567ec62",
"metadata": {},
"source": [
"# DCN"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "0c717ff6-64d1-4431-a2d2-af2e34b65287",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cloning into 'LITv2'...\n",
"remote: Enumerating objects: 676, done.\u001b[K\n",
"remote: Counting objects: 100% (676/676), done.\u001b[K\n",
"remote: Compressing objects: 100% (523/523), done.\u001b[K\n",
"remote: Total 676 (delta 172), reused 634 (delta 144), pack-reused 0\u001b[K\n",
"Receiving objects: 100% (676/676), 2.51 MiB | 14.11 MiB/s, done.\n",
"Resolving deltas: 100% (172/172), done.\n"
]
}
],
"source": [
"!git clone https://github.com/ziplab/LITv2.git"
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "0ee2d818-550e-4541-b677-4be4aff492aa",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN\n"
]
}
],
"source": [
"%cd LITv2/classification/mm_modules/DCN"
]
},
{
"cell_type": "code",
"execution_count": 13,
"id": "e8634cdb-735a-479e-bde5-c11574fc23bc",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"running build\n",
"running build_py\n",
"creating build\n",
"creating build/lib.linux-x86_64-cpython-38\n",
"creating build/lib.linux-x86_64-cpython-38/functions\n",
"copying functions/__init__.py -> build/lib.linux-x86_64-cpython-38/functions\n",
"copying functions/modulated_deform_conv2d_func.py -> build/lib.linux-x86_64-cpython-38/functions\n",
"copying functions/deform_conv2d_func.py -> build/lib.linux-x86_64-cpython-38/functions\n",
"creating build/lib.linux-x86_64-cpython-38/modules\n",
"copying modules/__init__.py -> build/lib.linux-x86_64-cpython-38/modules\n",
"copying modules/deform_conv2d.py -> build/lib.linux-x86_64-cpython-38/modules\n",
"copying modules/modulated_deform_conv2d.py -> build/lib.linux-x86_64-cpython-38/modules\n",
"running build_ext\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/utils/cpp_extension.py:387: UserWarning: The detected CUDA version (11.8) has a minor version mismatch with the version that was used to compile PyTorch (11.7). Most likely this shouldn't be a problem.\n",
" warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/utils/cpp_extension.py:397: UserWarning: There are no g++ version bounds defined for CUDA version 11.8\n",
" warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')\n",
"building 'DCN' extension\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu\n",
"creating /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda\n",
"Emitting ninja build file /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/build.ninja...\n",
"Compiling objects...\n",
"Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)\n",
"[1/5] c++ -MMD -MF /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/modulated_deform_conv2d_cpu.o.d -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/TH -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/sharan/miniconda3/envs/sm/include/python3.8 -c -c /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/modulated_deform_conv2d_cpu.cpp -o /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/modulated_deform_conv2d_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE=\"_gcc\"' '-DPYBIND11_STDLIB=\"_libstdcpp\"' '-DPYBIND11_BUILD_ABI=\"_cxxabi1011\"' -DTORCH_EXTENSION_NAME=DCN -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14\n",
"cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\n",
"[2/5] c++ -MMD -MF /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/deform_conv2d_cpu.o.d -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/TH -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/sharan/miniconda3/envs/sm/include/python3.8 -c -c /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/deform_conv2d_cpu.cpp -o /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/deform_conv2d_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE=\"_gcc\"' '-DPYBIND11_STDLIB=\"_libstdcpp\"' '-DPYBIND11_BUILD_ABI=\"_cxxabi1011\"' -DTORCH_EXTENSION_NAME=DCN -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14\n",
"cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\n",
"[3/5] /usr/local/cuda-11.8/bin/nvcc -DWITH_CUDA -I/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/TH -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/sharan/miniconda3/envs/sm/include/python3.8 -c -c /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu -o /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''\"'\"'-fPIC'\"'\"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE=\"_gcc\"' '-DPYBIND11_STDLIB=\"_libstdcpp\"' '-DPYBIND11_BUILD_ABI=\"_cxxabi1011\"' -DTORCH_EXTENSION_NAME=DCN -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu: In function ‘at::Tensor deform_conv2d_cuda_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, int, int, int, int, int, int, int, int, int, int)’:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:41:62: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 41 | AT_ASSERTM(input.type().is_cuda(), \"input must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:42:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 42 | AT_ASSERTM(weight.type().is_cuda(), \"weight must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:43:61: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 43 | AT_ASSERTM(bias.type().is_cuda(), \"bias must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:44:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 44 | AT_ASSERTM(offset.type().is_cuda(), \"offset must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:92:43: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 92 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:92:169: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]\n",
" 92 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:132:1: note: declared here\n",
" 132 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {\n",
" | ^~~~~~~~~~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:92:169: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]\n",
" 92 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:132:1: note: declared here\n",
" 132 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {\n",
" | ^~~~~~~~~~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:92:993: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 92 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:92:1066: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 92 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:92:1294: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 92 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:92:2107: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 92 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:92:2179: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 92 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:92:2406: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 92 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu: In function ‘std::vector<at::Tensor> deform_conv2d_cuda_backward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, int, int, int, int, int, int, int, int, int, int)’:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:145:62: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 145 | AT_ASSERTM(input.type().is_cuda(), \"input must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:146:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 146 | AT_ASSERTM(weight.type().is_cuda(), \"weight must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:147:61: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 147 | AT_ASSERTM(bias.type().is_cuda(), \"bias must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:148:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 148 | AT_ASSERTM(offset.type().is_cuda(), \"offset must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:43: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:170: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:132:1: note: declared here\n",
" 132 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {\n",
" | ^~~~~~~~~~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:170: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:132:1: note: declared here\n",
" 132 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {\n",
" | ^~~~~~~~~~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:1003: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:1029: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:1102: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:1334: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:1470: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:1497: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:1728: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:1861: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:1934: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:2162: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:2984: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:3009: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:3081: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:3312: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:3447: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:3473: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:3703: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:3835: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221:3907: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.cu:221: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 221 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | \n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"[4/5] /usr/local/cuda-11.8/bin/nvcc -DWITH_CUDA -I/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/TH -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/sharan/miniconda3/envs/sm/include/python3.8 -c -c /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu -o /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''\"'\"'-fPIC'\"'\"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE=\"_gcc\"' '-DPYBIND11_STDLIB=\"_libstdcpp\"' '-DPYBIND11_BUILD_ABI=\"_cxxabi1011\"' -DTORCH_EXTENSION_NAME=DCN -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu: In function ‘at::Tensor modulated_deform_conv2d_cuda_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, int, int, int, int, int, int, int, int, int, int)’:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:42:62: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 42 | AT_ASSERTM(input.type().is_cuda(), \"input must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:43:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 43 | AT_ASSERTM(weight.type().is_cuda(), \"weight must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:44:61: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 44 | AT_ASSERTM(bias.type().is_cuda(), \"bias must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:45:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 45 | AT_ASSERTM(offset.type().is_cuda(), \"offset must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:46:61: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 46 | AT_ASSERTM(mask.type().is_cuda(), \"mask must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:93:43: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 93 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:93:169: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]\n",
" 93 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:132:1: note: declared here\n",
" 132 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {\n",
" | ^~~~~~~~~~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:93:169: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]\n",
" 93 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:132:1: note: declared here\n",
" 132 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {\n",
" | ^~~~~~~~~~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:93:1013: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 93 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:93:1086: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 93 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:93:1158: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 93 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:93:1384: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 93 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:93:2217: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 93 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:93:2289: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 93 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:93:2360: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 93 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:93:2585: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 93 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_forward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu: In function ‘std::vector<at::Tensor> modulated_deform_conv2d_cuda_backward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, int, int, int, int, int, int, int, int, int, int)’:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:146:62: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 146 | AT_ASSERTM(input.type().is_cuda(), \"input must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:147:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 147 | AT_ASSERTM(weight.type().is_cuda(), \"weight must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:148:61: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 148 | AT_ASSERTM(bias.type().is_cuda(), \"bias must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:149:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 149 | AT_ASSERTM(offset.type().is_cuda(), \"offset must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:150:61: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 150 | AT_ASSERTM(mask.type().is_cuda(), \"mask must be a CUDA tensor\");\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:43: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:1: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:170: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:132:1: note: declared here\n",
" 132 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {\n",
" | ^~~~~~~~~~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:170: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:132:1: note: declared here\n",
" 132 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {\n",
" | ^~~~~~~~~~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:1023: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:1049: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:1122: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:1194: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:1424: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:1501: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:1645: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:1672: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:1744: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:1973: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:2116: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:2189: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:2261: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:2487: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu: In lambda function:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:3329: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:3354: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:3426: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:3497: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:3726: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:3802: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:3945: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:3971: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224:4042: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | ^\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | \n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | \n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | \n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | \n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.cu:224: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]\n",
" 224 | AT_DISPATCH_FLOATING_TYPES(input.type(), \"deform_conv_backward_cuda\", ([&] {\n",
" | \n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:238:1: note: declared here\n",
" 238 | T * data() const {\n",
" | ^ ~~\n",
"[5/5] c++ -MMD -MF /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.o.d -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/TH -I/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/sharan/miniconda3/envs/sm/include/python3.8 -c -c /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.cpp -o /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE=\"_gcc\"' '-DPYBIND11_STDLIB=\"_libstdcpp\"' '-DPYBIND11_BUILD_ABI=\"_cxxabi1011\"' -DTORCH_EXTENSION_NAME=DCN -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14\n",
"cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\n",
"In file included from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.cpp:2:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/deform_conv2d.h: In function ‘at::Tensor deform_conv2d_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, int, int, int, int, int, int, int, int, int, int)’:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/deform_conv2d.h:27:20: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 27 | if (input.type().is_cuda())\n",
" | ^\n",
"In file included from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/Tensor.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/function_hook.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:2,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/variable.h:6,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/autograd.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/extension.h:4,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/deform_conv2d_cpu.h:2,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/deform_conv2d.h:3,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.cpp:2:\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:30: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^~~~\n",
"In file included from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.cpp:2:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/deform_conv2d.h: In function ‘std::vector<at::Tensor> deform_conv2d_backward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, int, int, int, int, int, int, int, int, int, int)’:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/deform_conv2d.h:63:20: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 63 | if (input.type().is_cuda())\n",
" | ^\n",
"In file included from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/Tensor.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/function_hook.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:2,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/variable.h:6,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/autograd.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/extension.h:4,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/deform_conv2d_cpu.h:2,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/deform_conv2d.h:3,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.cpp:2:\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:30: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^~~~\n",
"In file included from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.cpp:3:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/modulated_deform_conv2d.h: In function ‘at::Tensor modulated_deform_conv2d_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, int, int, int, int, int, int, int, int, int, int)’:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/modulated_deform_conv2d.h:28:20: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 28 | if (input.type().is_cuda())\n",
" | ^\n",
"In file included from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/Tensor.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/function_hook.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:2,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/variable.h:6,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/autograd.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/extension.h:4,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/deform_conv2d_cpu.h:2,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/deform_conv2d.h:3,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.cpp:2:\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:30: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^~~~\n",
"In file included from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.cpp:3:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/modulated_deform_conv2d.h: In function ‘std::vector<at::Tensor> modulated_deform_conv2d_backward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, int, int, int, int, int, int, int, int, int, int)’:\n",
"/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/modulated_deform_conv2d.h:65:20: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]\n",
" 65 | if (input.type().is_cuda())\n",
" | ^\n",
"In file included from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/Tensor.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/function_hook.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:2,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/variable.h:6,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/autograd/autograd.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:3,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,\n",
" from /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/torch/extension.h:4,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/deform_conv2d_cpu.h:2,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/deform_conv2d.h:3,\n",
" from /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.cpp:2:\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:216:30: note: declared here\n",
" 216 | DeprecatedTypeProperties & type() const {\n",
" | ^~~~\n",
"g++ -pthread -B /home/sharan/miniconda3/envs/sm/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/sharan/miniconda3/envs/sm/compiler_compat -L/home/sharan/miniconda3/envs/sm/lib -Wl,-rpath=/home/sharan/miniconda3/envs/sm/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/deform_conv2d_cpu.o /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cpu/modulated_deform_conv2d_cpu.o /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/deform_conv2d_cuda.o /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/cuda/modulated_deform_conv2d_cuda.o /home/sharan/code/sm/LITv2/classification/mm_modules/DCN/build/temp.linux-x86_64-cpython-38/home/sharan/code/sm/LITv2/classification/mm_modules/DCN/src/vision.o -L/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda-11.8/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/DCN.cpython-38-x86_64-linux-gnu.so\n",
"running install\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\n",
" warnings.warn(\n",
"/home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.\n",
" warnings.warn(\n",
"running bdist_egg\n",
"running egg_info\n",
"creating DCN.egg-info\n",
"writing DCN.egg-info/PKG-INFO\n",
"writing dependency_links to DCN.egg-info/dependency_links.txt\n",
"writing top-level names to DCN.egg-info/top_level.txt\n",
"writing manifest file 'DCN.egg-info/SOURCES.txt'\n",
"reading manifest file 'DCN.egg-info/SOURCES.txt'\n",
"writing manifest file 'DCN.egg-info/SOURCES.txt'\n",
"installing library code to build/bdist.linux-x86_64/egg\n",
"running install_lib\n",
"creating build/bdist.linux-x86_64\n",
"creating build/bdist.linux-x86_64/egg\n",
"copying build/lib.linux-x86_64-cpython-38/DCN.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg\n",
"creating build/bdist.linux-x86_64/egg/functions\n",
"copying build/lib.linux-x86_64-cpython-38/functions/__init__.py -> build/bdist.linux-x86_64/egg/functions\n",
"copying build/lib.linux-x86_64-cpython-38/functions/modulated_deform_conv2d_func.py -> build/bdist.linux-x86_64/egg/functions\n",
"copying build/lib.linux-x86_64-cpython-38/functions/deform_conv2d_func.py -> build/bdist.linux-x86_64/egg/functions\n",
"creating build/bdist.linux-x86_64/egg/modules\n",
"copying build/lib.linux-x86_64-cpython-38/modules/__init__.py -> build/bdist.linux-x86_64/egg/modules\n",
"copying build/lib.linux-x86_64-cpython-38/modules/deform_conv2d.py -> build/bdist.linux-x86_64/egg/modules\n",
"copying build/lib.linux-x86_64-cpython-38/modules/modulated_deform_conv2d.py -> build/bdist.linux-x86_64/egg/modules\n",
"byte-compiling build/bdist.linux-x86_64/egg/functions/__init__.py to __init__.cpython-38.pyc\n",
"byte-compiling build/bdist.linux-x86_64/egg/functions/modulated_deform_conv2d_func.py to modulated_deform_conv2d_func.cpython-38.pyc\n",
"byte-compiling build/bdist.linux-x86_64/egg/functions/deform_conv2d_func.py to deform_conv2d_func.cpython-38.pyc\n",
"byte-compiling build/bdist.linux-x86_64/egg/modules/__init__.py to __init__.cpython-38.pyc\n",
"byte-compiling build/bdist.linux-x86_64/egg/modules/deform_conv2d.py to deform_conv2d.cpython-38.pyc\n",
"byte-compiling build/bdist.linux-x86_64/egg/modules/modulated_deform_conv2d.py to modulated_deform_conv2d.cpython-38.pyc\n",
"creating stub loader for DCN.cpython-38-x86_64-linux-gnu.so\n",
"byte-compiling build/bdist.linux-x86_64/egg/DCN.py to DCN.cpython-38.pyc\n",
"creating build/bdist.linux-x86_64/egg/EGG-INFO\n",
"copying DCN.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO\n",
"copying DCN.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\n",
"copying DCN.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\n",
"copying DCN.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\n",
"writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt\n",
"zip_safe flag not set; analyzing archive contents...\n",
"__pycache__.DCN.cpython-38: module references __file__\n",
"creating dist\n",
"creating 'dist/DCN-1.0-py3.8-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it\n",
"removing 'build/bdist.linux-x86_64/egg' (and everything under it)\n",
"Processing DCN-1.0-py3.8-linux-x86_64.egg\n",
"creating /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/DCN-1.0-py3.8-linux-x86_64.egg\n",
"Extracting DCN-1.0-py3.8-linux-x86_64.egg to /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages\n",
"Adding DCN 1.0 to easy-install.pth file\n",
"\n",
"Installed /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages/DCN-1.0-py3.8-linux-x86_64.egg\n",
"Processing dependencies for DCN==1.0\n",
"Finished processing dependencies for DCN==1.0\n"
]
}
],
"source": [
"!python setup.py build install"
]
},
{
"cell_type": "markdown",
"id": "98ecd97f-2b93-4db7-92cb-2a54f4fccf2c",
"metadata": {},
"source": [
"# OpenCV"
]
},
{
"cell_type": "code",
"execution_count": 14,
"id": "e2b48e96-0712-472c-8a45-628f531296a5",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting opencv-python==4.4.0.46\n",
" Downloading opencv_python-4.4.0.46-cp38-cp38-manylinux2014_x86_64.whl (49.5 MB)\n",
"\u001b[2K \u001b[38;2;114;156;31m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m49.5/49.5 MB\u001b[0m \u001b[31m16.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0mm eta \u001b[36m0:00:01\u001b[0m[36m0:00:01\u001b[0m\n",
"\u001b[?25hCollecting termcolor==1.1.0\n",
" Using cached termcolor-1.1.0.tar.gz (3.9 kB)\n",
" Preparing metadata (setup.py) ... \u001b[?25ldone\n",
"\u001b[?25hCollecting yacs==0.1.8\n",
" Downloading yacs-0.1.8-py3-none-any.whl (14 kB)\n",
"Requirement already satisfied: numpy>=1.17.3 in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from opencv-python==4.4.0.46) (1.23.5)\n",
"Requirement already satisfied: PyYAML in /home/sharan/miniconda3/envs/sm/lib/python3.8/site-packages (from yacs==0.1.8) (6.0)\n",
"Building wheels for collected packages: termcolor\n",
" Building wheel for termcolor (setup.py) ... \u001b[?25ldone\n",
"\u001b[?25h Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4832 sha256=c7b320556e38c0ddcf630f6e03a92ad303dfa76b12d276715ca7f33ed87cd229\n",
" Stored in directory: /home/sharan/.cache/pip/wheels/a0/16/9c/5473df82468f958445479c59e784896fa24f4a5fc024b0f501\n",
"Successfully built termcolor\n",
"Installing collected packages: termcolor, yacs, opencv-python\n",
"Successfully installed opencv-python-4.4.0.46 termcolor-1.1.0 yacs-0.1.8\n"
]
}
],
"source": [
"!pip install opencv-python==4.4.0.46 termcolor==1.1.0 yacs==0.1.8"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "ffe881d8-fcfa-418d-ae62-4512228a4131",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.16"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment