This file contains 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
# ============================================================================== | |
# ShellGPT | |
# ============================================================================== | |
# ------------------------------------------------------------------------------ | |
if which sgpt >/dev/null 2>&1; then | |
# ------------------------------------------------------------------------------ | |
alias sgpt-chat="sgpt --repl chat" | |
alias sgpt-code="sgpt --repl code --code" |
This file contains 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 -ex | |
################################################################################ | |
PACKAGES_TO_INSTALL="python=3.10.9 pytorch[version=2,build=py3.10_cuda11.7*] torchvision torchaudio pytorch-cuda=11.7 cuda-toolkit ninja git" | |
CHANNEL="-c pytorch -c nvidia/label/cuda-11.7.0 -c nvidia -c conda-forge" | |
#REPO_URL="https://github.com/oobabooga/text-generation-webui.git" # -b … | |
#GPTQ_URL="https://github.com/qwopqwop200/GPTQ-for-LLaMa.git -b cuda" | |
#GPTQ_URL="https://github.com/oobabooga/GPTQ-for-LLaMa.git" # -b … |