CRUD APIs for training shape. Create Training Shape
Request
- Base URL: https://api.fireworks.ai
- URL: https://api.fireworks.ai/v1/accounts/{account_id}/trainingShapes
- Auth: HTTP bearer
Path parameters
The Account Id
Query parameters
The ID of the training shape. If not specified, a random ID will be generated. Must follow AIP-122 segment format and start with a letter.
Request body
Human-readable display name of the training shape. e.g. "Llama3 70B H200 BF16" Must be fewer than 64 characters long.
The description of the training shape. Must be fewer than 1000 characters long.
The creation time of the training shape.
The update time for the training shape.
The validated trainer runtime image tag used for numerics verification.
Trainer execution mode used for validated launch-profile matching.
Node count validated for the launch profile.
The model type of the base model (e.g. "llama", "qwen").
The parameter count of the base model, used for billion-parameter bucket matching.
Total number of accelerators used by the job.
The weight precision for model training/inference.
- BFLOAT16: no quantization applied
- INT8: enable 8-bit quantization with LLM.int8()
- NF4: enable 4-bit quantization with LLM.nf4()
- FP8: base model quantization in FP8
- FP4_FP8: base model linear module quantization in FP4, mixed with experts and some special keys/layers in FP8.
Capacity limits validated for this shape.
Minimum total accelerator count (world size, across all data-parallel replicas) this shape has been validated at. Written from shape-validation CI evidence; do not hand-edit downward.
Response
A successful response.
Human-readable display name of the training shape. e.g. "Llama3 70B H200 BF16" Must be fewer than 64 characters long.
The description of the training shape. Must be fewer than 1000 characters long.
The creation time of the training shape.
The update time for the training shape.
The validated trainer runtime image tag used for numerics verification.
Trainer execution mode used for validated launch-profile matching.
Node count validated for the launch profile.
The model type of the base model (e.g. "llama", "qwen").
The parameter count of the base model, used for billion-parameter bucket matching.
Total number of accelerators used by the job.
The weight precision for model training/inference.
- BFLOAT16: no quantization applied
- INT8: enable 8-bit quantization with LLM.int8()
- NF4: enable 4-bit quantization with LLM.nf4()
- FP8: base model quantization in FP8
- FP4_FP8: base model linear module quantization in FP4, mixed with experts and some special keys/layers in FP8.
Capacity limits validated for this shape.
Minimum total accelerator count (world size, across all data-parallel replicas) this shape has been validated at. Written from shape-validation CI evidence; do not hand-edit downward.
Changes
No recorded changes to this operation across all 1 revision of this API.