Skip to content

Commit

Permalink
Merge pull request #15 from jcooper-salt/model-import
Browse files Browse the repository at this point in the history
Model import docs & example videos
  • Loading branch information
Alx-AI authored Jul 10, 2024
2 parents 4da90fa + 727fc47 commit 7e402d2
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/deploy-to-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ curl -X POST --location "<https://salt-api-dev.getsalt.ai/api/v1/deployments/782
},
"input_name2": {
"value": {
"url": "<https://imageurl.com/image.png>"
"url": "https://imageurl.com/my-image.png"
},
"value_type": "REFERENCE"
},
Expand Down
42 changes: 42 additions & 0 deletions docs/model-import.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Importing Models from CivitAI or Hugging Face

Self service model importing is here! You can now seamlessly upload models directly from Huggingface or CivitAI, streamlining your development process.

## Importing from CivitAI

Watch this short tutorial to learn how to easily import models directly from CivitAI.

<video width="1200" controls>
<source src="/videos/model-import-tutorial.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>

<aside>
ℹ️ If the creator of the asset requires you to be logged in to download it, you will not be able to import it on Salt.
</aside>

## Importing from Hugging Face

Watch this short tutorial to learn how to easily import models directly from Hugging Face.

<video width="1200" controls>
<source src="/videos/model-import-huggingface.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>

<aside>
ℹ️ When downloading a model from Huggingface, ensure you are copying the link address of the primary model file. Huggingface repositories often include additional files.
</aside>

## Frequently Asked Questions

### Q: What file types are supported for model imports?
A: Salt supports .safetensors, .ckpt, and .pth file types.

### Q: Can I import multiple models at once?
A: Yes, you can import multiple models in parallel.

### Q: Why can't I import a specific model?
A: We do not support importing private models from either CivitAI or Hugging Face. If the creator of the asset requires you to login, or marks the model as private, you will not be able to import it on Salt.

If you encounter any issues not covered here or need further assistance, don’t hesitate to reach out to us through **[Discord](https://discord.com/channels/1151592612525002822/1212167911771217961)**.
Binary file added docs/videos/model-import-huggingface.mp4
Binary file not shown.
Binary file added docs/videos/model-import-tutorial.mp4
Binary file not shown.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ site_name: Salt Documentation
nav:
- Getting Started: index.md
- Workflows: workflows.md
- Importing Models: model-import.md
- Deployments:
- Deploy to API: deploy-to-api.md
- Deploy to Discord: deploy-to-discord.md
Expand Down

0 comments on commit 7e402d2

Please sign in to comment.