This repo will serve as the central location for the Containerfiles and yamls needed to deploy Instructlab onto an OpenShift cluster with RHOAI.
The following Operators must be installed on the cluster
A ClusterPolicy must be deployed. The definition provided when clicking the "Create ClusterPolicy" although generic installs all required components.
An accelerator profile must be defined within the RHOAI dashboard or via CLI to enable GPU acceleration.
apiVersion: v1
items:
- apiVersion: dashboard.opendatahub.io/v1
kind: AcceleratorProfile
metadata:
name: gpu
namespace: redhat-ods-applications
spec:
displayName: gpu
enabled: true
identifier: nvidia.com/gpu
tolerations: []
A signed certificate ensures that there not unnecessary issues when performing the training pipeline.
To deploy a signed certificate in cluster follow trusted cluster cert
This solution requires object storage to be in place either through S3 or using Noobaa.
If you are using Noobaa apply the following tuning paramters
See standalone for instructions on deploying the Instructlab solution
without the need for RHOAI.
To generate the standalone.py
script, run the following command (ruff tool must be installed):
make standalone