HackerTrans
TopNewTrendsCommentsPastAskShowJobs

scott_s

no profile record

Submissions

TorchCodec 0.14: HDR Video Decoding for CPU and CUDA, and Fast Wav Decoder

github.com
62 points·by scott_s·el mes pasado·13 comments

comments

scott_s
·hace 24 días·discuss
We dynamically load the shared object files. See: https://github.com/meta-pytorch/torchcodec/blob/8bbce656797c...

Solutions that shell out to the `ffmpeg` binary are not going to perform well.
scott_s
·hace 26 días·discuss
I was copying URLs fast-and-furious. The PyTorch Stable ABI reference is: https://docs.pytorch.org/docs/2.12/notes/libtorch_stable_abi...
scott_s
·hace 26 días·discuss
1. A higher-level API that better integrates into the PyTorch ecosystem.

2. Ease of going back-and-forth between CPU and GPU; in our experience, there's still a lot of scenarios where CPU decoding makes sense.

3. Audio decoding support.

Please take a look at our tutorials to get a feel for what TorchCodec can do: https://meta-pytorch.org/torchcodec/stable/generated_example...
scott_s
·hace 26 días·discuss
You can get older version of TorchCodec that work with older version of PyTorch, but it unfortunately will not have the new features (HDR video decoding; fast Wav decoding) in the latest release. See the compatbility matrix: https://github.com/meta-pytorch/torchcodec#compatibility-wit...

Up until recently, TorchCodec releases worked with one-and-only-one version of PyTorch. This is because up until recently, PyTorch did not have a stable ABI, and we needed to pin TorchCodec releases to PyTorch releases. But! PyTorch now has an excellent Stable ABI (https://github.com/meta-pytorch/torchcodec#compatibility-wit..., https://www.youtube.com/watch?v=HNdEmnvMvGE&t=1s) and TorchCodec is taking advantage of that since version 0.12.
scott_s
·hace 26 días·discuss
The one you have installed. :) We don't distribute FFmpeg and instead find your installed version at runtime. We support versions 4 through 8.
scott_s
·el mes pasado·discuss
For disclosure, I've worked on TorchCodec. I'm happy to answer any questions!
scott_s
·hace 4 meses·discuss
You are correct, but this is not a new role. AI effectively makes all of us tech leads.
scott_s
·hace 4 meses·discuss
That's not what the author means. Multiple times a day, I have conversations with LLMs about specific code or general technologies. It is very similar to having the same conversation with a colleague. Yes, the LLM may be wrong. Which is why I'm constantly looking at the code myself to see if the explanation makes sense, or finding external docs to see if the concepts check out.

Importantly, the LLM is not writing code for me. It's explaining things, and I'm coming away with verifiable facts and conceptual frameworks I can apply to my work.
scott_s
·hace 5 meses·discuss
I think of, and look up, this drunken rant at least once a year.
scott_s
·hace 6 meses·discuss
Yes, and that peer review happens through the ACM. It serves an organizing function. The conferences themselves are also in-person events, and most of the important research papers come out of those conferences.
scott_s
·hace 6 meses·discuss
It doesn't. arXiv is exclusively a pre-print service. The ACM digital library is for peer-reviewed, published papers. All of the peer-review happens through the ACM, as well as the physical conferences where people present and publish their papers.
scott_s
·hace 6 meses·discuss
IEEE may do it, as it's a professional organization. That is, they're a non-profit dedicated to the furtherance of the field. Being open access fits their mission, and the costs can be handled by dues and fees. Springer and Elsevier are for-profit publishers. I don't know how if they can have an open-access business model.
scott_s
·hace 6 meses·discuss
Great news. They temporarily opened it in 2020 during the pandemic. I argued it should remain so in a post: https://www.scott-a-s.com/acm-digital-library-should-remain-.... I'm glad it's finally happened.
scott_s
·hace 7 meses·discuss
Gather metrics and regularly report them.
scott_s
·hace 8 meses·discuss
Agreed. In grad school, I used Perl to script running my benchmarks, post-process my data and generate pretty graphs for papers. It was all Perl 5 and gnuplot. Once I saw someone do the same thing with Python and matplotlib, I never looked back. I later actually started using Python professionally, as I believe lots of other people had similar epiphanies. And not just from Perl, but from different languages and domains.

I think the article's author is implicitly not considering that people who were around when Perl was popular, who were perfectly capable of "understanding" it, actively decided against it.
scott_s
·hace 11 meses·discuss
That's true of all renewable energy sources. So we should take advantage of all of them, as much as is feasible.
scott_s
·hace 5 años·discuss
I intended to say "This is not one of those times that this adage applies."
scott_s
·hace 5 años·discuss
I live and work in NY. It was standard in my contract with my former employer.
scott_s
·hace 5 años·discuss
This is one of those times that this adage applies. In the worst case, "begging for forgiveness" does not mean asking your manager for an exception. It means losing an expensive court case with your former employer about who owns your IP.
scott_s
·hace 7 años·discuss
The presumption here, as I understand is, is that a zero-click search happened because Google used one of their inline apps to answer a question. (For example, if I search "population of new york city", I get a big and bold answer along with a graph that shows NYC's population over time, as well as LA and Chicago.)

But I'm not convinced that's necessarily true. I frequently search for things to get a general idea of what is out there, and I only skim the results. This is also something I do when I'm refining my search terms. It may take me several iterations to refine my terms until I find something I want to click through to. In this process, I may have three or four no-click searches before I land on a good query, and then I start clicking.