Skip to content

Commit

Permalink
Renaming project
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-chaulet committed Mar 28, 2020
1 parent 55c3605 commit 0ed9206
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 255 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ build

.vscode/
dist/
torch_points.egg-info/
torch_points_kernels.egg-info/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ poetry add git+https://github.com/nicolas-chaulet/torch-points.git#v0.2.3
## Usage
```
import torch
import torch_points.points_cuda
import torch_points_kernels.points_cuda
```

## Build and test
Expand Down
12 changes: 8 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
if CUDA_HOME:
ext_modules.append(
CUDAExtension(
name="torch_points.points_cuda",
name="torch_points_kernels.points_cuda",
sources=ext_sources,
include_dirs=["{}/include".format(ext_src_root)],
extra_compile_args={"cxx": extra_compile_args, "nvcc": extra_compile_args,},
Expand All @@ -33,7 +33,7 @@

ext_modules.append(
CppExtension(
name="torch_points.points_cpu",
name="torch_points_kernels.points_cpu",
sources=cpu_ext_sources,
include_dirs=["{}/include".format(cpu_ext_src_root)],
extra_compile_args={"cxx": extra_compile_args,},
Expand All @@ -42,11 +42,15 @@

requirements = ["torch>=1.1.0"]

url = 'https://github.com/nicolas-chaulet/torch-points-kernels'
__version__="0.5.0"
setup(
name="torch_points",
version="0.4.1",
name="torch-points-kernels",
version=__version__,
author="Nicolas Chaulet",
packages=find_packages(),
url=url,
download_url='{}/archive/{}.tar.gz'.format(url, __version__),
install_requires=requirements,
ext_modules=ext_modules,
cmdclass={"build_ext": BuildExtension},
Expand Down
2 changes: 1 addition & 1 deletion test/test_ballquerry.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
import torch
from torch_points import ball_query
from torch_points_kernels import ball_query
import numpy.testing as npt
import numpy as np
from sklearn.neighbors import KDTree
Expand Down
2 changes: 1 addition & 1 deletion test/test_fps.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
ROOT = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..")
sys.path.insert(0, ROOT)

from torch_points.points_cpu import fps
from torch_points_kernels.points_cpu import fps


class TestFps(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion test/test_grouping.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import torch
import numpy as np
import numpy.testing as npt
from torch_points import grouping_operation
from torch_points_kernels import grouping_operation


class TestGroup(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion test/test_interpolate.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest
import torch
from torch.autograd import gradcheck
from torch_points import three_interpolate, three_nn
from torch_points_kernels import three_interpolate, three_nn

from . import run_if_cuda

Expand Down
2 changes: 1 addition & 1 deletion test/test_knn.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
ROOT = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..")
sys.path.insert(0, ROOT)

from torch_points import three_nn, knn
from torch_points_kernels import three_nn, knn
from . import run_if_cuda


Expand Down
4 changes: 0 additions & 4 deletions torch_points/__init__.py

This file was deleted.

18 changes: 0 additions & 18 deletions torch_points/knn.py

This file was deleted.

222 changes: 0 additions & 222 deletions torch_points/torchpoints.py

This file was deleted.

0 comments on commit 0ed9206

Please sign in to comment.