- Hugging Face repositories
- Models you upload directly
How to Upload a Model
You can upload your own model files directly to FriendliAI using the Friendli CLI, then deploy them to a Dedicated Endpoint.1
Install the CLI
Install the Friendli CLI, specifying the exact version:
2
Prepare Your API Key
The CLI requires authentication. Create an API key in Personal Settings > API Keys and set it as an environment variable:
3
Confirm Your Project ID
Identify the Project ID where you want to upload your model, and set it as an environment variable:
4
Run the Upload Command
Upload your local model directory to FriendliAI:
--name: The name to assign to the model on Friendli./path/to/model: The local path to your model files.
- Identical files are deduplicated automatically and won’t be re-uploaded.
- Some files may be skipped if they are unnecessary or unsupported.