-n, --name TEXT
: Denotes the name of the model.-s, --source TEXT
: Not needed if local, else provide Github/Gitlab. [default: local]-u, --url TEXT
: Denotes the URL of the repo. required if source is not local.-b, --branch TEXT
: Denotes the branch where the model is located. required if source is not local.-a, --autobuild
: Enable autobuild for the model. will be False for local source.docker
: Initialize with Docker.file
: Import a PyTorch, ONNX, or TensorFlow file…hf
: Load a model from Hugging Face.pythonic
: (Default) Deploy a Python workflow.inferless init
-n, --name TEXT
: Denotes the name of the model. [required]-s, --source TEXT
: Not needed if local, else provide Github/Gitlab. [default: local]-u, --url TEXT
: Denotes the URL of the repo. required if source is not local.-b, --branch TEXT
: Denotes the branch where the model is located. required if source is not local.-a, --autobuild
: Enable autobuild for the model. will be False for local source.-n, --name TEXT
: Denotes the name of the model. [required]-m, --hfmodelname TEXT
: Name of the Hugging Face repo. [required]-t, --modeltype TEXT
: Type of the model (transformer/diffuser). [required]-k, --tasktype TEXT
: Task type of the model (text-generation). [required]input_schema.py
This file defines the structure and validation rules for the input data that a model expects. This file is crucial for ensuring that the data fed into the model is in the correct format and meets all necessary requirements.
inferless-runtime-config.yaml
This file will have all the software packages and the Python packages required for the model inferencing.
inferless.yaml
This file will have all the configurations required for the deployment. Users can update this file according to their requirements.
-n, --name TEXT
: Denotes the name of the model. [required]-t, --type TEXT
: Type for import: dockerimage/dockerfile. [required]-p, --provider TEXT
: Provider for the model dockerimage = (dockerhub/ecr) dockerfile = (github/gitlab). [required]-u, --url TEXT
: Docker image URL or GitHub/GitLab URL. [required]-b, --branch TEXT
: Branch for Dockerfile import (GitHub/GitLab). required if type is dockerfile.-d, --dockerfilepath TEXT
: Path to the Dockerfile. required if type is dockerfile.-h, --healthapi TEXT
: Health check API endpoint. [required]-i, --inferapi TEXT
: Inference API endpoint. [required]-s, --serverport INTEGER
: Server port. [required]-a, --autobuild
: Enable autobuild for the model.-n, --name TEXT
: Denotes the name of the model. [required]-f, --framework TEXT
: Framework of the model. [pytorch, onnx, tensorflow] [default: pytorch]-p, --provider TEXT
: Provider for the model (local/gcs/s3). [default: local]--url TEXT
: Provider URL. required if provider is not local.