torch-linear-assignment 0.0.3__tar.gz → 0.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {torch_linear_assignment-0.0.3/torch_linear_assignment.egg-info → torch_linear_assignment-0.0.4}/PKG-INFO +8 -2
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/README.md +5 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/setup.py +1 -1
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/src/torch_linear_assignment_cuda_kernel.cu +5 -2
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4/torch_linear_assignment.egg-info}/PKG-INFO +8 -2
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/LICENSE +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/MANIFEST.in +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/pyproject.toml +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/requirements.txt +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/setup.cfg +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/src/torch_linear_assignment.cpp +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/src/torch_linear_assignment_cuda.cpp +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/torch_linear_assignment/__init__.py +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/torch_linear_assignment/assignment.py +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/torch_linear_assignment.egg-info/SOURCES.txt +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/torch_linear_assignment.egg-info/dependency_links.txt +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/torch_linear_assignment.egg-info/requires.txt +0 -0
- {torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/torch_linear_assignment.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: torch-linear-assignment
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: Batched linear assignment with PyTorch and CUDA.
|
|
5
5
|
Author: Ivan Karpukhin
|
|
6
6
|
Author-email: karpuhini@yandex.ru
|
|
@@ -12,6 +12,7 @@ Dynamic: author
|
|
|
12
12
|
Dynamic: author-email
|
|
13
13
|
Dynamic: description
|
|
14
14
|
Dynamic: description-content-type
|
|
15
|
+
Dynamic: license-file
|
|
15
16
|
Dynamic: requires-dist
|
|
16
17
|
Dynamic: summary
|
|
17
18
|
|
|
@@ -40,6 +41,11 @@ Build and install from Git repository:
|
|
|
40
41
|
pip install .
|
|
41
42
|
```
|
|
42
43
|
|
|
44
|
+
Building in an isolated environment may use a different PyTorch version. To match the current environment and reduce the disk usage, apply the following flag:
|
|
45
|
+
```bash
|
|
46
|
+
pip install --no-build-isolation torch-linear-assignment
|
|
47
|
+
```
|
|
48
|
+
|
|
43
49
|
When building with CUDA, make sure NVCC has the same CUDA version as PyTorch.
|
|
44
50
|
You can choose CUDA version by
|
|
45
51
|
```bash
|
|
@@ -23,6 +23,11 @@ Build and install from Git repository:
|
|
|
23
23
|
pip install .
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
Building in an isolated environment may use a different PyTorch version. To match the current environment and reduce the disk usage, apply the following flag:
|
|
27
|
+
```bash
|
|
28
|
+
pip install --no-build-isolation torch-linear-assignment
|
|
29
|
+
```
|
|
30
|
+
|
|
26
31
|
When building with CUDA, make sure NVCC has the same CUDA version as PyTorch.
|
|
27
32
|
You can choose CUDA version by
|
|
28
33
|
```bash
|
|
@@ -48,7 +48,7 @@ with open("README.md") as fp:
|
|
|
48
48
|
if __name__ == '__main__':
|
|
49
49
|
setuptools.setup(
|
|
50
50
|
name="torch-linear-assignment",
|
|
51
|
-
version="0.0.
|
|
51
|
+
version="0.0.4",
|
|
52
52
|
author="Ivan Karpukhin",
|
|
53
53
|
author_email="karpuhini@yandex.ru",
|
|
54
54
|
description="Batched linear assignment with PyTorch and CUDA.",
|
|
@@ -35,17 +35,20 @@ int SMPCores(int device_index)
|
|
|
35
35
|
case 6: // Pascal
|
|
36
36
|
if ((devProp.minor == 1) || (devProp.minor == 2)) return 128;
|
|
37
37
|
else if (devProp.minor == 0) return 64;
|
|
38
|
+
break;
|
|
38
39
|
case 7: // Volta and Turing
|
|
39
40
|
if ((devProp.minor == 0) || (devProp.minor == 5)) return 64;
|
|
41
|
+
break;
|
|
40
42
|
case 8: // Ampere
|
|
41
43
|
if (devProp.minor == 0) return 64;
|
|
42
44
|
else if (devProp.minor == 6) return 128;
|
|
43
45
|
else if (devProp.minor == 9) return 128; // ada lovelace
|
|
46
|
+
break;
|
|
44
47
|
case 9: // Hopper
|
|
45
48
|
if (devProp.minor == 0) return 128;
|
|
46
|
-
|
|
49
|
+
break;
|
|
47
50
|
}
|
|
48
|
-
return 128;
|
|
51
|
+
return 128; // Unknown device
|
|
49
52
|
}
|
|
50
53
|
|
|
51
54
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: torch-linear-assignment
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: Batched linear assignment with PyTorch and CUDA.
|
|
5
5
|
Author: Ivan Karpukhin
|
|
6
6
|
Author-email: karpuhini@yandex.ru
|
|
@@ -12,6 +12,7 @@ Dynamic: author
|
|
|
12
12
|
Dynamic: author-email
|
|
13
13
|
Dynamic: description
|
|
14
14
|
Dynamic: description-content-type
|
|
15
|
+
Dynamic: license-file
|
|
15
16
|
Dynamic: requires-dist
|
|
16
17
|
Dynamic: summary
|
|
17
18
|
|
|
@@ -40,6 +41,11 @@ Build and install from Git repository:
|
|
|
40
41
|
pip install .
|
|
41
42
|
```
|
|
42
43
|
|
|
44
|
+
Building in an isolated environment may use a different PyTorch version. To match the current environment and reduce the disk usage, apply the following flag:
|
|
45
|
+
```bash
|
|
46
|
+
pip install --no-build-isolation torch-linear-assignment
|
|
47
|
+
```
|
|
48
|
+
|
|
43
49
|
When building with CUDA, make sure NVCC has the same CUDA version as PyTorch.
|
|
44
50
|
You can choose CUDA version by
|
|
45
51
|
```bash
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/src/torch_linear_assignment.cpp
RENAMED
|
File without changes
|
{torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/src/torch_linear_assignment_cuda.cpp
RENAMED
|
File without changes
|
{torch_linear_assignment-0.0.3 → torch_linear_assignment-0.0.4}/torch_linear_assignment/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|