A comprehensive web platform for AI model fusion, evaluation, and deployment built with Next.js, React, and Ant Design.
Fusion Platform Web is a modern web interface for managing AI model fusion workflows, including model evaluation, deployment, and monitoring. The platform provides a unified dashboard for various AI model operations with real-time progress tracking and resource management.
- 📊 Dashboard - Real-time overview of running tasks, resource usage, and recent evaluations
- 🤖 Model Management - Import, manage, and organize AI models from various sources
- 🔄 Model Fusion - Advanced model fusion capabilities with InfiFusion technology
- 📈 Model Evaluation - Comprehensive model evaluation across multiple dimensions
- ⚡ Model Deployment - One-click deployment of fused models as inference services
- 🔧 Worker Management - GPU worker node monitoring and resource allocation
- 🏆 Leaderboard - Model performance comparison and ranking
- 🔀 MergeKit Integration - Model merging operations with various strategies
- 🎯 InfiFPO - Preference optimization for AI models
- Modern UI/UX - Built with Ant Design and Tailwind CSS
- Real-time Updates - Live progress tracking and status monitoring
- Multi-language Support - Internationalization-ready interface
- Responsive Design - Optimized for desktop and mobile devices
- API Integration - RESTful API client for backend communication
- Error Handling - Graceful error handling and fallback mechanisms
- Framework: Next.js 15.2.4 with App Router
- UI Library: Ant Design
- Styling: Tailwind CSS 4.1.9
- Icons: Lucide React
- State Management: React Hooks
- TypeScript: Full TypeScript support
- API Client: Custom REST client with error handling
- Authentication: JWT-based authentication
- Real-time: WebSocket support for live updates
- Node.js 18+
- npm or yarn
- Backend API server (see Backend section)
-
Clone the repository
git clone https://github.com/your-username/fusion-platform-web.git cd fusion-platform-web -
Install dependencies
npm install # or yarn install -
Environment Configuration Create a
.env.localfile:NEXT_PUBLIC_API_BASE_URL=http://localhost:8001/api NEXT_PUBLIC_WS_URL=ws://localhost:8001/ws
-
Start development server
npm run dev # or yarn dev -
Open your browser Navigate to
http://localhost:3000
fusion-platform-web/
├── app/ # Next.js App Router
│ ├── dashboard/ # Main dashboard and modules
│ │ ├── evaluation/ # Model evaluation interface
│ │ ├── models/ # Model management
│ │ ├── deployment/ # Model deployment
│ │ ├── workers/ # GPU worker management
│ │ ├── leaderboard/ # Model leaderboard
│ │ ├── mergekit/ # Model merging
│ │ ├── infifpo/ # Preference optimization
│ │ └── infifusion/ # Model fusion
│ ├── register/ # User registration
│ └── layout.tsx # Root layout
├── components/ # Reusable components
├── lib/ # Utility libraries
│ └── api.ts # API client and interfaces
├── public/ # Static assets
└── styles/ # Global styles
The platform communicates with a backend API server. Key API endpoints include:
- Models:
/api/models- Model CRUD operations - Evaluation:
/api/evaluation/tasks- Evaluation task management - Fusion:
/api/fusion/tasks- Model fusion workflows - Workers:
/api/workers- GPU worker management - Leaderboard:
/api/leaderboard- Model performance tracking
- Automatic error handling
- Network error detection
- Graceful fallback to mock data
- Progress tracking
- Real-time updates via WebSocket
- Color Scheme: Modern gradient-based design
- Typography: Clean, readable fonts
- Components: Consistent Ant Design components
- Responsive: Mobile-first responsive design
- Dashboard - Overview of system status and running tasks
- Model Management - Import and organize AI models
- Evaluation - Multi-dimensional model assessment
- Deployment - Model deployment and service management
- Worker Nodes - GPU resource monitoring and allocation
The project is configured for seamless deployment on Vercel:
- Connect your GitHub repository to Vercel
- Configure environment variables
- Deploy automatically on git push
NEXT_PUBLIC_API_BASE_URL=https://your-api-domain.com/api
NEXT_PUBLIC_WS_URL=wss://your-api-domain.com/ws
NEXTAUTH_SECRET=your-secret-key
NEXTAUTH_URL=https://your-domain.comnpm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint- TypeScript for type safety
- ESLint for code quality
- Prettier for code formatting
- Component-based architecture