1. 安装ollama客户端
官方下载地址
https://ollama.com/download
2.创建并编辑配置文件
nano ~/Library/LaunchAgents/com.user.ollama.service.plist
Continue reading “部署Ollama到MacOS” 官方下载地址
https://ollama.com/download
nano ~/Library/LaunchAgents/com.user.ollama.service.plist
Continue reading “部署Ollama到MacOS” Ollama offers various commands to manage and run models effectively across different operating systems. Here is a detailed look at each command with examples:
Continue reading “Detailed Command’s of Ollama”Download ollama Client: 【Click Here】
普通7B版 安装指令:(适合8G显存)
ollama run gemma:7b
如果你是第一次部署,它会自动下载!
7B的全量版本:(需要16G左右的显存)
ollama run gemma:7b-instruct-fp16
2B轻量版:(适合CPU会低配电脑安装)
ollama run gemma:2b
Model | Parameters | Size | Download |
---|---|---|---|
Llama 2 | 7B | 3.8GB | ollama run llama2 |
Mistral | 7B | 4.1GB | ollama run mistral |
Dolphin Phi | 2.7B | 1.6GB | ollama run dolphin-phi |
Phi-2 | 2.7B | 1.7GB | ollama run phi |
Neural Chat | 7B | 4.1GB | ollama run neural-chat |
Starling | 7B | 4.1GB | ollama run starling-lm |
Code Llama | 7B | 3.8GB | ollama run codellama |
Llama 2 Uncensored | 7B | 3.8GB | ollama run llama2-uncensored |
Llama 2 13B | 13B | 7.3GB | ollama run llama2:13b |
Llama 2 70B | 70B | 39GB | ollama run llama2:70b |
Orca Mini | 3B | 1.9GB | ollama run orca-mini |
Vicuna | 7B | 3.8GB | ollama run vicuna |
LLaVA | 7B | 4.5GB | ollama run llava |
Gemma | 2B | 1.4GB | ollama run gemma:2b |
Gemma | 7B | 4.8GB | ollama run gemma:7b |
huggingFace
The Stable Diffusion ComfyUI is a powerful GUI for AI image generation, but it’s also known for its limited documentation and steep learning curve for automatic1111 users.
By default, ComfyUI generated images will be dumped in the output folder with the meaningless filename ComfyUI_00001_.png with increasing numbers.
Shortcut | Explanation |
---|---|
Ctrl+Enter | Queue up current graph for generation |
Ctrl+Shift+Enter | Queue up current graph as first for generation |
Ctrl+S | Save workflow |
Ctrl+O | Load workflow |
Ctrl+A | Select all nodes |
Ctrl+M | Mute/unmute selected nodes |
Del | Delete selected nodes |
Backspace | Delete selected nodes |
Ctrl+Del | Delete the current graph |
Ctrl+Backspace | Delete the current graph |
Space | Move the canvas around when held and moving the cursor |
Ctrl+Left Button | Add clicked node to selection |
Shift+Left Button | Add clicked node to selection |
Ctrl+C | Copy selected nodes |
Ctrl+V | Paste selected nodes while severing connections |
Ctrl+Shift+V | Paste selected nodes while maintaining incoming connections |
Shift+Left Button | Hold and drag to move multiple selected nodes at the same time |
Ctrl+D | Load default graph |
Q | Toggle visibility of the queue |
H | Toggle visibility of history |
R | Refresh graph |
2 X Left Button | Double click to open node quick search palette |
Right Button | Open node menu |
I have three sets of Stable Diffusion ui installed on my computer:
There are a bunch of large models, LoRA, ControlNet, plus some VAE, upscale enlargement models, etc. The ones I commonly use are about 90G. Copying three copies takes up a lot of space, and updating the version is also troublesome.
You can put all the models in one location, and then specify the model location for each SD UI.
There are usually two methods:
Mklink and Command line parameters.
It is similar to a folder pointer or shortcut, which allows the model folders of each SD UI, such as models, to point to the same centrally stored model folder.
Example, use mklink to create a symbolic link to point the A directory on the C drive to the B directory on the D drive:
mklink /d C:\XXX\A D:\XXX\B
Microsoft mklink documentation:
https://learn.microsoft.com/zh-cn/windows-server/administration/windows-commands/mklink
For example my model folder is:
D:\ai\models\sd\webui_using
Some commonly used model files are classified under this folder:
Continue reading “How to share model and settings when multiple sets of Stable Diffusion”When it comes to web development, there are countless topics and scenarios that you could explore with the help of an AI like ChatGPT. Here are 40 prompts that can generate information, ideas, and advice in the field of web development.
Continue reading “ChatGPT Prompts for Web Development”