Hacker Newsnew | past | comments | ask | show | jobs | submit | kimoz's commentslogin

A UI based on browser-use:

https://github.com/browser-use/web-ui


Is it possible to achieve good results using the open source models for scrapping?


All Tarantino movies.


Anyone knows a free tool for generating subtitles for movies and series videos ?


SubtitleEdit is one of the most complete and has many online tutorials from users.

Make sure they are recent tutorials because they will probably mention how to use the automated generation tools/plugins that wasn't available years ago.

https://github.com/SubtitleEdit/subtitleedit


https://github.com/McCloudS/subgen worked very well for me. I had a TV series where somehow the last few seasons timestamps did not match up with subtitle files I could find online. I used subgen and it worked surprisingly well.


You can try https://www.transcripo.com/ for free


Nah the author lied in the title to grab attention. That's different than being "succinct".


Can one run it on CPU?


Stable Diffusion on a 16 core AMD CPU takes for me about 2-3 hours to generate an image, just to give you a rough idea of the performance. (On the same AMD's iGPU it takes 2 minutes or so).


WTF!

On my 5900X, so 12 cores, I was able to get SDXL to around 10-15 minutes. I did do a few things to get to that.

1. I used an AMD Zen optimised BLAS library. In particular the AMDBLIS one, although it wasn't that different to the Intel MKL one.

2. I preload the jemalloc library to get better aligned memory allocations.

3. I manually set the number of threads to 12.

This is the start of my ComfyUI CPU invocation script.

    export OMP_NUM_THREADS=12
    export LD_PRELOAD=/opt/aocl/4.1.0/aocc/lib_LP64/libblis-mt.so:$LD_PRELOAD
    export LD_PRELOAD=/usr/lib/libjemalloc.so:$LD_PRELOAD
    export MALLOC_CONF="oversize_threshold:1,background_thread:true,metadata_thp:auto,dirty_decay_ms: 60000,muzzy_decay_ms:60000"
Honestly, 12 threads wasn't much better than 8, and more than 12 was detrimental. I was memory bandwidth limited I think, not compute.


Even older GPUs are worth using then I take it?

For example I pulled a (2GB I think, 4 tops) 6870 out of my desktop because it's a beast (in physical size, and power consumption) and I wasn't using it for gaming or anything, figured I'd be fine just with the Intel integrated graphics. But if I wanted to play around with some models locally, it'd be worth putting it back & figuring out how to use it as a secondary card?


One counterintuitive advantage of the integrated GPU is it has access to system RAM (instead of using a dedicated and fixed amount of VRAM). That means I'm able to give the iGPU 16 GB of RAM. For me SD takes 8-9 GB of RAM when running. The system RAM is slower than VRAM which is the trade-off here.


Yeah I did wonder about that as I typed, which is why I mentioned the low amount (by modern standards anyway) on the card. OK, thanks!


2GB is really low. I've been able to use A111 stable diffusion on my old gaming laptop's 1060 (6GB VRAM) and it takes a little bit less than a minute to generate an image. You would probably need to try the --lowvram flag on startup.


No, I don't think so. I think you would need more VRAM to start with.


SDXL Turbo is much better, albeit kinda fuzzy and distorted. I was able to get decent single-sample response times (~80-100s) from my 4 core ARM Ampere instance, good enough for a Discord bot with friends.


Sd turbo runs nicely on a m2 MacBook Air (as does stable lm 2!)

Much faster models will come


Which AMD CPU/iGPU are these timings for?


AMD Ryzen 9 7950X 16-Core Processor

The iGPU is gfx1036 (RDNA 2).


If that is true, then the CPU variant must be a much worse implementation of the algorithm than the GPU variant, because the true ratio of the GPU and CPU performances is many times less than that.


Not if you want to finish the generation before you have stopped caring about the results.


You can run any ML model on CPU. The question is the performance


I learned emacs the same way.


Try reading the Bible again after watching Jordan Peterson's the Biblical series. You'll thank me later.


It will seem even more of a joke


I've been using the buff for the past 10 years to cover my eyes. Can't imagine living without.


Ah amazing, a fellow Buff sleeper haha :)


"Evil prevails when good men fail to act." What they ought to say is, "Evil prevails." - Yuri Orlov


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: