feat: add GPU-specific fields to marketplace offers and create dedicated GPU marketplace router

- Add GPU fields (model, memory, count, CUDA version, price, region) to MarketplaceOffer model
- Create new marketplace_gpu router for GPU-specific operations
- Update offer sync to populate GPU fields from miner capabilities
- Move GPU attributes from generic attributes dict to dedicated fields
- Update MarketplaceOfferView schema with GPU fields
- Expand CLI README with comprehensive documentation and
This commit is contained in:
oib
2026-02-12 19:08:17 +01:00
parent 76a2fc9b6d
commit 5120861e17
57 changed files with 11720 additions and 131 deletions

View File

@@ -100,4 +100,10 @@ class MarketplaceService:
sla=offer.sla,
status=offer.status.value,
created_at=offer.created_at,
gpu_model=offer.gpu_model,
gpu_memory_gb=offer.gpu_memory_gb,
gpu_count=offer.gpu_count,
cuda_version=offer.cuda_version,
price_per_hour=offer.price_per_hour,
region=offer.region,
)