Skip to content

Unable to download models from Civitai with custom provisioning script #137

Open
@draxx318

Description

@draxx318

I'm experiencing an issue when trying to download models using a custom provisioning script. The token has been supplied correctly, but I am unable to download models from Civitai. However, Hugging Face works as expected. I am running this on Runpod. Also, it works fine if no CIVITAI_TOKEN is provided for models that don't require it.

Steps to Reproduce:

Use the custom provisioning script saved as default.sh on GitHub Gist (link to the raw file).

  1. Provide provisioning script link as ENV
  2. Provide the token as ENV.
  3. Attempt to download the Juggernaut XL model.
  4. Hugging Face download works.
  5. Civitai download fails.

Expected Behavior:

The model should download from Civitai successfully, similar to how it works with Hugging Face.

Actual Behavior:

The download fails when trying to fetch the model from Civitai.

Additional Information:

  • Token was supplied correctly.
  • The issue only occurs with Civitai (Hugging Face is working fine).
  • No error message is returned when using Civitai download.
  • The provisioning script is saved as default.sh and is available as a raw file in the provided GitHub Gist link.
  • This is running on Runpod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions