tensorneko 0.3.14__py3-none-any.whl → 0.3.15__py3-none-any.whl
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.
- tensorneko/msg/__init__.py +3 -0
- tensorneko/version.txt +1 -1
- {tensorneko-0.3.14.dist-info → tensorneko-0.3.15.dist-info}/METADATA +24 -5
- {tensorneko-0.3.14.dist-info → tensorneko-0.3.15.dist-info}/RECORD +7 -6
- {tensorneko-0.3.14.dist-info → tensorneko-0.3.15.dist-info}/LICENSE +0 -0
- {tensorneko-0.3.14.dist-info → tensorneko-0.3.15.dist-info}/WHEEL +0 -0
- {tensorneko-0.3.14.dist-info → tensorneko-0.3.15.dist-info}/top_level.txt +0 -0
tensorneko/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.15
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tensorneko
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.15
|
|
4
4
|
Summary: Tensor Neural Engine Kompanion. An util library based on PyTorch and PyTorch Lightning.
|
|
5
5
|
Home-page: https://github.com/ControlNet/tensorneko
|
|
6
6
|
Author: ControlNet
|
|
@@ -8,13 +8,14 @@ Author-email: smczx@hotmail.com
|
|
|
8
8
|
License: UNKNOWN
|
|
9
9
|
Project-URL: Bug Tracker, https://github.com/ControlNet/tensorneko/issues
|
|
10
10
|
Project-URL: Source Code, https://github.com/ControlNet/tensorneko
|
|
11
|
-
Keywords: deep learning,pytorch,AI
|
|
11
|
+
Keywords: deep learning,pytorch,AI,data processing
|
|
12
12
|
Platform: UNKNOWN
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.8
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.9
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
19
|
Classifier: License :: OSI Approved :: MIT License
|
|
19
20
|
Classifier: Operating System :: OS Independent
|
|
20
21
|
Classifier: Intended Audience :: Developers
|
|
@@ -33,7 +34,7 @@ Requires-Dist: pillow >=8.1
|
|
|
33
34
|
Requires-Dist: av >=8.0.3
|
|
34
35
|
Requires-Dist: numpy >=1.20.1
|
|
35
36
|
Requires-Dist: einops >=0.3.0
|
|
36
|
-
Requires-Dist: tensorneko-util ==0.3.
|
|
37
|
+
Requires-Dist: tensorneko-util ==0.3.15
|
|
37
38
|
Requires-Dist: pysoundfile >=0.9.0 ; platform_system == "Windows"
|
|
38
39
|
|
|
39
40
|
<h1 style="text-align: center">TensorNeko</h1>
|
|
@@ -72,11 +73,18 @@ To use the library without PyTorch and PyTorch Lightning, you can install the ut
|
|
|
72
73
|
pip install tensorneko_util
|
|
73
74
|
```
|
|
74
75
|
|
|
75
|
-
Some cpu bound functions are implemented by `pyo3`, and you can install the optimized version with below command.
|
|
76
|
+
Some cpu bound functions are implemented by rust-based `pyo3`, and you can install the optimized version with below command.
|
|
76
77
|
```shell
|
|
77
78
|
pip install tensorneko_lib
|
|
78
79
|
```
|
|
79
80
|
|
|
81
|
+
Some CLI tools are provided in the `tensorneko_tool` package, and you can install it with below command.
|
|
82
|
+
```shell
|
|
83
|
+
pipx install tensorneko_tool # or `pip install tensorneko_tool`
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Then you can use the CLI tools `tensorneko` in the terminal.
|
|
87
|
+
|
|
80
88
|
## Neko Layers, Modules and Architectures
|
|
81
89
|
|
|
82
90
|
Build an MLP with linear layers. The activation and normalization will be placed in the hidden layers.
|
|
@@ -519,7 +527,7 @@ This library provides event bus based reactive tools. The API integrates the Pyt
|
|
|
519
527
|
# useful decorators for default event bus
|
|
520
528
|
from tensorneko.util import subscribe
|
|
521
529
|
# Event base type
|
|
522
|
-
from tensorneko.util import Event
|
|
530
|
+
from tensorneko.util import Event, EventBus
|
|
523
531
|
|
|
524
532
|
class LogEvent(Event):
|
|
525
533
|
def __init__(self, message: str):
|
|
@@ -549,6 +557,7 @@ if __name__ == '__main__':
|
|
|
549
557
|
# emit an event, and then the event handler will be invoked
|
|
550
558
|
# The sequential order is not guaranteed
|
|
551
559
|
LogEvent("Hello world!")
|
|
560
|
+
EventBus.default.wait() # it's not blocking, need to call wait manually before exit.
|
|
552
561
|
# one possible output:
|
|
553
562
|
# Hello world! in another thread
|
|
554
563
|
# Hello world! async
|
|
@@ -685,4 +694,14 @@ Functions list (in `tensorneko`):
|
|
|
685
694
|
- `is_bad_num`
|
|
686
695
|
- `count_parameters`
|
|
687
696
|
|
|
697
|
+
## TensorNeko Tools
|
|
698
|
+
|
|
699
|
+
Some CLI tools are provided in the `tensorneko_tool` package.
|
|
700
|
+
|
|
701
|
+
The `gotify` can send a message to the Gotify server, with the environment variables `GOTIFY_URL` and `GOTIFY_TOKEN` set.
|
|
702
|
+
|
|
703
|
+
```shell
|
|
704
|
+
tensorneko gotify "Script finished!"
|
|
705
|
+
```
|
|
706
|
+
|
|
688
707
|
|
|
@@ -2,7 +2,7 @@ tensorneko/__init__.py,sha256=lLVC4StQ5q9OFJTceNrJbj-CIFHFMRvFQyGYJTjuRM4,812
|
|
|
2
2
|
tensorneko/neko_model.py,sha256=QTbdOAg9ki0ix6mDL_Qu8Wmd5WJOoUFF3M1SXEp3KGc,10551
|
|
3
3
|
tensorneko/neko_module.py,sha256=qELXvguSjWo_NvcRQibiFl0Qauzd9JWLSnT4dbGNS3Y,1473
|
|
4
4
|
tensorneko/neko_trainer.py,sha256=JC8qoKSZ5ngz3grf3S0SjvIFVktDIP_GExth5aFfbGA,10074
|
|
5
|
-
tensorneko/version.txt,sha256=
|
|
5
|
+
tensorneko/version.txt,sha256=G9xsooAOFSfDHEuC_syU1UK-FLNztcrz3G6L4qv-6vM,6
|
|
6
6
|
tensorneko/arch/__init__.py,sha256=w4lTUeyBIZelrnSjlBFWUF0erzOmBFl9FqeWQuSOyKs,248
|
|
7
7
|
tensorneko/arch/auto_encoder.py,sha256=j6PWWyaNYaYNtw_zZ9ikzhCASqe9viXR3JGBIXSK92Y,2137
|
|
8
8
|
tensorneko/arch/binary_classifier.py,sha256=1MkEbReXKLdDksRG5Rsife40grJk08EVDcNKp54Xvb4,2316
|
|
@@ -63,6 +63,7 @@ tensorneko/module/inception.py,sha256=2p8AjgTIk5wLGC-JnrmXIehh6yNCu2tYc2axjzUTGM
|
|
|
63
63
|
tensorneko/module/mlp.py,sha256=AFN6xmvlrNWOflLqVl-zVkoOJRZpYxYB4bnI10JG5CU,3361
|
|
64
64
|
tensorneko/module/residual.py,sha256=S59TqiiD_310HQ3a6s3r49XY_7Dc4RGxONQtSvzEfN0,2958
|
|
65
65
|
tensorneko/module/transformer.py,sha256=h4NvH3zGa0rZt0bv6e8VM31SimbQKRcocSR42zJYVoY,7602
|
|
66
|
+
tensorneko/msg/__init__.py,sha256=GHrHjzw__0DcPBHBN6GzHrD8PD_7CwOZPRullOaZyW0,71
|
|
66
67
|
tensorneko/notebook/__init__.py,sha256=Pgz4aTJg5_3zTzBIaML4LHAMOFgrBOHw3o00ZuvNuQU,171
|
|
67
68
|
tensorneko/optim/__init__.py,sha256=89XjYQICij8SkrW5iryfZgmbxcTDxA3hhVZTgR4588o,33
|
|
68
69
|
tensorneko/optim/lr_scheduler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -84,8 +85,8 @@ tensorneko/visualization/log_graph.py,sha256=NvOwWVc_petXWYdgaHosPFLa43sHBeacbYc
|
|
|
84
85
|
tensorneko/visualization/matplotlib.py,sha256=xs9Ssc44ojZX65QU8-fftA7Ug_pBuZ3TBtM8vETNq9w,1568
|
|
85
86
|
tensorneko/visualization/image_browser/__init__.py,sha256=AtykhAE3bXQS6SOWbeYFeeUE9ts9XOFMvrL31z0LoMg,63
|
|
86
87
|
tensorneko/visualization/watcher/__init__.py,sha256=Nq752qIYvfRUZ8VctKQRSqhxh5KmFbWcqPfZlijVx6s,379
|
|
87
|
-
tensorneko-0.3.
|
|
88
|
-
tensorneko-0.3.
|
|
89
|
-
tensorneko-0.3.
|
|
90
|
-
tensorneko-0.3.
|
|
91
|
-
tensorneko-0.3.
|
|
88
|
+
tensorneko-0.3.15.dist-info/LICENSE,sha256=Vd75kwgJpVuMnCRBWasQzceMlXt4YQL13ikBLy8G5h0,1067
|
|
89
|
+
tensorneko-0.3.15.dist-info/METADATA,sha256=ul7vopVVtLMuxQjnlc6L6srzKooifZT_yOJYqPR9Di8,19743
|
|
90
|
+
tensorneko-0.3.15.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
91
|
+
tensorneko-0.3.15.dist-info/top_level.txt,sha256=sZHwlP0iyk7_zHuhRHzSBkdY9yEgyC48f6UVuZ6CvqE,11
|
|
92
|
+
tensorneko-0.3.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|