Skip to content

Commit 5a764be

Browse files
committed
feat: Initial Neural Nexus core structure
1 parent d7c4e8f commit 5a764be

File tree

11,225 files changed

+2224940
-528
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,225 files changed

+2224940
-528
lines changed

.env

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# .env
2+
NEURAL_NEXUS_ENV=development
3+
ORCHESTRATOR_HOST=localhost
4+
ORCHESTRATOR_PORT=8080
5+
POSTGRES_PASSWORD=neural_nexus_2024
6+
REDIS_PASSWORD=redis_neural_nexus
7+
MQTT_USERNAME=neural_nexus
8+
MQTT_PASSWORD=mqtt_neural_nexus

.gitignore

Lines changed: 1 addition & 250 deletions
Original file line numberDiff line numberDiff line change
@@ -1,250 +1 @@
1-
# 🦀 Rust a tifacts
2-
target/
3-
Cargo.lock
4-
**/*.rs.bk
5-
*.pdb
6-
7-
# 🐍 Python artifacts
8-
__pycache__/
9-
*.py[cod]
10-
*$py.class
11-
*.so
12-
.Python
13-
build/
14-
develop-eggs/
15-
dist/
16-
downloads/
17-
eggs/
18-
.eggs/
19-
lib/
20-
lib64/
21-
parts/
22-
sdist/
23-
var/
24-
wheels/
25-
*.egg-info/
26-
.installed.cfg
27-
*.egg
28-
MANIFEST
29-
30-
# 🔧 Virtual environments
31-
venv/
32-
env/
33-
ENV/
34-
env.bak/
35-
venv.bak/
36-
.venv/
37-
.env
38-
.env.local
39-
.env.*.local
40-
41-
# 🧪 Testing & Coverage
42-
.coverage
43-
.pytest_cache/
44-
htmlcov/
45-
.tox/
46-
.nox/
47-
coverage.xml
48-
*.cover
49-
.hypothesis/
50-
.pytest_cache/
51-
nosetests.xml
52-
coverage.xml
53-
*.cover
54-
*.py,cover
55-
.coverage
56-
.coverage.*
57-
.cache
58-
59-
# 📊 Jupyter Notebook
60-
.ipynb_checkpoints
61-
notebooks/.ipynb_checkpoints/
62-
*.ipynb
63-
64-
# 🎯 Machine Learning Models
65-
*.h5
66-
*.hdf5
67-
*.pb
68-
*.onnx
69-
*.trt
70-
*.engine
71-
*.plan
72-
models/checkpoints/
73-
models/trained/
74-
models/cache/
75-
data/raw/
76-
data/processed/
77-
data/cache/
78-
79-
# 🏗️ Build artifacts
80-
cmake-build-*/
81-
build/
82-
dist/
83-
target/
84-
out/
85-
86-
# 🐳 Docker
87-
.dockerignore
88-
docker-compose.override.yml
89-
*.dockerfile.bak
90-
91-
# 🔄 CI/CD
92-
.github/workflows/*.log
93-
.circleci/
94-
.travis.yml
95-
.gitlab-ci.yml
96-
97-
# 🖥️ IDE & Editor
98-
.vscode/
99-
.idea/
100-
*.swp
101-
*.swo
102-
*~
103-
.DS_Store
104-
.vscode/settings.json
105-
.vscode/launch.json
106-
.vscode/extensions.json
107-
108-
# 📱 System files
109-
.DS_Store
110-
.DS_Store?
111-
._*
112-
.Spotlight-V100
113-
.Trashes
114-
ehthumbs.db
115-
Thumbs.db
116-
117-
# 🔐 Security & Secrets
118-
*.key
119-
*.pem
120-
*.crt
121-
*.p12
122-
secrets/
123-
.env
124-
.env.local
125-
.env.*.local
126-
config/secrets.yaml
127-
config/keys/
128-
129-
# 📈 Logs & Monitoring
130-
logs/
131-
*.log
132-
npm-debug.log*
133-
yarn-debug.log*
134-
yarn-error.log*
135-
lerna-debug.log*
136-
.pnpm-debug.log*
137-
138-
# 🌐 Networking
139-
*.pcap
140-
*.cap
141-
142-
# 🧮 Numerical computing
143-
*.npy
144-
*.npz
145-
*.pkl
146-
*.pickle
147-
148-
# 📊 Database
149-
*.db
150-
*.sqlite
151-
*.sqlite3
152-
data/*.db
153-
data/*.sqlite
154-
155-
# 🚀 Deployment
156-
k8s/secrets/
157-
k8s/config/
158-
helm/values.local.yaml
159-
terraform/.terraform/
160-
terraform/terraform.tfstate
161-
terraform/terraform.tfstate.backup
162-
terraform/*.tfvars
163-
164-
# 🔧 Hardware specific
165-
# Raspberry Pi
166-
*.img
167-
*.bin
168-
firmware/
169-
170-
# NVIDIA Jetson
171-
*.tensorrt
172-
*.engine
173-
*.plan
174-
jetpack/
175-
176-
# 🧪 Benchmarks & Performance
177-
benchmarks/results/
178-
performance/
179-
*.bench
180-
*.prof
181-
182-
# 📦 Package managers
183-
node_modules/
184-
npm-debug.log
185-
yarn-error.log
186-
package-lock.json
187-
yarn.lock
188-
189-
# 🎨 Media files (unless specifically needed)
190-
*.mp4
191-
*.avi
192-
*.mov
193-
*.mp3
194-
*.wav
195-
*.png
196-
*.jpg
197-
*.jpeg
198-
*.gif
199-
*.svg
200-
# Exception: Allow docs images
201-
!docs/images/*
202-
!docs/assets/*
203-
204-
# 🌍 Temporary files
205-
tmp/
206-
temp/
207-
*.tmp
208-
*.temp
209-
*~
210-
211-
# 🧠 Neural network specific
212-
wandb/
213-
tensorboard/
214-
checkpoints/
215-
experiments/
216-
217-
# 🔄 Backup files
218-
*.bak
219-
*.backup
220-
*.old
221-
222-
# 🧪 Test artifacts
223-
test-results/
224-
coverage/
225-
.nyc_output/
226-
227-
# 📚 Documentation build
228-
docs/_build/
229-
docs/site/
230-
site/
231-
232-
# 🔧 Configuration overrides
233-
config/local.yaml
234-
config/development.yaml
235-
config/production.yaml
236-
!config/example.yaml
237-
238-
# 🏭 Generated files
239-
generated/
240-
auto-generated/
241-
*_generated.py
242-
*_generated.rs
243-
*_pb2.py
244-
*_pb2_grpc.py
245-
246-
# 🎯 Edge computing specific
247-
edge_data/
248-
sensor_data/
249-
inference_cache/
250-
model_cache/
1+
target/\n*.pyc\n.venv/\nnode_modules/

Cargo.toml

Lines changed: 1 addition & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -2,89 +2,7 @@
22
name = "neural-nexus-core"
33
version = "0.1.0"
44
edition = "2021"
5-
authors = ["Neural Nexus Team <team@neuralnexus.dev>"]
6-
description = "Plataforma de IA Distribuida para Edge Computing con Inferencia Neuromorfica"
7-
license = "Apache-2.0"
8-
repository = "https://github.com/mechmind-dwv/core-system"
9-
keywords = ["edge-computing", "ai", "neuromorphic", "distributed", "inference"]
10-
categories = ["science", "network-programming", "embedded"]
11-
12-
[workspace]
13-
members = [
14-
"core/inference_engine",
15-
"core/distributed",
16-
"core/neuromorphic",
17-
"edge_modules/raspberry_pi",
18-
"edge_modules/jetson"
19-
]
205

216
[dependencies]
22-
# Core async runtime
237
tokio = { version = "1.0", features = ["full"] }
24-
async-trait = "0.1"
25-
26-
# Serialization
27-
serde = { version = "1.0", features = ["derive"] }
28-
serde_json = "1.0"
29-
bincode = "1.3"
30-
31-
# Networking & Communication
32-
tonic = "0.10" # gRPC
33-
prost = "0.12" # Protocol Buffers
34-
rumqttc = "0.24" # MQTT client
35-
hyper = "0.14"
36-
37-
# Machine Learning
38-
candle-core = "0.4" # Rust ML framework
39-
ort = "1.16" # ONNX Runtime bindings
40-
41-
# Monitoring & Metrics
42-
prometheus = "0.13"
43-
tracing = "0.1"
44-
tracing-subscriber = "0.3"
45-
46-
# Utilities
47-
anyhow = "1.0"
48-
thiserror = "1.0"
49-
uuid = { version = "1.0", features = ["v4"] }
50-
chrono = { version = "0.4", features = ["serde"] }
51-
52-
# Hardware specific
53-
rppal = { version = "0.14", optional = true } # Raspberry Pi
54-
jetson-inference = { version = "0.1", optional = true } # NVIDIA Jetson
55-
56-
[dev-dependencies]
57-
criterion = "0.5" # Benchmarking
58-
mockall = "0.12" # Mocking
59-
tokio-test = "0.4"
60-
61-
[features]
62-
default = ["inference", "distributed"]
63-
inference = []
64-
distributed = []
65-
neuromorphic = []
66-
raspberry-pi = ["rppal"]
67-
jetson = ["jetson-inference"]
68-
gpu-acceleration = []
69-
70-
[profile.release]
71-
lto = true
72-
codegen-units = 1
73-
panic = "abort"
74-
strip = true
75-
76-
[profile.dev]
77-
debug = true
78-
opt-level = 0
79-
80-
[[bin]]
81-
name = "neural-nexus-node"
82-
path = "src/bin/node.rs"
83-
84-
[[bin]]
85-
name = "neural-nexus-orchestrator"
86-
path = "src/bin/orchestrator.rs"
87-
88-
[[bench]]
89-
name = "inference_benchmark"
90-
harness = false
8+
prost = "0.12"

0 commit comments

Comments
 (0)