Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1006 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 1006 Bytes

Hammy

Bot built for Discord w/ Golang and discordgo.

Running hammy (local)

  • Clone the repo
  • Install Golang
  • Set environment variables (see .env file):
    • DISCORD_BOT_TOKEN: Create a discord application and bot token for development testing here
  • Start docker dev (make option available)
  • Run bot with go run command

GPU acceleration

Hammy runs ML models in Ollama. The docker-compose-dev.yml file starts up an ollama container without gpu access. If you have an nvidia gpu and would like to use the gpu acceleration run make up-gpu instead which will allow the container to use the gpu as long as you have the nvidia container toolkit installed

Hammy does not currently support AMD gpu acceleration.

make up
go run ./cmd/hammy/