Preparing object storage for Mistral AI Suite

Register your S3-compatible object storage and its three buckets in the Anywhere Cloud Console, and copy the recipes and tokenizers of Mistral Medium 3.5 into the models bucket, because Mistral AI Suite needs them before you deploy it.

Mistral AI Suite stores its application data and its database backups in buckets of S3-compatible object storage. The suite also needs the recipes and tokenizers of Mistral Medium 3.5 in the models bucket. The suite uses them to prepare requests to the model and to read its answers, even though the model runs behind the Cloudera AI Gateway endpoint. Without them, the suite has no model, and it never shows as Running in the Anywhere Cloud Console.

You copy only these small files. The model weights stay with the Cloudera AI Gateway endpoint, and no step in this task downloads them.

  • Your environment meets the requirements in Mistral AI Suite requirements.
  • You have your Mistral license key.
  • You have an account in the object storage that can create buckets and write objects to the models bucket.
  • You have a machine with Docker and the AWS CLI installed. The machine can reach your object storage, and it can reach the registry from which you pull the mistral-utils image.
  1. In the Anywhere Cloud Console, go to Admin Center > Storage.

    If no storage service is listed, click the Register Storage Service button, and register your S3-compatible object storage.

    The Status of the storage service shows Validated.

  2. Register three buckets on the storage service, one each for models, apps, and backups.

    For the permissions that the suite needs on each bucket, see Mistral AI Suite deployment parameters.

    The Registered Buckets column of the storage service shows the number of buckets that you registered.

  3. On the machine with Docker and the AWS CLI, download the recipes and tokenizers of Mistral Medium 3.5 by using the mistral-utils image.

    Set the LICENSE_KEY environment variable to your Mistral license key, and then run the following command:

    docker run --rm -v "$PWD/staging:/staging" registry/mistral-utils:v0.0.61 \
      mistral-utils mistral-rclone --license-key "$LICENSE_KEY" \
      --download-recipes '{"models":{"mistral-medium-3-5-0":{"enabled":true,"recipes":{"version":"v0.0.388"}}}}' \
      /staging

    In the command, registry is the registry that hosts the mistral-utils image for your organization. The --download-recipes option downloads the recipes and the tokenizers that they reference. It does not download any model weights.

  4. Copy the recipes and tokenizers to the root of the models bucket by using the AWS CLI:
    aws s3 sync staging/model/recipes/ s3://models-bucket/recipes/
    aws s3 sync staging/model/tokenizers/ s3://models-bucket/tokenizers/

    In the commands, models-bucket is the name of your models bucket. Copy the folders to recipes/ and tokenizers/ at the root of the bucket, and not under model/, because the suite reads them from the root.

  5. Check the contents of the models bucket.

    The bucket must contain the following objects:

    • recipes/v0.0.388/mistral-medium-3-5-0.yaml
    • tokenizers/v14.tekken_mm.json, which is the tokenizer that the recipe names

    The bucket must not contain a weights/ folder. The recipe has a path to the weights, but the suite never reads it.

The storage service is registered and validated, the three buckets are registered, and the models bucket contains the recipes and tokenizers. You can now deploy the suite. For more information, see Deploying Mistral AI Suite.