High-performance CPU utilities for AI training and parallel computation
Project description
IntellectUtils
🚀 IntellectUtils is a high-performance Python utility library built to accelerate AI workloads on CPU.
Designed by ARCX Studios and the Intellect team — led by Rayhan Aman and Cooper Johnson — this toolkit simplifies and supercharges training, preprocessing, and inference on machines without powerful GPUs.
🎯 “AI shouldn’t be slow just because you don’t have a GPU.”
✨ Features
- 🔥 JIT acceleration with Numba
- ⚙️ Multi-threaded & multi-process parallelism with Joblib and concurrent.futures
- 🔗 Distributed task execution using Ray
- 🧩 Graph-based task scheduling using Dask
- 💡 CPU tuning via OpenBLAS, BLIS, and Intel MKL
- 🧠 Efficient model inference using ONNX Runtime
- 📦 Built-in helpers for TensorFlow and PyTorch CPU optimization
- 🧪 Auto-tuning of environment variables for threading & performance
🏁 Quick Start
git clone https://github.com/LaserRay1234/IntellectUtils
cd IntellectUtils
pip install intellectutils
1. JIT Acceleration with Numba
from intellect_utils.jit_utils import jit_compile
@jit_compile
def add_loop(arr):
total = 0
for x in arr:
total += x
return total
print(add_loop([1, 2, 3, 4]))
2. Parallel Task Execution (CPU)
from intellect_utils.parallel_utils import run_parallel_threadpool
def slow_add(x, y):
return x + y
tasks = [(i, i * 2) for i in range(10)]
results = run_parallel_threadpool(slow_add, tasks)
print(results)
3. Distributed Computing with Ray
from intellect_utils.ray_utils import init_ray, run_parallel, shutdown_ray
def square(x):
return x * x
init_ray(num_cpus=4)
tasks = [(i,) for i in range(8)]
results = run_parallel(square, tasks)
shutdown_ray()
print(results)
4. ONNX Model Inference (CPU Optimized)
from intellect_utils.onnx_utils import run_onnx_model
output = run_onnx_model("model.onnx", input_dict={"input": input_array})
5. BLAS / MKL Thread Optimization
from intellect_utils.blas_utils import set_blas_threads
set_blas_threads(4) # Apply to NumPy, SciPy, PyTorch, etc.
6. PyTorch & TensorFlow CPU Tuning
from intellect_utils.torch_tf_utils import set_torch_num_threads, set_tf_num_threads
set_torch_num_threads(4)
set_tf_num_threads(4)
📁 Project Structure
intellect_utils/
├── jit_utils.py
├── parallel_utils.py
├── dask_utils.py
├── mkl_utils.py
├── onnx_utils.py
├── torch_tf_utils.py
├── ray_utils.py
├── blas_utils.py
└── __init__.py
🔧 Configuration
Use these utilities before importing NumPy/TensorFlow/PyTorch:
from intellect_utils.blas_utils import set_blas_threads
set_blas_threads(4)
🧑💻 About the Creators
ARCX Studios
Where AI meets speed.
💡 Built by Rayhan Aman, founder of Intellect, developer and AI optimization engineer.
💼 Co-created with Cooper Johnson, CFO, co-CEO of ARCX Studios, and systems strategist.
🧠 Designed to help students, developers, and startups train AI faster using just CPUs.
🪪 License
MIT License
🌍 Vision
Making AI development faster, more accessible, and GPU-free — powered by Intellect and ARCX Studios.
📫 Contact
GitHub: LaserRay1234
GitHub: ARCX-OFFICIAL
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file intellectutils-0.1.0b0.tar.gz.
File metadata
- Download URL: intellectutils-0.1.0b0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b2978127b40df1777dba8071e5d02d780b906746bec5f44fc548666b079f476
|
|
| MD5 |
06ac0e769f0db0fe69a3e15a20a926e7
|
|
| BLAKE2b-256 |
eec87adebac501515f811743717cfec33bf104f6313c89f6282c89aafc2082a9
|
File details
Details for the file intellectutils-0.1.0b0-py3-none-any.whl.
File metadata
- Download URL: intellectutils-0.1.0b0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a91a7f9d12fa60a14613119e83048bb641be0cbbcfe2bc090d28596f2c21fae
|
|
| MD5 |
d9ea73ae810df7fd7084276b73f6cb66
|
|
| BLAKE2b-256 |
680a37a7f1cc515354307c2d8dd313568e3f9ac5d4a8a89e920408b8134601cb
|