uteAI 0.1.0__tar.gz → 0.2.0__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.
- uteai-0.2.0/PKG-INFO +60 -0
- uteai-0.2.0/README.md +45 -0
- {uteai-0.1.0 → uteai-0.2.0}/pyproject.toml +1 -1
- uteai-0.2.0/uteAI.egg-info/PKG-INFO +60 -0
- {uteai-0.1.0 → uteai-0.2.0}/uteAI.egg-info/SOURCES.txt +1 -0
- uteai-0.1.0/PKG-INFO +0 -14
- uteai-0.1.0/uteAI.egg-info/PKG-INFO +0 -14
- {uteai-0.1.0 → uteai-0.2.0}/setup.cfg +0 -0
- {uteai-0.1.0 → uteai-0.2.0}/tests/test_core.py +0 -0
- {uteai-0.1.0 → uteai-0.2.0}/uteAI/__init__.py +0 -0
- {uteai-0.1.0 → uteai-0.2.0}/uteAI/core/__init__.py +0 -0
- {uteai-0.1.0 → uteai-0.2.0}/uteAI/core/mlp_cuda.py +0 -0
- {uteai-0.1.0 → uteai-0.2.0}/uteAI/utils/__init__.py +0 -0
- {uteai-0.1.0 → uteai-0.2.0}/uteAI.egg-info/dependency_links.txt +0 -0
- {uteai-0.1.0 → uteai-0.2.0}/uteAI.egg-info/requires.txt +0 -0
- {uteai-0.1.0 → uteai-0.2.0}/uteAI.egg-info/top_level.txt +0 -0
uteai-0.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: uteAI
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Advanced AI, Neural Network, and Edge Engine Library from HCMUTE
|
|
5
|
+
Author-email: Dung Cai <dung.cai@hcmute.edu.vn>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/your-username/uteAI
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
12
|
+
Requires-Python: >=3.8
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
Requires-Dist: numpy>=1.20.0
|
|
15
|
+
|
|
16
|
+
# uteAI
|
|
17
|
+
**Advanced AI, Neural Network, and Edge Engine Library from HCMUTE**
|
|
18
|
+
|
|
19
|
+
`uteAI` is a high-performance, educational Deep Learning engine built from scratch. It implements standard feedforward neural networks with seamless CPU/GPU duality using NumPy and CuPy.
|
|
20
|
+
|
|
21
|
+
## Key Features
|
|
22
|
+
* **Seamless CPU/GPU Duality**: Automatically detects and utilizes NVIDIA CUDA GPUs via `CuPy`. Safely falls back to `NumPy` if no GPU is available.
|
|
23
|
+
* **Zero-Copy Host-to-Device Pipeline**: Minimizes PCIe transfer bottlenecks during training.
|
|
24
|
+
* **Built from Scratch**: Clear, educational implementations of Dense layers, Activations (ReLU, Softmax, Sigmoid), Optimizers (Adam, RMSprop, SGD), and Loss functions (Categorical Cross-Entropy, MSE).
|
|
25
|
+
* **Cross-Platform Portability**: Model weights are saved as standard NumPy arrays, ensuring checkpoints are compatible across purely CPU or GPU environments.
|
|
26
|
+
|
|
27
|
+
## Installation
|
|
28
|
+
```bash
|
|
29
|
+
pip install uteAI
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Quick Start
|
|
33
|
+
```python
|
|
34
|
+
import uteAI.core as nn
|
|
35
|
+
import numpy as np
|
|
36
|
+
|
|
37
|
+
# Automatically selects 'cuda' if available, else 'cpu'
|
|
38
|
+
model = nn.Model(device='auto')
|
|
39
|
+
|
|
40
|
+
# Build architecture
|
|
41
|
+
model.add(nn.Dense(784, 128, weight_init='he'))
|
|
42
|
+
model.add(nn.Activation_ReLU())
|
|
43
|
+
model.add(nn.Dense_Dropout(0.1))
|
|
44
|
+
model.add(nn.Dense(128, 10))
|
|
45
|
+
model.add(nn.Activation_SoftMax())
|
|
46
|
+
|
|
47
|
+
# Compile model
|
|
48
|
+
model.set(
|
|
49
|
+
loss=nn.Loss_CategoricalCrossEntropy(),
|
|
50
|
+
optimizer=nn.Optimizer_Adam(learning_rate=0.001),
|
|
51
|
+
accuracy=nn.Accuracy_Categorical()
|
|
52
|
+
)
|
|
53
|
+
model.finalize()
|
|
54
|
+
|
|
55
|
+
# Train (assuming X_train, y_train are prepared)
|
|
56
|
+
# model.train(X_train, y_train, epochs=10, batch_size=128)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Author
|
|
60
|
+
Developed by **Dung Cai** - Ho Chi Minh City University of Technology and Education (HCMUTE).
|
uteai-0.2.0/README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# uteAI
|
|
2
|
+
**Advanced AI, Neural Network, and Edge Engine Library from HCMUTE**
|
|
3
|
+
|
|
4
|
+
`uteAI` is a high-performance, educational Deep Learning engine built from scratch. It implements standard feedforward neural networks with seamless CPU/GPU duality using NumPy and CuPy.
|
|
5
|
+
|
|
6
|
+
## Key Features
|
|
7
|
+
* **Seamless CPU/GPU Duality**: Automatically detects and utilizes NVIDIA CUDA GPUs via `CuPy`. Safely falls back to `NumPy` if no GPU is available.
|
|
8
|
+
* **Zero-Copy Host-to-Device Pipeline**: Minimizes PCIe transfer bottlenecks during training.
|
|
9
|
+
* **Built from Scratch**: Clear, educational implementations of Dense layers, Activations (ReLU, Softmax, Sigmoid), Optimizers (Adam, RMSprop, SGD), and Loss functions (Categorical Cross-Entropy, MSE).
|
|
10
|
+
* **Cross-Platform Portability**: Model weights are saved as standard NumPy arrays, ensuring checkpoints are compatible across purely CPU or GPU environments.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
```bash
|
|
14
|
+
pip install uteAI
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
```python
|
|
19
|
+
import uteAI.core as nn
|
|
20
|
+
import numpy as np
|
|
21
|
+
|
|
22
|
+
# Automatically selects 'cuda' if available, else 'cpu'
|
|
23
|
+
model = nn.Model(device='auto')
|
|
24
|
+
|
|
25
|
+
# Build architecture
|
|
26
|
+
model.add(nn.Dense(784, 128, weight_init='he'))
|
|
27
|
+
model.add(nn.Activation_ReLU())
|
|
28
|
+
model.add(nn.Dense_Dropout(0.1))
|
|
29
|
+
model.add(nn.Dense(128, 10))
|
|
30
|
+
model.add(nn.Activation_SoftMax())
|
|
31
|
+
|
|
32
|
+
# Compile model
|
|
33
|
+
model.set(
|
|
34
|
+
loss=nn.Loss_CategoricalCrossEntropy(),
|
|
35
|
+
optimizer=nn.Optimizer_Adam(learning_rate=0.001),
|
|
36
|
+
accuracy=nn.Accuracy_Categorical()
|
|
37
|
+
)
|
|
38
|
+
model.finalize()
|
|
39
|
+
|
|
40
|
+
# Train (assuming X_train, y_train are prepared)
|
|
41
|
+
# model.train(X_train, y_train, epochs=10, batch_size=128)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Author
|
|
45
|
+
Developed by **Dung Cai** - Ho Chi Minh City University of Technology and Education (HCMUTE).
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: uteAI
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Advanced AI, Neural Network, and Edge Engine Library from HCMUTE
|
|
5
|
+
Author-email: Dung Cai <dung.cai@hcmute.edu.vn>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/your-username/uteAI
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
12
|
+
Requires-Python: >=3.8
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
Requires-Dist: numpy>=1.20.0
|
|
15
|
+
|
|
16
|
+
# uteAI
|
|
17
|
+
**Advanced AI, Neural Network, and Edge Engine Library from HCMUTE**
|
|
18
|
+
|
|
19
|
+
`uteAI` is a high-performance, educational Deep Learning engine built from scratch. It implements standard feedforward neural networks with seamless CPU/GPU duality using NumPy and CuPy.
|
|
20
|
+
|
|
21
|
+
## Key Features
|
|
22
|
+
* **Seamless CPU/GPU Duality**: Automatically detects and utilizes NVIDIA CUDA GPUs via `CuPy`. Safely falls back to `NumPy` if no GPU is available.
|
|
23
|
+
* **Zero-Copy Host-to-Device Pipeline**: Minimizes PCIe transfer bottlenecks during training.
|
|
24
|
+
* **Built from Scratch**: Clear, educational implementations of Dense layers, Activations (ReLU, Softmax, Sigmoid), Optimizers (Adam, RMSprop, SGD), and Loss functions (Categorical Cross-Entropy, MSE).
|
|
25
|
+
* **Cross-Platform Portability**: Model weights are saved as standard NumPy arrays, ensuring checkpoints are compatible across purely CPU or GPU environments.
|
|
26
|
+
|
|
27
|
+
## Installation
|
|
28
|
+
```bash
|
|
29
|
+
pip install uteAI
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Quick Start
|
|
33
|
+
```python
|
|
34
|
+
import uteAI.core as nn
|
|
35
|
+
import numpy as np
|
|
36
|
+
|
|
37
|
+
# Automatically selects 'cuda' if available, else 'cpu'
|
|
38
|
+
model = nn.Model(device='auto')
|
|
39
|
+
|
|
40
|
+
# Build architecture
|
|
41
|
+
model.add(nn.Dense(784, 128, weight_init='he'))
|
|
42
|
+
model.add(nn.Activation_ReLU())
|
|
43
|
+
model.add(nn.Dense_Dropout(0.1))
|
|
44
|
+
model.add(nn.Dense(128, 10))
|
|
45
|
+
model.add(nn.Activation_SoftMax())
|
|
46
|
+
|
|
47
|
+
# Compile model
|
|
48
|
+
model.set(
|
|
49
|
+
loss=nn.Loss_CategoricalCrossEntropy(),
|
|
50
|
+
optimizer=nn.Optimizer_Adam(learning_rate=0.001),
|
|
51
|
+
accuracy=nn.Accuracy_Categorical()
|
|
52
|
+
)
|
|
53
|
+
model.finalize()
|
|
54
|
+
|
|
55
|
+
# Train (assuming X_train, y_train are prepared)
|
|
56
|
+
# model.train(X_train, y_train, epochs=10, batch_size=128)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Author
|
|
60
|
+
Developed by **Dung Cai** - Ho Chi Minh City University of Technology and Education (HCMUTE).
|
uteai-0.1.0/PKG-INFO
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: uteAI
|
|
3
|
-
Version: 0.1.0
|
|
4
|
-
Summary: Advanced AI, Neural Network, and Edge Engine Library from HCMUTE
|
|
5
|
-
Author-email: Dung Cai <dung.cai@hcmute.edu.vn>
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/your-username/uteAI
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Classifier: Operating System :: OS Independent
|
|
11
|
-
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
12
|
-
Requires-Python: >=3.8
|
|
13
|
-
Description-Content-Type: text/markdown
|
|
14
|
-
Requires-Dist: numpy>=1.20.0
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: uteAI
|
|
3
|
-
Version: 0.1.0
|
|
4
|
-
Summary: Advanced AI, Neural Network, and Edge Engine Library from HCMUTE
|
|
5
|
-
Author-email: Dung Cai <dung.cai@hcmute.edu.vn>
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/your-username/uteAI
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Classifier: Operating System :: OS Independent
|
|
11
|
-
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
12
|
-
Requires-Python: >=3.8
|
|
13
|
-
Description-Content-Type: text/markdown
|
|
14
|
-
Requires-Dist: numpy>=1.20.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|