TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #396 · 9 окт.

7.09.2025 состоялся релизPithon 3.14! На фоне хайпа про NoGIL всё позабыли про другие фичи. Особенно про Multiple Interpreters, который обещает изоляцию процессов но с эффективностью потоков! На сколько действительно это будет эффективно мы узнаем позже, потому что сейчас это лишь первый релиз с ограничениями и недоработками. Но что там про NoGIL? Теперь этот режим не экспериментальный, а официально поддерживаемый, но опциональный. Чтобы запустить без GIL нужна специальная сборка. И перед стартом нужно объявить переменную PYTHON_GIL=0 Для вас я собрал готовый репозиторий где достаточно запустить скрпит, который всё сделает: ▫️ соберет релизный Python 3.14 в новый Docker-образ ▫️ запустит тесты в контейнере (GIL, NoGIL, MultiInterpreter) ▫️ распечатает результаты Тест очень простой, усложняйте сами) Вот какие результаты у меня: === Running ThreadPoolExecutor GIL ON TOTAL TIME: 45.48 seconds === Running ThreadPoolExecutor GIL OFF TOTAL TIME: 6.14 seconds === Running basic Thread GIL ON TOTAL TIME: 45.54 seconds === Running basic Thread GIL OFF TOTAL TIME: 4.74 seconds === Running with Multi Interpreter TOTAL TIME: 18.30 seconds Если сравнивать GIL и NoGIL, то на мои 32 ядра прирост х7-x10 (почему не х32? 🤷). При этом нам обещают что скорости будут расти с новыми релизами. Режим без GIL похож (визуально) на async, тоже параллельно, тоже не по порядку. Но это не IO! и от того некоторый диссонанс в голове 😵‍💫, нас учили не так! Интересно, что чистый Thread работает быстрей чем ThreadPoolExecutor без GIL. Ну и где-то плачет один адепт мульти-интерпретаторов😭 Теперь нужно искать где они могут пригодиться с такой-то скоростью. Скорее всего своя область применения найдется. Отдельно я затестил память и вот что вышло на 32 потока: ThreadPoolExecutor GIL ON 305.228 MB ThreadPoolExecutor GIL OFF 500.176 MB basic Thread GIL ON 90.668 MB basic Thread GIL OFF 472.444 MB with Multi Interpreter 1267.788 MB Пока не знаю как к этому относиться) В целом - радует направление развития! #release

Hashtags

Резултати

Пронајдени 3 слични објави

Пребарај: #sagaftra

当前筛选 #sagaftra清除筛选
AI & Law

@ai_and_law · Post #362 · 29.07.2024 г., 07:04

Video Game Performers Strike Over AI Concerns Hollywood’s video game performers have announced a strike, following the breakdown of contract negotiations with major game studios over AI protections. This strike, organized by the Screen Actors Guild-American Federation of Television and Radio Artists (SAG-AFTRA), marks the second work stoppage for video game voice actors and motion capture performers. Despite progress on wages and job safety, SAG-AFTRA negotiators remain at an impasse with gaming giants such as Activision, Warner Bros., and Walt Disney Co. over the regulation of generative AI. Audrey Cooling, a spokesperson for the video game producers, stated that studios have proposed AI protections. However, SAG-AFTRA’s negotiating committee highlights a critical issue: the studios’ narrow definition of “performer,” which excludes many physical performances from protection, treating them instead as mere "data." Ray Rodriguez, SAG-AFTRA’s Chief Contracts Officer, emphasized that the industry’s stance undermines the rights of many performers, reflecting a significant challenge in the evolving landscape of AI in entertainment. #AI#SAGAFTRA#AIRegulation

AI & Law

@ai_and_law · Post #386 · 30.08.2024 г., 07:04

California Takes a Stand: New Bill to Protect Performers from AI Replicas The California Senate has approved AB 2602, a groundbreaking bill requiring explicit consent from performers before creating digital replicas of their likeness across TV, film, video games, audiobooks, and commercials. This legislation represents a significant victory for SAG-AFTRA in its ongoing battle against unauthorized AI use in the entertainment industry. Duncan Crabtree-Ireland, SAG-AFTRA's executive director, hailed the bill as "a huge step forward" in establishing safeguards against potential licensing abuse. While this marks a critical development, the bill still awaits Governor Gavin Newsom’s signature to become law. If enacted, it could set a new standard for AI ethics and performer rights, reflecting California’s leadership in balancing innovation with human protection. #AI#DigitalRights#SAGAFTRA#AIEthics

AI & Law

@ai_and_law · Post #173 · 24.11.2023 г., 08:04

SAG-AFTRA's Post-Strike Contract Raises Alarms on AI Usage Hello, dear subscribers! The tentative agreement between SAG-AFTRA and the Alliance of Motion Picture and Television Producers (AMPTP) that signals the potential end to the ongoing labor strike has taken an unexpected turn. While there's hope for the strike to conclude, concerns are emerging regarding the contract's stance on the use of artificial intelligence and its potential impact on actors. Disagreements over the digital capture, perpetual ownership, and usage of actors' likenesses by Hollywood studios have been key reasons behind the strike. The tentative contract introduces provisions related to generative AI technology, sparking worries about the extent of responsibility placed on studios. The contract's ambiguous wording around "unprecedented provisions for consent and compensation that will protect members from the threat of AI" has raised questions about how effectively it safeguards actors. Notably, nearly 14% of SAG-AFTRA's National Board opposed moving forward, indicating reservations within the union. The agreement introduces new definitions for digital replicas, emphasizing the need for clear and advance consent from actors. However, critics, including former SAG-AFTRA board member Justine Bateman, express concerns about potential loopholes favoring studios. The summary's of tentative agreement mention of actors potentially competing with AI objects for roles is seen as a significant drawback. While the strike officially ended on November 9th, the summary specifies that AMPTP only has to "endeavor to comply" until the contract is ratified. The lack of detail on enforcement mechanisms and the expansive powers given to studios in post-production edits raise concerns about actors' control over their digital replicas. As the union heads toward a ratification vote on December 5th, many questions remain unanswered. The summary's lack of clarity on specific terms for substantial changes triggering contractual mechanisms raises uncertainties about the practicalities of AI usage in the industry. #SAGAFTRA#AI#EntertainmentIndustry#LaborStrike#DigitalReplicas