2024 m. rugpjūčio 16 d., penktadienis

Running LLM locally

Running Ollama with docker

 with CPU

docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama

 

docker exec -it ollama ollama run llama3.1
 


References:

Video tutorial for ollama on docker both cpu/gpu

2024 m. rugpjūčio 13 d., antradienis

2024 m. rugpjūčio 10 d., šeštadienis

Odoo cheetsheet

Odoo CheatSheet

odoo-cheatsheet

Awesome odoo tols list
awesome-odoo

# restore postgress db 
dropdb lcv && createdb lcv &&  psql lcv < lvc_dump_xml  

# find all odoo runiing processes
ps aux | grep -P [o]doo-bin.*conf

# odoo reports and pdf's reports debug 
cd /usr/local/bin; sudo mv wkhtmltopdf1 wkhtmltopdf

# kill all odoo processes
kill $(ps aux | grep "[o]doo" | awk '{print $2}')
pkill odoo

ps aux | grep python.*[o]doo_conf_file.conf | awk {'print $2'} | xargs kill -9



Resources:

https://gist.github.com/rockavoldy/46350ed3d37662ae9e2cc47ea7fb916a

2024 m. rugpjūčio 5 d., pirmadienis