A notable open issue in poetry is we can't currently specify one dependency on torch, and have it grab CPU version on some systems and GPU on others. Does PDM solve that?
1,498 karma · joined July 22, 2014
A notable open issue in poetry is we can't currently specify one dependency on torch, and have it grab CPU version on some systems and GPU on others. Does PDM solve that?
It's definitely a learning curve, but it turns out every conda user has been bit by the irreproducible tendencies of conda quite often. Nobody uses the conda env file, they just start an env and pip install things into it. They don't realize the base env has stuff, too, and conda envs are hierarchical rather than isolated. I know it's possible to use conda in an isolated and reproducible way, but have yet to meet someone that does so.
So it hasn't been hard to pitch poetry to these folks, and while many complain about the learning curve they appreciate the outcomes.
We're a pytorch shop, and torch mostly just works with pip or poetry these days, as long as you skip the versions the torch maintainers mispackaged. We rarely need anything higher-level that only conda could install.
We really like having more than two dependency groups as this allows us to keep research and production in the same repository. main, dev, research. Then researchers contribute to the core library of a project and keep research and production using the same code for running and evaluating models.
Still helpful, just not as helpful as it is for like, python 3.11.
Torch at least is easy to pip install, as is poetry if you skip all the versions that were mispackaged.
It's unclear to me what the benefit of conda is these days, other than making it much harder to reproduce your environment on other machines.
I think it's awesome some people have found such a place, more power to them/you, but having so little to do is a very alien concept to me.
It's a shame faster-whisper never landed batch mode, as I think that's preventing folks from trying ctranslate2 more easily.
You can beat these benchmarks on a CPU; 3-4x realtime is very slow for whisper these days!
I think we've seen stories of Ivy League professors charging thousands per hour, and making the bulk of their income this way. Not sure how high it goes in the most high-profile cases.
Is that possible with "just" pytorch? Could it be added to gpt-fast?
A pretty minor nitpick, but indicative of the level of attention they give the product.
But I suspect a lot of the hires from the last year or so, even in the eng side, are all about the money and would follow sama anywhere given what this signals for OpenAIs economic future. I'm just not sure such a company can work without the core research talent.
The third chart in the apartment list link ("Homeownership has been in decline for decades") is exactly the plot I wanted. That chart makes the gap not look so dramatic as either your numbers or the paragraphs surrounding the chart: millennials are within 10% of the boomers at the same age. For the youngest and oldest millenials it's more like 5%.
I'm curious how this has changed since the article's publishing in 2020. Anecdotally, I know a lot of millennials who bought their first home since, but I don't know how widespread that is.
I think some amount of gap is reasonable, especially for the 20s cohort: less likely to have kids, more likely to want to live in a big dense city. Looks like millenials are closing the gap once they hit mid 30s or so, right around when they have their first or second kid and move to the burbs or further. I just can't see being worried or upset about that.
I won't argue that it's harder and more expensive, it sure is, but millennials seem to prioritize it enough to do whatever it takes to own a home, so home prices keep going up.
I think it's a shame it took Airflow and similar several more years to realize "each step is a docker container" is the right way to build a dag. It's not clear to me why Pachyderm was left behind while Prefect and Dagster became serious contenders, and Airflow/Astronomer started recommending everyone use it just like Pachyderm (container per step).
HF seems like "GitHub for models and datasets", it has a cool brand and everyone in ML uses it in some capacity. But when it comes to _company_ needs like private datasets/models, experiment tracking, CI integrations, etc. it seems WandB is a superset of HF.
HF has an enterprise offering, but it seems to be de-prioritized, and I think you'd still need WandB or MLFlow for experiment tracking?