chore: remove configuration files and enhance blockchain explorer with advanced search, analytics, and export features
- Delete .aitbc.yaml.example CLI configuration template - Delete .lycheeignore link checker exclusion rules - Delete .nvmrc Node.js version specification - Add advanced search panel with filters for address, amount range, transaction type, time range, and validator - Add analytics dashboard with transaction volume, active addresses, and block time metrics - Add Chart.js integration
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Client Quick Start
|
||||
|
||||
**5 minutes** — Install, configure, submit your first job.
|
||||
**5 minutes** — Install, configure, submit your first job with the enhanced AITBC CLI.
|
||||
|
||||
## 1. Install & Configure
|
||||
|
||||
@@ -8,12 +8,17 @@
|
||||
pip install -e . # from monorepo root
|
||||
aitbc config set coordinator_url http://localhost:8000
|
||||
export AITBC_API_KEY=your-key
|
||||
|
||||
# Verify installation
|
||||
aitbc --version
|
||||
aitbc --debug
|
||||
```
|
||||
|
||||
## 2. Create Wallet
|
||||
|
||||
```bash
|
||||
aitbc wallet create --name my-wallet
|
||||
aitbc wallet balance
|
||||
```
|
||||
|
||||
Save your seed phrase securely.
|
||||
@@ -21,14 +26,40 @@ Save your seed phrase securely.
|
||||
## 3. Submit a Job
|
||||
|
||||
```bash
|
||||
aitbc client submit --prompt "Summarize this document" --input data.txt
|
||||
# Enhanced job submission with more options
|
||||
aitbc client submit \
|
||||
--prompt "Summarize this document" \
|
||||
--input data.txt \
|
||||
--model gpt2 \
|
||||
--priority normal \
|
||||
--timeout 3600
|
||||
```
|
||||
|
||||
## 4. Track & Download
|
||||
|
||||
```bash
|
||||
# Enhanced job tracking
|
||||
aitbc client status --job-id <JOB_ID>
|
||||
aitbc client list --status submitted
|
||||
aitbc client download --job-id <JOB_ID> --output ./results
|
||||
|
||||
# Monitor job progress
|
||||
aitbc monitor dashboard
|
||||
```
|
||||
|
||||
## 5. Advanced Features
|
||||
|
||||
```bash
|
||||
# Batch job submission
|
||||
aitbc client batch-submit --jobs-file jobs.json
|
||||
|
||||
# Job management
|
||||
aitbc client list --status completed
|
||||
aitbc client cancel --job-id <JOB_ID>
|
||||
|
||||
# Configuration management
|
||||
aitbc config show
|
||||
aitbc config profiles create production
|
||||
```
|
||||
|
||||
## Next
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Job Submission Guide
|
||||
|
||||
Submit compute jobs to the AITBC network.
|
||||
Submit compute jobs to the AITBC network using the enhanced CLI.
|
||||
|
||||
## Basic Submission
|
||||
|
||||
@@ -8,7 +8,7 @@ Submit compute jobs to the AITBC network.
|
||||
aitbc client submit --model gpt2 --input data.txt --output results/
|
||||
```
|
||||
|
||||
## Options Reference
|
||||
## Enhanced Options Reference
|
||||
|
||||
| Option | Required | Description |
|
||||
|--------|----------|-------------|
|
||||
@@ -19,6 +19,8 @@ aitbc client submit --model gpt2 --input data.txt --output results/
|
||||
| `--gpu-count` | No | Number of GPUs (default: 1) |
|
||||
| `--timeout` | No | Job timeout in seconds (default: 3600) |
|
||||
| `--priority` | No | Job priority (low, normal, high) |
|
||||
| `--agent-id` | No | Specific agent ID for execution |
|
||||
| `--workflow` | No | Agent workflow to use |
|
||||
|
||||
## GPU Requirements
|
||||
|
||||
@@ -40,6 +42,22 @@ aitbc client submit --model llama --input data.txt --gpu a100 --gpu-count 4
|
||||
aitbc client submit --model stable-diffusion --input data.txt --gpu rtx3090
|
||||
```
|
||||
|
||||
## Agent Workflow Submission (New)
|
||||
|
||||
```bash
|
||||
# Submit job to specific agent workflow
|
||||
aitbc client submit \
|
||||
--workflow ai_inference \
|
||||
--input '{"prompt": "Hello world"}' \
|
||||
--agent-id agent_123
|
||||
|
||||
# Submit with custom workflow configuration
|
||||
aitbc client submit \
|
||||
--workflow custom_workflow \
|
||||
--input data.txt \
|
||||
--workflow-config '{"temperature": 0.8, "max_tokens": 1000}'
|
||||
```
|
||||
|
||||
## Input Methods
|
||||
|
||||
### File Input
|
||||
@@ -48,6 +66,153 @@ aitbc client submit --model stable-diffusion --input data.txt --gpu rtx3090
|
||||
aitbc client submit --model gpt2 --input ./data/training_data.txt
|
||||
```
|
||||
|
||||
### Direct Data Input
|
||||
|
||||
```bash
|
||||
aitbc client submit --model gpt2 --input "What is AI?"
|
||||
```
|
||||
|
||||
### JSON Input
|
||||
|
||||
```bash
|
||||
aitbc client submit --model gpt2 --input '{"prompt": "Summarize this", "context": "AI training"}'
|
||||
```
|
||||
|
||||
## Batch Submission (New)
|
||||
|
||||
```bash
|
||||
# Create jobs file
|
||||
cat > jobs.json << EOF
|
||||
[
|
||||
{
|
||||
"model": "gpt2",
|
||||
"input": "What is machine learning?",
|
||||
"priority": "normal"
|
||||
},
|
||||
{
|
||||
"model": "llama",
|
||||
"input": "Explain blockchain",
|
||||
"priority": "high"
|
||||
}
|
||||
]
|
||||
EOF
|
||||
|
||||
# Submit batch jobs
|
||||
aitbc client batch-submit --jobs-file jobs.json
|
||||
```
|
||||
|
||||
## Job Templates (New)
|
||||
|
||||
```bash
|
||||
# Create job template
|
||||
aitbc client template create \
|
||||
--name inference_template \
|
||||
--model gpt2 \
|
||||
--priority normal \
|
||||
--timeout 3600
|
||||
|
||||
# Use template
|
||||
aitbc client submit --template inference_template --input "Hello world"
|
||||
```
|
||||
|
||||
## Advanced Submission Options
|
||||
|
||||
### Priority Jobs
|
||||
|
||||
```bash
|
||||
aitbc client submit --model gpt2 --input data.txt --priority high
|
||||
```
|
||||
|
||||
### Custom Timeout
|
||||
|
||||
```bash
|
||||
aitbc client submit --model gpt2 --input data.txt --timeout 7200
|
||||
```
|
||||
|
||||
### Specific Agent
|
||||
|
||||
```bash
|
||||
aitbc client submit --model gpt2 --input data.txt --agent-id agent_456
|
||||
```
|
||||
|
||||
### Custom Workflow
|
||||
|
||||
```bash
|
||||
aitbc client submit \
|
||||
--workflow custom_inference \
|
||||
--input data.txt \
|
||||
--workflow-config '{"temperature": 0.7, "top_p": 0.9}'
|
||||
```
|
||||
|
||||
## Marketplace Integration
|
||||
|
||||
### Find Available GPUs
|
||||
|
||||
```bash
|
||||
aitbc marketplace gpu list
|
||||
aitbc marketplace gpu list --model gpt2 --region us-west
|
||||
```
|
||||
|
||||
### Submit with Marketplace GPU
|
||||
|
||||
```bash
|
||||
aitbc client submit \
|
||||
--model gpt2 \
|
||||
--input data.txt \
|
||||
--gpu-type rtx4090 \
|
||||
--use-marketplace
|
||||
```
|
||||
|
||||
## Job Monitoring
|
||||
|
||||
### Track Submission
|
||||
|
||||
```bash
|
||||
aitbc client status --job-id <JOB_ID>
|
||||
aitbc client list --status submitted
|
||||
```
|
||||
|
||||
### Real-time Monitoring
|
||||
|
||||
```bash
|
||||
aitbc monitor dashboard
|
||||
aitbc monitor metrics --component jobs
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Common Issues
|
||||
|
||||
```bash
|
||||
# Check CLI configuration
|
||||
aitbc --config
|
||||
|
||||
# Test connectivity
|
||||
aitbc blockchain status
|
||||
|
||||
# Debug mode
|
||||
aitbc --debug
|
||||
```
|
||||
|
||||
### Job Failure Analysis
|
||||
|
||||
```bash
|
||||
# Get detailed job information
|
||||
aitbc client status --job-id <JOB_ID> --verbose
|
||||
|
||||
# Check agent status
|
||||
aitbc agent status --agent-id <AGENT_ID>
|
||||
```
|
||||
|
||||
## Best Practices
|
||||
|
||||
1. **Use appropriate GPU types** for your model requirements
|
||||
2. **Set reasonable timeouts** based on job complexity
|
||||
3. **Use batch submission** for multiple similar jobs
|
||||
4. **Monitor job progress** with the dashboard
|
||||
5. **Use templates** for recurring job patterns
|
||||
6. **Leverage agent workflows** for complex processing pipelines
|
||||
|
||||
### Inline Input
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user