This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: 2010-09-09 | |
Resources: | |
LlmEc2KeyPair: | |
Type: AWS::EC2::KeyPair | |
Properties: | |
KeyName: !Join [ "-", [ "llmkeys", !Ref "AWS::StackName" ] ] | |
LlmSshSecurityGroup: | |
Type: AWS::EC2::SecurityGroup | |
Properties: | |
GroupName: !Join [ "-", [ "llmsshsg", !Ref "AWS::StackName"]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Basic NON interactive install of text-generation-webui to host LLM on Ubuntu | |
GPU_GB=${1:-24} | |
#sudo apt update | |
#sudo apt install python3-pip | |
git clone https://github.com/oobabooga/text-generation-webui.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Download an LLM for use with text-generation-webui on Ubuntu | |
pushd text-generation-webui | |
echo "=== === Downloading an LLM ..." | |
# python3 download-model.py TheBloke/CodeLlama-13B-GGUF | |
python3 download-model.py mistralai/Mistral-7B-v0.1 | |
echo "=== === [done]" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer