Hardware-Profile teilen NeuroBrix genau mit, wie dein Rechner aussieht – GPUs, CPU, Speicher, Verbindungen. Der Prism-Solver liest das Profil und wählt automatisch die beste Ausführungsstrategie.
Standardmäßig erkennt NeuroBrix die gesamte Hardware deines Rechners automatisch:
neurobrix serve --model <name>
# Auto-detects all GPUs, CPU, interconnects
Schreibe ein eigenes Profil, wenn du Folgendes erreichen willst:
Sieh Profile als Möglichkeit, einen Teil deines Rechners für eine bestimmte NeuroBrix-Instanz abzugrenzen. Du kannst mehrere Instanzen auf demselben Rechner betreiben, jede mit eigenem Profil für andere GPUs.
neurobrix serve --model <name> --hardware v100-32g
neurobrix serve --model <name> --hardware my-custom-profile
Diese Profil-IDs werden mit der Engine ausgeliefert und können an --hardware übergeben werden:
| Familie | Profil-IDs |
|---|---|
| NVIDIA Rechenzentrum | a100-40g, a100-80g, a10-24g, h100-80g, l40s-48g, t4-16g, v100-16g, v100-32g |
| NVIDIA Consumer | rtx2080ti-11g, rtx3060-12g, rtx3080-10g, rtx3090-24g, rtx4080-16g, rtx4090-24g |
| CPU | cpu-only-x86 |
Von einigen gibt es auch Multi-GPU-Varianten. Die genauen auf deinem Rechner installierten IDs findest du im Profilverzeichnis unten.
Ein mitgeliefertes Profil ist kein Versprechen, dass die Hardware ausführt: siehe die drei Ehrlichkeitsstufen unter Hardware-Unterstützung. Nur Volta ist als empirisch validiert markiert.
Profile sind YAML-Dateien im Engine-Paket:
neurobrix/config/hardware/ # inside the installed package
├── default.yml # Auto-generated by detection (default-cpu.yml with no GPU)
├── v100-32g.yml # Bundled
├── ...
└── my-custom.yml # Your custom profile
Verwende den Dateinamen (ohne .yml) als Argument für --hardware.
Der häufigste Anwendungsfall: Du hast 4 GPUs und willst nur eine davon NeuroBrix widmen:
id: single-v100-32g
preferred_dtype: float16
summary:
total_gpus: 1
total_vram_gb: 32.0
total_ram_gb: 251.5
topology: Single-GPU
cpu:
model: "Intel(R) Xeon(R) Gold 6230 CPU @ 2.10GHz"
cores: 40
threads: 80
ram_mb: 257530
architecture: x86_64
features: [avx2, avx512f, fma]
devices:
- index: 0
brand: nvidia
model: Tesla V100-SXM2-32GB
memory_mb: 32768
compute_capability: "7.0"
supports_dtypes: [float32, float16]
architecture: volta
pcie_version: "3.0"
notes: "Single V100 32GB — other GPUs reserved for training"
Nun kannst du auf den übrigen GPUs ein zweites Modell ausführen oder sie für Training freihalten.
Vollständiges Multi-GPU-Profil mit NVLink-Verbindung:
id: my-2xv100-32g
vendor: dell
preferred_dtype: float16
summary:
total_gpus: 2
total_vram_gb: 64.0
total_ram_gb: 251.5
topology: Multi-GPU
cpu:
model: "Intel(R) Xeon(R) Gold 6230 CPU @ 2.10GHz"
cores: 40
threads: 80
ram_mb: 257530
architecture: x86_64
features: [fma, avx2, avx512f, avx512_vnni]
devices:
- index: 0
brand: nvidia
model: Tesla V100-SXM2-32GB
memory_mb: 32768
compute_capability: "7.0"
supports_dtypes: [float32, float16]
architecture: volta
pcie_version: "3.0"
- index: 1
brand: nvidia
model: Tesla V100-SXM2-32GB
memory_mb: 32768
compute_capability: "7.0"
supports_dtypes: [float32, float16]
architecture: volta
pcie_version: "3.0"
interconnect:
groups:
- index: 0
members: [0, 1]
type: full_mesh
tech: nvlink
bandwidth_gbps: 300
pcie_fallback:
version: "3.0"
lanes: 16
bandwidth_gbps: 32
notes: "2 x V100 SXM2 32GB with NVLink, Dell C4140"
NeuroBrix kommt mit heterogenen GPU-Konfigurationen zurecht. Prism platziert größere Komponenten auf der größeren GPU:
devices:
- index: 0
brand: nvidia
model: Tesla V100-SXM2-16GB
memory_mb: 16384
compute_capability: "7.0"
supports_dtypes: [float32, float16]
architecture: volta
- index: 1
brand: nvidia
model: Tesla V100-SXM2-32GB
memory_mb: 32768
compute_capability: "7.0"
supports_dtypes: [float32, float16]
architecture: volta
Für die Entwicklung oder kleine Modelle:
id: cpu-workstation
preferred_dtype: float32
summary:
total_gpus: 0
total_vram_gb: 0
total_ram_gb: 32.0
topology: CPU-Only
cpu:
model: "AMD Ryzen 9 7950X"
cores: 16
threads: 32
ram_mb: 32768
architecture: x86_64
features: [avx2, fma]
devices: []
notes: "CPU-only workstation, no discrete GPU"
| Feld | Erforderlich | Beschreibung |
|---|---|---|
id |
Ja | Eindeutige Profilkennung |
vendor |
Nein | Hersteller des Rechners (dell, supermicro usw.) |
preferred_dtype |
Ja | Standard-Rechen-Dtype |
summary |
Ja | Kurzstatistik für die Anzeige und Hinweise an den Solver |
cpu |
Ja | CPU-Informationen |
devices |
Ja | Liste der GPU-Geräte (leeres [] bei reiner CPU) |
interconnect |
Nein | GPU-zu-GPU-Verbindungen (bei Einzel-GPU/reiner CPU weglassen) |
pcie_fallback |
Nein | PCIe-Spezifikation für gruppenübergreifende Kommunikation |
| Hardware | Empfohlen | Warum |
|---|---|---|
| V100, T4, RTX 20 | float16 |
Keine bf16-Unterstützung |
| A100, RTX 30/40 | float16 oder bfloat16 |
Beide funktionieren, bf16 vermeidet Überlauf |
| H100, H200 | bfloat16 |
Native bf16-Tensor-Cores |
| CPU (generisch) | float32 |
Keine Beschleunigung für halbe Präzision |
| CPU mit AMX | bfloat16 |
bf16-Matrixmultiplikation in Hardware |
Warnung: Ohne
preferred_dtypekann Prism einem in fp32 gebauten Modell fp32 zuweisen, was Speicher und Durchsatz verschwendet. Setze es passend zu deiner Hardware.
| Technik | Typische Bandbreite | Anwendungsfall |
|---|---|---|
nvlink |
300-900 GB/s | Server-GPUs (V100 SXM, A100, H100) |
xgmi |
200-400 GB/s | AMD Instinct (MI250X, MI300X) |
pcie |
16-64 GB/s | Consumer-GPUs, gemischte Aufbauten |
neurobrix info --hardware my-custom
neurobrix serve --model <name> --hardware my-custom
Hat das Profil Fehler, stürzt NeuroBrix mit einer ausdrücklichen Meldung ab (ZERO FALLBACK — keine stillen Standardwerte).
--hardwareWeiter: Serving-Anleitung
© 2025–2026 Hocine Benkelaya. NeuroBrix engine released under the Apache License 2.0.
Developed by Hocine Benkelaya · Supported and funded by Neural Network Holding Ltd · Commercial distribution by WizWorks OÜ
Dokumentationsquelle: GitLab