Nedo Vision Training Service
A distributed AI model training service for the Nedo Vision platform. This service manages training workflows, monitoring, and lifecycle management for computer vision models using RF-DETR architecture.
Features
- Configurable Training Service: Automated training with customizable intervals and parameters
- gRPC Communication: Reliable communication with the vision manager and other services
- Distributed Training: Support for multi-GPU and distributed training scenarios
- Real-time Monitoring: System resource monitoring and training progress tracking
- Cloud Integration: AWS S3 integration for model storage and dataset management
- Message Queue Support: RabbitMQ integration for task queue management
Installation
Install the package from PyPI:
pip install nedo-vision-training
For GPU support with CUDA 12.1:
pip install nedo-vision-training[gpu] --extra-index-url https://download.pytorch.org/whl/cu121
For development with all tools:
pip install nedo-vision-training[dev]
Quick Start
Using the CLI
After installation, you can use the training service CLI:
# Show CLI help
nedo-training --help
# Check system dependencies and requirements
nedo-training doctor
# Start training service with authentication token
nedo-training run --token YOUR_TOKEN
# Start with custom server configuration
nedo-training run --token YOUR_TOKEN --server-host custom.server.com --server-port 60000
# Start with custom REST API port
nedo-training run --token YOUR_TOKEN --rest-api-port 8081
# Start with custom intervals
nedo-training run --token YOUR_TOKEN --system-usage-interval 30 --latency-check-interval 15
# Start with all custom configurations
nedo-training run --token YOUR_TOKEN \
--server-host custom.server.com \
--server-port 60000 \
--rest-api-port 8081 \
--system-usage-interval 30 \
--latency-check-interval 15
Configuration Options
The service supports various configuration options:
Available Commands
doctor: Check system dependencies and requirements (CUDA, NVIDIA drivers, etc.)run: Start the training service
Run Command Options
--token: Authentication token for secure communication (required)--server-host: gRPC server host (default: localhost)--server-port: gRPC server port (default: 50051)--rest-api-port: Manager REST API port (default: 8081)--system-usage-interval: System usage reporting interval in seconds (default: 30)--latency-check-interval: Latency monitoring interval in seconds (default: 10)
Architecture
Core Components
- TrainingService: Main service orchestrator for training workflows
- RFDETRTrainer: RF-DETR algorithm implementation with PyTorch backend
- TrainerLogger: Real-time training progress logging via gRPC
- ResourceMonitor: System resource monitoring (GPU, CPU, memory)
Dependencies
The service relies on several key technologies:
- PyTorch: Deep learning framework with CUDA support
- RF-DETR: Roboflow's Real-time Detection Transformer
- gRPC: High-performance RPC framework
- RabbitMQ: Message queue for distributed task management
- AWS SDK: Cloud storage integration
- NVIDIA ML: GPU monitoring and management
Development Setup
Troubleshooting
Common Issues
- gRPC Connection Timeouts: Ensure the server host and port are correctly configured
- CUDA Out of Memory: Reduce batch size or use gradient accumulation
- Missing Dependencies: Reinstall with
pip install --upgrade nedo-vision-training
Support
For issues and questions:
- Check the logs for detailed error information
- Ensure your token is valid and not expired
- Verify network connectivity to the training manager
License
This project is part of the Nedo Vision platform. Please refer to the main project license for usage terms.
Metadata
Release files for nedo-vision-training 1.3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nedo_vision_training-1.3.7.tar.gz | 51.4 kB | Without provenance | Details for nedo_vision_training-1.3.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nedo_vision_training-1.3.7-py3-none-any.whl | Python 3 | none | any | Details for nedo_vision_training-1.3.7-py3-none-any.whl |
Total release size: 119.3 kB
Release files / nedo_vision_training-1.3.7.tar.gz
| Download URL | nedo_vision_training-1.3.7.tar.gz |
|---|---|
| Size | 51.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03627b10450024f41561bc041b1592b04dc92a76514fcc19b4d32f2b1a38c07a
|
|
BLAKE2b-256 checksum How to use checksums |
56628628805087adae7c5f2783a08e6d4eedb814eaba0c02c865618b82d60bfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / nedo_vision_training-1.3.7-py3-none-any.whl
| Download URL | nedo_vision_training-1.3.7-py3-none-any.whl |
|---|---|
| Size | 67.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82211ae27d0b3d21235c888135fc6e836fbfa6b75a51b34541689e7bc216e86d
|
|
BLAKE2b-256 checksum How to use checksums |
95a1cfa2d5911646f09dfeecb81a2b0b271b337a39f42c2e2e547db1d8df511a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for nedo-vision-training 1.3.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.