YaohuiW commited on
Commit
48b8c3d
·
verified ·
1 Parent(s): da1ada3

Upload 8 files

Browse files
.gitattributes CHANGED
@@ -43,3 +43,9 @@ data/source/macron.png filter=lfs diff=lfs merge=lfs -text
43
  data/source/portrait1.png filter=lfs diff=lfs merge=lfs -text
44
  data/source/portrait2.png filter=lfs diff=lfs merge=lfs -text
45
  data/source/portrait3.png filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
43
  data/source/portrait1.png filter=lfs diff=lfs merge=lfs -text
44
  data/source/portrait2.png filter=lfs diff=lfs merge=lfs -text
45
  data/source/portrait3.png filter=lfs diff=lfs merge=lfs -text
46
+ torch_extension/fused/fused_bias_act_kernel.cuda.o filter=lfs diff=lfs merge=lfs -text
47
+ torch_extension/fused/fused_bias_act.o filter=lfs diff=lfs merge=lfs -text
48
+ torch_extension/fused/fused.so filter=lfs diff=lfs merge=lfs -text
49
+ torch_extension/upfirdn2d/upfirdn2d_kernel.cuda.o filter=lfs diff=lfs merge=lfs -text
50
+ torch_extension/upfirdn2d/upfirdn2d.o filter=lfs diff=lfs merge=lfs -text
51
+ torch_extension/upfirdn2d/upfirdn2d.so filter=lfs diff=lfs merge=lfs -text
torch_extension/fused/build.ninja ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ninja_required_version = 1.3
2
+ cxx = c++
3
+ nvcc = /mnt/petrelfs/share/cuda-11.7/bin/nvcc
4
+
5
+ cflags = -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/THC -isystem /mnt/petrelfs/share/cuda-11.7/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17
6
+ post_cflags =
7
+ cuda_cflags = -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/THC -isystem /mnt/petrelfs/share/cuda-11.7/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_80,code=sm_80 --compiler-options '-fPIC' -std=c++17
8
+ cuda_post_cflags =
9
+ cuda_dlink_post_cflags =
10
+ ldflags = -shared -L/mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/lib -lc10 -lc10_cuda -ltorch_cpu -ltorch_cuda -ltorch -ltorch_python -L/mnt/petrelfs/share/cuda-11.7/lib64 -lcudart
11
+
12
+ rule compile
13
+ command = $cxx -MMD -MF $out.d $cflags -c $in -o $out $post_cflags
14
+ depfile = $out.d
15
+ deps = gcc
16
+
17
+ rule cuda_compile
18
+ depfile = $out.d
19
+ deps = gcc
20
+ command = $nvcc $cuda_cflags -c $in -o $out $cuda_post_cflags
21
+
22
+
23
+
24
+ rule link
25
+ command = $cxx $in $ldflags -o $out
26
+
27
+ build fused_bias_act.o: compile /mnt/hwfile/wangyaohui/projects/LIA-X/LIAX-release/networks/op/fused_bias_act.cpp
28
+ build fused_bias_act_kernel.cuda.o: cuda_compile /mnt/hwfile/wangyaohui/projects/LIA-X/LIAX-release/networks/op/fused_bias_act_kernel.cu
29
+
30
+
31
+
32
+ build fused.so: link fused_bias_act.o fused_bias_act_kernel.cuda.o
33
+
34
+ default fused.so
35
+
torch_extension/fused/fused.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0434000b297e05aab7b7a7d537d32c3710cde943861c4cad5ef85db88964757d
3
+ size 1297184
torch_extension/fused/fused_bias_act.o ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11ef1d0528905c05b8866df6448a36da47e96bdf2c52e840ddd5c876791dc1e6
3
+ size 1928096
torch_extension/fused/fused_bias_act_kernel.cuda.o ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a576cabbb56d980122af7c924410f8160fa3c81be957f1a05b2c75a932252a5
3
+ size 579704
torch_extension/upfirdn2d/build.ninja ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ninja_required_version = 1.3
2
+ cxx = c++
3
+ nvcc = /mnt/petrelfs/share/cuda-11.7/bin/nvcc
4
+
5
+ cflags = -DTORCH_EXTENSION_NAME=upfirdn2d -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/THC -isystem /mnt/petrelfs/share/cuda-11.7/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17
6
+ post_cflags =
7
+ cuda_cflags = -DTORCH_EXTENSION_NAME=upfirdn2d -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/include/THC -isystem /mnt/petrelfs/share/cuda-11.7/include -isystem /mnt/petrelfs/wangyaohui/anaconda3/envs/latte/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_80,code=sm_80 --compiler-options '-fPIC' -std=c++17
8
+ cuda_post_cflags =
9
+ cuda_dlink_post_cflags =
10
+ ldflags = -shared -L/mnt/petrelfs/wangyaohui/anaconda3/envs/latte/lib/python3.11/site-packages/torch/lib -lc10 -lc10_cuda -ltorch_cpu -ltorch_cuda -ltorch -ltorch_python -L/mnt/petrelfs/share/cuda-11.7/lib64 -lcudart
11
+
12
+ rule compile
13
+ command = $cxx -MMD -MF $out.d $cflags -c $in -o $out $post_cflags
14
+ depfile = $out.d
15
+ deps = gcc
16
+
17
+ rule cuda_compile
18
+ depfile = $out.d
19
+ deps = gcc
20
+ command = $nvcc $cuda_cflags -c $in -o $out $cuda_post_cflags
21
+
22
+
23
+
24
+ rule link
25
+ command = $cxx $in $ldflags -o $out
26
+
27
+ build upfirdn2d.o: compile /mnt/hwfile/wangyaohui/projects/LIA-X/LIAX-release/networks/op/upfirdn2d.cpp
28
+ build upfirdn2d_kernel.cuda.o: cuda_compile /mnt/hwfile/wangyaohui/projects/LIA-X/LIAX-release/networks/op/upfirdn2d_kernel.cu
29
+
30
+
31
+
32
+ build upfirdn2d.so: link upfirdn2d.o upfirdn2d_kernel.cuda.o
33
+
34
+ default upfirdn2d.so
35
+
torch_extension/upfirdn2d/upfirdn2d.o ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9246c5a518be0a3b0909204f8b3a07bbccc9bf2ac6c413b15827f900d3452877
3
+ size 1934968
torch_extension/upfirdn2d/upfirdn2d.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:277ef4534d19f242b1ee96cdbaf08b638f3fa5f2beadf094c0399c0e17d3990a
3
+ size 1390992
torch_extension/upfirdn2d/upfirdn2d_kernel.cuda.o ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d36964bd9f9c07018f4b4761a637b3846c2b5ea6247483ed243b8ed1cff3a2f
3
+ size 658616