Add a field to the ModelRecord to indicate whether a model is a vision model like Phi-vision models.
data class ModelRecord(
@SerializedName("model_url") val modelUrl: String,
@SerializedName("model_id") val modelId: String,
@SerializedName("estimated_vram_bytes") val estimatedVramBytes: Long?,
@SerializedName("model_lib") val modelLib: String
)
Motivation
Users and apps need to have additional UI and functionality for vision models for picking and loading images. Currently there is no way to retrieve the information from the config files as the information is missing.
Alternatives
Otherwise, the users could hardcode UI for specific models.
Additional context
I'm trying to add UI for iOS app of the MLC-LLM for Phi-vision models.
🚀 Feature
Add a field to the
ModelRecord
to indicate whether a model is a vision model likePhi-vision
models.Motivation
Users and apps need to have additional UI and functionality for vision models for picking and loading images. Currently there is no way to retrieve the information from the config files as the information is missing.
Alternatives
Otherwise, the users could hardcode UI for specific models.
Additional context
I'm trying to add UI for iOS app of the MLC-LLM for Phi-vision models.