Jump to Content
Fireworks.aiHome
API Reference
Application Status
FAQsDiscordTwitter
v1.0

HomeGuidesFireworks.ai
API Reference
Guides
v1.0API Reference
Application Status
FAQsDiscordTwitter

Fireworks REST API

  • /chat/completions
    • POST /chat/completionspost
  • /completions
    • POST /completionspost
  • /image_generation/accounts/fireworks/models/stable-diffusion-xl-1024-v1-0
  • /image_generation/accounts/fireworks/models/stable-diffusion-xl-1024-v1-0/image_to_image
  • /image_generation/accounts/fireworks/models/stable-diffusion-xl-1024-v1-0/control_net
  • /embeddings
    • Creates an embedding vector representing the input text.post

Python Client Library

  • Installation
  • Authentication
  • API Reference

PeFT Addon

  • Requirements and limits
  • fireworks.json
  • adapter_config.json

Firectl CLI Reference

  • Installation
  • Commands
    • firectl create model
    • firectl get model
    • firectl list models
    • firectl update model
    • firectl delete model
    • firectl deploy
    • firectl undeploy
    • firectl signin
    • firectl whoami
    • firectl version
    • firectl upgrade
Powered by 

adapter_config.json

The Hugging Face adapter configuration file.

*## Schema

adapter_config.json must contain the following fields:

  • r - The number of LoRA ranks.
  • target_modules - A list of target modules.

Additional fields may be specified but are ignored.

Example

{
  "r": 4,
  "target_modules": [
    "k_proj",
    "q_proj",
    "v_proj",
  ]
}
  • Table of Contents
    • Example