Skip to content

Model Deployment

Planned Architecture (Future Phases)

Production model deployment and CI/CD pipeline are implemented in Phase 6 (Weeks 21–24).


Overview


Model Serving

Integration with FastAPI

import mlflow.pyfunc

model = mlflow.pyfunc.load_model("models:/FinSightSentiment/Production")

Inference Endpoint


Fallback Strategy


CI/CD Pipeline

flowchart LR
    A[Push to main] --> B[GitHub Actions]
    B --> C[Run Tests]
    C --> D[Build Docker Image]
    D --> E[Push to Registry]
    E --> F[Deploy to Cloud]
    F --> G[Health Check]

GitHub Actions Workflow


Docker


Monitoring in Production


Infrastructure