Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
CLI Tests / test-cli (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 3s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 2s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Deploy to Testnet / deploy-testnet (push) Successful in 1m12s
Documentation Validation / validate-docs (push) Failing after 8s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Successful in 2m6s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 4s
P2P Network Verification / p2p-verification (push) Successful in 4s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 32s
Package Tests / Python package - aitbc-core (push) Successful in 14s
Package Tests / Python package - aitbc-crypto (push) Successful in 12s
Package Tests / Python package - aitbc-sdk (push) Successful in 9s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 8s
Package Tests / JavaScript package - aitbc-token (push) Successful in 17s
Python Tests / test-python (push) Successful in 15s
Security Scanning / security-scan (push) Successful in 27s
Node Failover Simulation / failover-test (push) Successful in 7s
Multi-Node Stress Testing / stress-test (push) Successful in 6s
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
- Add SQLCipher encryption for ait-mainnet database with configurable flag - Add db_encryption_enabled and db_encryption_key_path config settings - Implement encryption key loading and PRAGMA key setup via connection events - Add shutdown_db function for proper database cleanup - Export middleware classes in aitbc/__init__.py - Fix import path in sync.py for settings - Remove duplicate agent documentation from docs
112 lines
1.6 KiB
Markdown
112 lines
1.6 KiB
Markdown
# GPU Setup & Configuration
|
|
Configure and optimize your GPU setup for mining.
|
|
|
|
## Prerequisites
|
|
|
|
### Driver Installation
|
|
|
|
```bash
|
|
# Ubuntu/Debian
|
|
sudo apt install nvidia-driver-535
|
|
|
|
# Verify installation
|
|
nvidia-smi
|
|
```
|
|
|
|
### CUDA Installation
|
|
|
|
```bash
|
|
# Download CUDA from NVIDIA
|
|
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
|
|
sudo dpkg -i cuda-keyring_1.1-1_all.deb
|
|
sudo apt-get update
|
|
sudo apt-get install cuda-toolkit-12-3
|
|
```
|
|
|
|
## Configuration
|
|
|
|
### Miner Config
|
|
|
|
Create `~/.aitbc/miner.yaml`:
|
|
|
|
```yaml
|
|
gpu:
|
|
type: v100
|
|
count: 1
|
|
cuda_devices: 0
|
|
|
|
performance:
|
|
max_memory_percent: 90
|
|
max_gpu_temp: 80
|
|
power_limit: 250
|
|
|
|
jobs:
|
|
max_concurrent: 4
|
|
timeout_grace: 300
|
|
```
|
|
|
|
### Environment Variables
|
|
|
|
```bash
|
|
export CUDA_VISIBLE_DEVICES=0
|
|
export NVIDIA_VISIBLE_DEVICES=all
|
|
export AITBC_GPU_MEMORY_LIMIT=0.9
|
|
```
|
|
|
|
## Optimization
|
|
|
|
### Memory Settings
|
|
|
|
```yaml
|
|
performance:
|
|
tensor_cores: true
|
|
fp16: true # Use half precision
|
|
max_memory_percent: 90
|
|
```
|
|
|
|
### Thermal Management
|
|
|
|
```yaml
|
|
thermal:
|
|
target_temp: 70
|
|
max_temp: 85
|
|
fan_curve:
|
|
- temp: 50
|
|
fan: 30
|
|
- temp: 70
|
|
fan: 60
|
|
- temp: 85
|
|
fan: 100
|
|
```
|
|
|
|
## Troubleshooting
|
|
|
|
### GPU Not Detected
|
|
|
|
```bash
|
|
# Check driver
|
|
nvidia-smi
|
|
|
|
# Check CUDA
|
|
nvcc --version
|
|
|
|
# Restart miner
|
|
aitbc miner restart
|
|
```
|
|
|
|
### Temperature Issues
|
|
|
|
```bash
|
|
# Monitor temperature
|
|
nvidia-smi -l 1
|
|
|
|
# Check cooling
|
|
ipmitool sdr list | grep Temp
|
|
```
|
|
|
|
## Next
|
|
|
|
- [Quick Start](./1_quick-start.md) — Get started
|
|
- [Monitoring](./6_monitoring.md) - Monitor your miner
|
|
- [Job Management](./3_job-management.md) — Job management
|