Snabel
Help with usage of unsafe apis in webview_deno
Hey! Yeah, so the
unsafeWindowHandle
should be useable with the respective platforms API:s as it's simply the handle/pointer to the native window. With GTK for example it might be possible to manage the window using https://github.com/sigmaSd/deno-gtk-py or maybe something from https://github.com/deno-windowing (@loading...?)6 replies
deno_python
There is a PR I made for installing and importing pip packages for deno_python too! https://github.com/denosaurs/deno_python/pull/43 I realized I need to fix some name normalization which I have on my other computer so you will have to wait a little longer but it uses the same environment as python so if
sys.path
in python contains the venv lib path it uses venv. (my pr does some magic and adds a deno path to the sys.path
)15 replies
Is anyone working on LLMs for Deno so I don't have to learn it in disgusting Python?
You could use https://github.com/denosaurs/deno_python and that way have access to the whole python ecosystem of llm's and ml while in the comfy and familiar confines of deno.
Heres a falcon7b example running locally in deno! Just run
pip install git+https://www.github.com/huggingface/transformers git+https://github.com/huggingface/accelerate bitsandbytes einops torch
and then the following program:
6 replies