Amazon bedrock custom model

0

Can we use Bedrock (stable-diffusion/) on the cloud for model training? If so, what is the estimated cost?

flydino
asked 4 months ago652 views
2 Answers
0
Accepted Answer

Hi,

Yes, Bedrock models can be trained on customer data with full privacy protected. See https://aws.amazon.com/blogs/aws/customize-models-in-amazon-bedrock-with-your-own-data-using-fine-tuning-and-continued-pre-training/

On training costs, the blog above says:

Model customization is charged per tokens processed. This is the number of tokens in the training 
dataset multiplied by the number of training epochs. An epoch is one full pass through the training 
data during customization. Model storage is charged per month, per model. Inference is charged hourly 
per model unit using provisioned throughput. For detailed pricing information, see Amazon Bedrock Pricing.

But, currently Stable AI models are not supported for fine tuning: see https://aws.amazon.com/bedrock/pricing/

Best,

Didier

profile pictureAWS
EXPERT
answered 4 months ago
profile picture
EXPERT
reviewed 4 months ago
  • thank you, I am exploring AWS SageMaker, does it support training Stable AI models?

  • Hi, You're welcome. Thanks for accepting my answer. Amazon Bedrock supports some StableAI models: https://aws.amazon.com/bedrock/stable-diffusion/ But, AFAIK, you have to use them via Amazon Bedrock only. You can't launch your own instance of StableAI in Sagemaker

-1

Yes you can finetune Stable Diffusion models on both Bedrock and Sagemaker :

Bedrock :

https://www.youtube.com/watch?v=Sljz2fV558A

You may want to focus on the minute 32:50 For pricing you may see this :

What is Amazon Bedrock? - Amazon Bedrock pricing - https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html#bedrock-pricing

SageMaker :

https://aws.amazon.com/blogs/machine-learning/fine-tune-text-to-image-stable-diffusion-models-with-amazon-sagemaker-jumpstart/

https://www.youtube.com/watch?v=wMZ9VzGTyJc

AWS
answered 4 months ago
  • The Bedrock video mentioned in this reply describes training SD via Sagemaker Jumpstart - i don't believe there is a way now to fine tune and train SD directly in Bedrock

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions