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

Резултати

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

Пребарај: #aigp

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

@ai_and_law · Post #328 · 11.06.2024 г., 08:22

Dear Colleagues, I am thrilled to announce that I have successfully passed the AI Governance Professional certification exam from the International Association of Privacy Professionals (AIGP/IAPP). This comprehensive exam covered a wide range of topics, from the technological foundations of AI systems and their lifecycles to the ethical, risk management, and legal considerations surrounding the development and deployment of AI systems. I am committed to continuing my learning in this area and sharing news and valuable resources with you. #IAPP#AIGP

Hashtags

AI & Law

@ai_and_law · Post #437 · 07.11.2024 г., 08:04

AIGP 2025 Update: Streamlining AI Governance Certification for Real-World Impact The IAPP has unveiled the latest version of its AIGP Body of Knowledge (BoK), effective for exams through February 2, 2025, offering a clearer, more flexible, and practical approach to AI governance certification. Simplified to four domains, the update places new emphasis on foundational principles, ensuring that certification aligns with the most relevant and influential legal frameworks worldwide. This streamlined version is highly practical, designed to address the current responsibilities AI governance professionals encounter, not merely theoretical questions. Furthermore, Domains III and IV now separate the roles of developers and deployers, a crucial distinction reflecting how laws and standards are evolving in the field. By balancing legal and technical insights, the new AIGP BoK solidifies its standing as the essential credential for those committed to responsible AI governance. #AIGP#AIGovernance#LegalTech#ResponsibleAI#IAPP

AI & Law

@ai_and_law · Post #337 · 24.06.2024 г., 07:04

IAPP Releases Comprehensive Report on AI Governance in Practice The International Association of Privacy Professionals (IAPP) has released a new report on AI Governance in Practice, providing key insights into the evolving field of AI governance. The report offers a foundational overview of AI, detailing its development and essential terminology. This approach allows anyone to grasp the basics and advance in the field. It includes a thorough inventory of AI risks, particularly data-centric ones, and offers practical strategies for managing them. Additionally, the report cites leading resources, including laws, regulations, and frameworks like the NIST AI RMF, providing a strong basis for deeper exploration. Moreover, the report highlights various industry examples to contextualize theoretical concepts. For those preparing for the AI governance exam, the report aligns well with the AIGP Body of Knowledge and covers numerous topics likely to be tested. #AI#AIGovernance#DataPrivacy#IAPP#AIGP

AI & Law

@ai_and_law · Post #327 · 11.06.2024 г., 07:04

ISO Releases Free AI Governance Standard The International Organization for Standardization (ISO), a prominent NGO known for creating industry standards, has made the important ISO/IEC 22989 standard publicly available for free. This standard addresses a wide range of AI governance topics, providing valuable guidelines for the responsible development and deployment of AI technologies. ISO/IEC 22989 covers essential aspects of AI governance, including ethical considerations, risk management, and compliance requirements. It provides standardized concepts and terminology to help stakeholders understand and adopt AI technology effectively. This document is designed for a wide audience, including both experts and non-practitioners, offering insights into AI’s interdisciplinary nature, which encompasses computer science, data science, natural sciences, humanities, mathematics, and social sciences. By making this standard freely accessible, ISO aims to promote the widespread adoption of responsible AI practices, ensuring that AI systems are trustworthy, robust, resilient, reliable, accurate, safe, secure, and private. You can find ISO/IEC 22989 and other publicly avalable standards here. #ISO#AIGovernance#AIGP#AI#Ethics#AICompliance#Technology#Innovation