<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kamil Murat Yılmaz on Medium]]></title>
        <description><![CDATA[Stories by Kamil Murat Yılmaz on Medium]]></description>
        <link>https://medium.com/@kamilmuratyilmaz?source=rss-9d90697069f3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tIEl_U_-bpTxBqnuyeN9MQ.jpeg</url>
            <title>Stories by Kamil Murat Yılmaz on Medium</title>
            <link>https://medium.com/@kamilmuratyilmaz?source=rss-9d90697069f3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 02:41:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kamilmuratyilmaz/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Attention Mekanizmasının Evrimi: Bellek Verimliliği Perspektifinden Derinlemesine Bir İnceleme]]></title>
            <link>https://medium.com/@kamilmuratyilmaz/attention-mekanizmas%C4%B1n%C4%B1n-evrimi-bellek-verimlili%C4%9Fi-perspektifinden-derinlemesine-bir-i%CC%87nceleme-329cfb75eeed?source=rss-9d90697069f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/329cfb75eeed</guid>
            <category><![CDATA[multi-latent-attention]]></category>
            <category><![CDATA[transformers]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deepseek]]></category>
            <category><![CDATA[attention]]></category>
            <dc:creator><![CDATA[Kamil Murat Yılmaz]]></dc:creator>
            <pubDate>Sun, 15 Jun 2025 14:32:43 GMT</pubDate>
            <atom:updated>2025-06-15T14:32:43.078Z</atom:updated>
            <content:encoded><![CDATA[<p>Transformer mimarisi, doğal dil işleme sistemlerinin ve üretken yapay zeka alanının gelişiminde bir dönüm noktası olmuştur. Bu mimarinin omurgasını oluşturan Attention mekanizması, bağlamsal bilgiye dayalı temsil öğrenimini mümkün kılarak metin, ses ve görsel [10] anlama ve üretme, anlamlandırma, çeviri yapabilme vb. görevlerde önceki teknolojileri geride bırakmıştır. Özellikle uzun bağlamların işlenmesindeki başarısıyla, Attention mekanizması LLM’lerin (Large Language Models) temel yapı taşı haline gelmiştir. Ancak bu yapı taşının hesaplama maliyeti, özellikle de bellek kullanımı açısından ciddi darboğazlar oluşturur. Çünkü her giriş token’ının Query, Key ve Value matrisleri üzerinden tüm diğer ağırlıklarla olan ilişkisi hesaplanır ve bu hesaplama O(n²) karmaşıklığa sahiptir.</p><h4>Kavramsal Çerçeve: Query, Key ve Value</h4><p>Attention mekanizması, bilginin bağlamsal olarak dağıtılmasını sağlayan üç temel bileşene dayanır; Query (Q), Key (K) ve Value (V) matrisleri. Bu bileşenlerin karşılıklı etkileşimi sayesinde model, hangi bilginin ne ölçüde önemli olduğunu hesaplayarak bağlamı şekillendirir. Her bir token bu üç vektör üzerinden temsil edilir ve bu vektörlerin tüm giriş dizisiyle olan etkileşiminden elde edilen skorlar, son çıktıyı belirler. GPT-2 gibi modellerde bu süreç 768 boyutlu embedding alanlarında yürütülürken [2], DeepSeek V3 gibi modern modellerde embedding boyutu 7168&#39;e kadar çıkmakta [4], bu da işlem maliyetini katlanarak artırmaktadır. Daha da önemlisi, bu hesaplamaların her katmanda ve her attention head için ayrı ayrı yapılması, toplam parametre sayısını ve hesaplama derinliğini büyütmektedir. LLaMA 3, Qwen 2.5 gibi modellerin artan katman ve head sayıları, bu durumu daha da belirgin hale getirir [1].</p><h4>Hesaplama Maliyetine İlk Müdahale: KV-Cache Mekanizması</h4><p>Erken dönem Attention uygulamalarında, her yeni token için tüm geçmiş token’lara yönelik QKV çarpımları yeniden hesaplanıyordu ve bu durum, özellikle <strong>otoregresif (decoder-only) modellerde</strong> ciddi hesaplama maliyetine neden olmaktaydı. Genelde otoregresif modeller, bir dizinin her adımında bir sonraki token’ı tahmin ederken daha önce üretilmiş tüm token’ları bağlam (context) olarak yeniden işler, yani her yeni token üretiminde, geçmişin tamamı göz önünde bulundurularak yeni bir hesaplama yapılır ve bu, inference sırasında hesaplamaların her adımda katlanarak büyümesine neden olur. KV-Cache ise bu problemi çözmek için geliştirilmiş bir stratejidir. Bu mekanizma, geçmişte hesaplanmış Key ve Value vektörlerini bellekte saklayarak yeniden kullanımını mümkün kılar ve böylece sadece yeni gelen Query vektörü ile bu saklanan değerlerin etkileşimi hesaplanır. Örneğin, bir sohbet botunda kullanıcı her yeni mesaj gönderdiğinde tüm geçmiş konuşmanın yeniden hesaplanması gerekmez; bu da inference zamanını azaltırken sistem verimliliğini artırır. KV-Cache mekanizması, özellikle next-token generation için büyük bir optimizasyon avantajı sağlar.</p><h3>Multi-Head Attention:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/0*26i5NPAxtEam3ijP.png" /></figure><p>Multi-Head Attention, farklı attention head’lerin paralel şekilde çalışarak farklı bağlamsal ilişkileri öğrenmesini sağlar. Bu mimari, modelin genel performansını artırırken aynı zamanda her head için ayrı KV-Cache tutulması gerekliliğini doğurur. Bu durum, bellekte önemli ölçüde yer işgal eder. Örneğin, 16 head ve 30 token’lık bir context window için her heade özgü KV setlerinin bellekte tutulması GB seviyesinde alan gerektirebilir. Bu yüksek maliyet, özellikle EDGE, IoT cihazlar ve mobil platformlar gibi kaynak kısıtlı ortamlarda sorun teşkil eder.</p><h3>Multi-Query Attention:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/202/0*OtXh5W4J681nyi1m.png" /></figure><p>Multi-Query Attention (MQA), bu maliyeti azaltmak adına tüm head’ler için tek bir KV seti kullanılmasını önerir. Bu yaklaşım bellek tüketimini dramatik biçimde azaltır. Ancak bu tasarrufun bedeli vardır: her head’in aynı Key ve Value matrisleriyle çalışması, modelin bağlam çeşitliliğini anlamada zayıflamasına yol açar. Özellikle çoklu görevlerde veya bağlam çeşitliliğinin kritik olduğu uygulamalarda performans kaybı kaçınılmazdır.</p><h3>Grouped-Query Attention: Performans ve Maliyet Dengesi</h3><p>Grouped-Query Attention (GQA), MQA ile MHA arasında bir orta yol önerir. Head’ler gruplara ayrılır ve her grup için ayrı bir KV seti tutulur. Böylece bellek kullanımı daha optimize olurken, performans Multi-Head Attention’a oldukça yakın bir seviyede korunur.</p><h4><strong>Yaygın Attention Mekanizmalarının Karşılaştırması:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cTvtGhywQHKKln1PnEp5kw.png" /></figure><h3>Multi-Head Latent Attention</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*DthwFkNLI50MKBDsmZ7W9Q.png" /></figure><p>DeepSeek’in geliştirdiği Multi-Head Latent Attention (MLA) mimarisi, Attention hesaplamalarının bellekteki temsillerine dair kökten bir yaklaşım değişikliğidir. Bu mimaride, model doğrudan Key ve Value vektörlerini saklamak yerine, bu vektörlerin öğrenilmiş latent temsillerini kullanır. Latent KV matrisleri, modelin içsel yapısında yer alır ve gerektiğinde yeniden projeksiyon ile gerçek KV vektörlerine dönüştürülebilir. Bu yaklaşım, sadece bellek maliyetini ciddi seviyede indirmekle kalmaz, aynı zamanda bağlamsal çeşitliliği de koruyarak MHA performansını aşabilen sonuçlar sunar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7GxhgPo0JihMMH8-o_cFpw.png" /><figcaption>[5] — MLA Section</figcaption></figure><h3>KV Cache Optimizasyonu</h3><h4>Low-Rank Key-Value Ortak Sıkıştırma (low-rank joint compression):</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/164/1*t_4c5hpT5sDon2zbEprqwA.png" /><figcaption>[5] — MLA Section</figcaption></figure><p>MLA’nın özü,<strong> </strong>KV (Key ve Value) cache’ini azaltmak için Keys ve Values<strong> </strong>için low-rank ortak sıkıştırmadır.</p><p>Burada c_t^KV​ ∈ R ^ d_c​ <strong>Keys</strong> ve <strong>Values</strong> için <strong>sıkıştırılmış latent vektörü</strong>dür.<br>d_c​(≪d_h​n_h​) <strong>KV sıkıştırma boyutunu</strong> belirtir.<br>W_D^(KV)​ ∈ R ^ (d_c​×d) <strong>aşağı projeksiyon matrisi</strong>dir.<br>W_U^K​, W_U^V​ ∈ R^(d_h ​n_h​×d_c)​ sırasıyla <strong>Keys</strong> ve <strong>Values</strong> için <strong>yukarı-projeksiyon matrisi</strong>dir.<br><strong>Inference</strong> sırasında, MLA’nın sadece c_t^KV​’yi <strong>cache</strong>’lemesi gerekir, bu nedenle <strong>KV cache</strong>’i yalnızca d_c*​l elemana sahiptir, burada l layer sayısını belirtir.</p><p>Ek olarak, <strong>inference</strong> sırasında W_U^K​’nin W_Q​’ya ve W_U^V​’nin W_O​’ya <strong>absorb</strong> edilebilmesi nedeniyle, <strong>attention</strong> için <strong>Keys</strong> ve <strong>Values</strong>’u hesaplamamıza gerek kalmaz.</p><h4>Training Sırasında Query Sıkıştırma</h4><p><strong>Training</strong> sırasında <strong>activation memory</strong>’yi azaltmak amacıyla, <strong>KV cache</strong>’ini azaltmasa bile <strong>Query’ler</strong> için <strong>low-rank compression</strong> da gerçekleştiririz:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/161/1*Bo_9TQFLn-jmtCO9eam8fA.png" /><figcaption>[5] — MLA Section</figcaption></figure><p>Burada c_t^Q​ ∈ R^d_c’​ <strong>Queries</strong> için <strong>sıkıştırılmış latent vektörüdür.</strong></p><p>d_c​’(≪d_h ​n_h​) <strong>query sıkıştırma boyutunu </strong>belirtir.</p><p>W_D^Q ​∈ R^(d_c’​×d), W_U^Q ​∈ R^(d_h​ n_h​×d_c’)​ sırasıyla <strong>Queries</strong> için <strong>aşağı-projeksiyon</strong> ve <strong>yukarı-projeksiyon matrisleridir</strong>.</p><h4>MLA için RoPE Uyumluluğu Sorunu:</h4><p>DeepSeek araştırmacıları DeepSeek-V2 mimarisini oluştururken, DeepSeek 67B’yi takiben <strong>Rotary Position Embedding (RoPE)</strong> kullanmayı hedefliyorlar ancak RoPE’un <strong>low-rank KV sıkıştırma </strong>ile uyumlu olmadığı anlaşılıyor. Bunun temel nedeni, RoPE’un hem <strong>keys</strong> hem de <strong>queries</strong> için konuma duyarlı olmasıdır. Eğer <strong>keys</strong>’lere (yani k_t^C​) RoPE uygularsak, <strong>k_t^C​=W_U^K​ c_t^KV​</strong> denklemindeki W_U^K​ matrisi konuma duyarlı bir RoPE matrisiyle birleşecektir. Bu durumda, <strong>inference</strong> sırasında W_U^K​ matrisi W_Q​’ye absorb edilemez çünkü mevcut üretilen <strong>token</strong> ile ilgili bir RoPE matrisi W_Q​ ile W_U^K​ arasına girecek ve matris çarpımı değişme özelliğine uymadığı için bu durum inference verimliliğini ciddi şekilde düşürecektir ve her <strong>prefix token</strong> için <strong>keys</strong>’leri yeniden hesaplamak gerekecektir.</p><h4>Ayrık RoPE (Decoupled RoPE) Stratejisi:</h4><p>Bu soruna çözüm olarak, <strong>ayrık RoPE stratejisi</strong> öneriliyor. Bu strateji, RoPE’u taşımak için ek <strong>multi-head queries</strong> (q_t,i^R​∈R^d_h^R​) ve paylaşılan bir <strong>key</strong> (k_t^R​∈R^d_h^R​) kullanır. Burada d_h^R​ ayrık <strong>queries</strong> ve <strong>key</strong>’in her bir <strong>head</strong>’inin boyutunu ifade eder.<br><strong>Decoupled RoPE uygularken MLA aşağıdaki hesaplamayı gerçekleştirir;</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*BJi7nVaKx-tNQg8ZuQtRVg.png" /><figcaption>[5] — MLA Section</figcaption></figure><h4>DeepSeek-V2 ve RoPE Uyumluluğu Sorunu</h4><p>DeepSeek-V2, DeepSeek 67B’yi takiben <strong>Rotary Position Embedding (RoPE)</strong> kullanmayı hedefliyor. Ancak RoPE, <strong>low-rank KV compression</strong> ile uyumlu değil. Bunun temel nedeni, RoPE’nin hem <strong>keys</strong> hem de <strong>queries</strong> için konuma duyarlı olmasıdır. Eğer <strong>keys</strong>’lere (yani k_t^C​) RoPE uygularsak, k_t^c = W_U^K c_t^KV<strong>​</strong> denklemindeki W^UK​ matrisi konuma duyarlı bir RoPE matrisiyle birleşecektir. Bu durumda, <strong>inference</strong> sırasında W_U^K​ matrisi W^Q​’ye <strong>absorb</strong> edilemez çünkü mevcut üretilen <strong>token</strong> ile ilgili bir RoPE matrisi W_Q​ ile W_U^K​ arasına girecek ve matris çarpımı değişme özelliğine uymadığı için bu durum çıkarım verimliliğini ciddi şekilde düşürecektir. Her <strong>prefix token</strong> için <strong>keys</strong>’leri yeniden hesaplamak gerekecektir.</p><h4>Ayrık RoPE (Decoupled RoPE) Stratejisi</h4><p>Bu soruna çözüm olarak, <strong>ayrık RoPE stratejisi</strong> geliştirildi. Bu strateji, RoPE’u taşımak için ek <strong>multi-head queries</strong> (q_t,i^R​∈R^(d_h^R)​) ve paylaşılan bir <strong>key</strong> (k_t^R​ ∈ R^(d_h^R)​) kullanır. Burada d_h^R​ decoupled <strong>queries</strong> ve <strong>key</strong>’in her bir <strong>head</strong>’inin boyutunu ifade eder.</p><p>Ayrık RoPE stratejisiyle MLA aşağıdaki hesaplamaları yapar:</p><p>Ayrık queries (q_t^R​) ve key (k_t^R​) RoPE uygulanarak oluşturulur:</p><ul><li>q_t^R​=RoPE(W_(QR(​c_t^Q))​) (14)</li><li>k_t^R​=RoPE(W_(KR​^(h_t))​) (15)</li></ul><p>Orijinal queries (q_t,i​) ve keys (k_t,i​) sıkıştırılmış queries (c_t,i^C​) ve keys (k_t,i^C​) ile ayrık queries (q_t,i^R​) ve key (k_t^R​) birleştirilerek oluşturulur:</p><ul><li>q_t,i​=[q_t,i^C​;q_t,i^R​] (16)</li><li>k_t,i​=[k_t,i^C​;k_t^R​] (17)</li><li><strong>Attention</strong> çıktıları (o_t,i​) bu birleştirilmiş <strong>queries</strong> ve <strong>keys</strong> ile hesaplanır. (18)</li><li>Son çıktı (u_t​) ise tüm <strong>head</strong>’lerin çıktılarının birleştirilmesiyle elde edilir. (19)</li></ul><p>Burada W_(QR​) ∈ R^(d_h^R ​n_h​×d_c′)​ ve W_(KR)​ ∈ R^(d_h^R​×d) matrisleri sırasıyla ayrık <strong>queries</strong> ve <strong>key</strong>’i üretmek için kullanılır.</p><p><strong>Inference</strong> sırasında, decoupled <strong>key</strong>’in de <strong>cache</strong>’lenmesi gerekir. Bu nedenle, DeepSeek-V2 toplamda (d_c​+d_h^R​)l eleman içeren bir <strong>KV cache</strong>’e ihtiyaç duyar.[5]</p><h4>Sonuç: Bellek-Verimlilik Paradigmasında Yeni Ufuklar</h4><p>Attention mekanizmasının evrimi, yalnızca hesaplama performansındaki artışlarla değil, aynı zamanda kaynak yönetimi optimizasyonlarıyla da tanımlanmaktadır. KV-Cache, MQA, GQA ve nihayetinde MLA gibi mimari dönüşümler, sadece teorik olarak değil, pratikte de derin etkiler yaratmaktadır. DeepSeek’in MLA yaklaşımı, bu bağlamda paradigmatik bir değişim olarak değerlendirilebilir. Bununla birlikte, modellerin boşta bekleme (idle) durumlarındaki yüksek bellek tüketimi gibi problemler hâlen çözülmeyi beklemektedir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*DthwFkNLI50MKBDsmZ7W9Q.png" /><figcaption>[5] — MLA Section</figcaption></figure><p>Önümüzdeki dönemde, daha da kompakt, enerji-verimli ve bağlamsal olarak zengin Attention mekanizmalarının geliştirileceğine inanıyorum. Bellek ve hesaplama verimliliğini dengeleyen yeni stratejiler, LLM mimarilerinin yaygınlaşması ve erişilebilirliği açısından da daha belirleyici olacaktır.</p><p><strong>Appendix</strong>:</p><p>DeepSeek V3 mimarisi üzerinden MLA ve MHA karşılaştırması yaptığım ve sizinde deneyimleyebileceğiniz notebooka <a href="https://colab.research.google.com/drive/1LcBiQmRilRln1ynSiTrbjGzp7ZXrcY33?usp=sharing">buradan </a>erişebilirsiniz.</p><h4>Referanslar</h4><ol><li><a href="https://arxiv.org/abs/2503.20215">Jin Xu, Zhifang Guo, Jinzheng He, Hangrui Hu, Ting He, Shuai Bai, Keqin Chen, Jialin Wang, Yang Fan, Kai Dang, Bin Zhang, Xiong Wang, Yunfei Chu, Junyang Lin <em>Qwen2.5-Omni Technical Report</em>. arXiv:2503.20215, 2025</a>.</li><li><a href="https://arxiv.org/abs/1911.02150">Noam Shazeer. <em>Fast Transformer Decoding: One Write-Head is All You Need</em>. arXiv:1911.02150, 2019</a>.</li><li><a href="https://arxiv.org/abs/2207.09238">Mary Phuong ve Marcus Hutter. <em>Formal Algorithms for Transformers</em>. arXiv:2207.09238, 2022.</a></li><li><a href="https://arxiv.org/abs/2412.19437">DeepSeek-AI, Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang, Bochao Wu, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, Damai Dai, Daya Guo, Dejian Yang, Deli Chen, Dongjie Ji, Erhang Li, Fangyun Lin, Fucong Dai, Fuli Luo, Guangbo Hao, Guanting Chen, Guowei Li, H. Zhang, Han Bao, Hanwei Xu, Haocheng Wang, Haowei Zhang, Honghui Ding, Huajian Xin, Huazuo Gao, Hui Li, Hui Qu, J.L. Cai, Jian Liang, Jianzhong Guo, Jiaqi Ni, Jiashi Li, Jiawei Wang, Jin Chen, Jingchang Chen, Jingyang Yuan, Junjie Qiu, Junlong Li, Junxiao Song, Kai Dong, Kai Hu, Kaige Gao, Kang Guan, Kexin Huang, Kuai Yu, Lean Wang, Lecong Zhang, Lei Xu, Leyi Xia, Liang Zhao, Litong Wang, Liyue Zhang, Meng Li, Miaojun Wang, Mingchuan Zhang, Minghua Zhang, Minghui Tang, Mingming Li, Ning Tian, Panpan Huang, Peiyi Wang, Peng Zhang, Qiancheng Wang, Qihao Zhu, Qinyu Chen, Qiushi Du, R.J. Chen, R.L. Jin, Ruiqi Ge, Ruisong Zhang, Ruizhe Pan, Runji Wang, Runxin Xu, Ruoyu Zhang, Ruyi Chen, S.S. Li, Shanghao Lu, Shangyan Zhou, Shanhuang Chen, Shaoqing Wu, Shengfeng Ye, Shengfeng Ye, Shirong Ma, Shiyu Wang, Shuang Zhou, Shuiping Yu, Shunfeng Zhou, Shuting Pan, T. Wang, Tao Yun, Tian Pei, Tianyu Sun, W.L. Xiao, Wangding Zeng , Wanjia Zhao, Wei An, Wen Liu, Wenfeng Liang, Wenjun Gao, Wenqin Yu, Wentao Zhang, X.Q. Li, Xiangyue Jin, Xianzu Wang, Xiao Bi, Xiaodong Liu, Xiaohan Wang, Xiaojin Shen, Xiaokang Chen, Xiaokang Zhang, Xiaosha Chen, Xiaotao Nie, Xiaowen Sun, Xiaoxiang Wang, Xin Cheng, Xin Liu, Xin Xie, Xingchao Liu, Xingkai Yu, Xinnan Song, Xinxia Shan, Xinyi Zhou, Xinyu Yang, Xinyuan Li, Xuecheng Su, Xuheng Lin, Y.K. Li, Y.Q. Wang, Y.X. Wei, Y.X. Zhu, Yang Zhang, Yanhong Xu, Yanhong Xu, Yanping Huang, Yao Li, Yao Zhao, Yaofeng Sun, Yaohui Li, Yaohui Wang, Yi Yu, Yi Zheng, Yichao Zhang, Yifan Shi, Yiliang Xiong, Ying He, Ying Tang, Yishi Piao, Yisong Wang, Yixuan Tan, Yiyang Ma, Yiyuan Liu, Yongqiang Guo, Yu Wu, Yuan Ou, Yuchen Zhu, Yuduan Wang, Yue Gong, Yuheng Zou, Yujia He, Yukun Zha, Yunfan Xiong, Yunxian Ma, Yuting Yan, Yuxiang Luo, Yuxiang You, Yuxuan Liu, Yuyang Zhou, Z.F. Wu, Z.Z. Ren, Zehui Ren, Zhangli Sha, Zhe Fu, Zhean Xu, Zhen Huang, Zhen Zhang, Zhenda Xie, Zhengyan Zhang, Zhewen Hao, Zhibin Gou, Zhicheng Ma, Zhigang Yan, Zhihong Shao, Zhipeng Xu, Zhiyu Wu, Zhongyu Zhang, Zhuoshu Li, Zihui Gu, Zijia Zhu, Zijun Liu, Zilin Li, Ziwei Xie, Ziyang Song, Ziyi Gao, Zizheng Pan <em>DeepSeek-V3 Technical Report</em>. arXiv:2412.19437, 2024</a>.</li><li><a href="https://arxiv.org/abs/2405.04434">DeepSeek-AI, Aixin Liu, Bei Feng, Bin Wang, Bingxuan Wang, Bo Liu, Chenggang Zhao, Chengqi Dengr, Chong Ruan, Damai Dai, Daya Guo, Dejian Yang, Deli Chen, Dongjie Ji, Erhang Li, Fangyun Lin, Fuli Luo, Guangbo Hao, Guanting Chen, Guowei Li, H. Zhang, Hanwei Xu, Hao Yang, Haowei Zhang, Honghui Ding, Huajian Xin, Huazuo Gao, Hui Li, Hui Qu, J.L. Cai, Jian Liang, Jianzhong Guo, Jiaqi Ni, Jiashi Li, Jin Chen, Jingyang Yuan, Junjie Qiu, Junxiao Song, Kai Dong, Kaige Gao, Kang Guan, Lean Wang, Lecong Zhang, Lei Xu, Leyi Xia, Liang Zhao, Liyue Zhang, Meng Li, Miaojun Wang, Mingchuan Zhang, Minghua Zhang, Minghui Tang, Mingming Li, Ning Tian, Panpan Huang, Peiyi Wang, Peng Zhang, Qihao Zhu, Qinyu Chen, Qiushi Du, R.J. Chen, R.L. Jin, Ruiqi Ge, Ruizhe Pan, Runxin Xu, Ruyi Chen, S.S. Li, Shanghao Lu, Shangyan Zhou, Shanhuang Chen, Shaoqing Wu, Shengfeng Ye, Shirong Ma, Shiyu Wang, Shuang Zhou, Shuiping Yu, Shunfeng Zhou, Size Zheng, T. Wang, Tian Pei, Tian Yuan, Tianyu Sun, W.L. Xiao, Wangding Zeng, Wei An, Wen Liu, Wenfeng Liang, Wenjun Gao, Wentao Zhang, X.Q. Li, Xiangyue Jin, Xianzu Wang, Xiao Bi, Xiaodong Liu, Xiaohan Wang, Xiaojin Shen, Xiaokang Chen, Xiaosha Chen, Xiaotao Nie, Xiaowen Sun, Xiaoxiang Wang, Xin Liu, Xin Xie, Xingkai Yu, Xinnan Song, Xinyi Zhou, Xinyu Yang, Xuan Lu, Xuecheng Su, Y. Wu, Y.K. Li, Y.X. Wei, Y.X. Zhu, Yanhong Xu, Yanping Huang, Yao Li, Yao Zhao, Yaofeng Sun, Yaohui Li, Yaohui Wang, Yi Zheng, Yichao Zhang, Yiliang Xiong, Yilong Zhao, Ying He, Ying Tang, Yishi Piao, Yixin Dong, Yixuan Tan, Yiyuan Liu, Yongji Wang, Yongqiang Guo, Yuchen Zhu, Yuduan Wang, Yuheng Zou, Yukun Zha, Yunxian Ma, Yuting Yan, Yuxiang You, Yuxuan Liu, Z.Z. Ren, Zehui Ren, Zhangli Sha, Zhe Fu, Zhen Huang, Zhen Zhang, Zhenda Xie, Zhewen Hao, Zhihong Shao, Zhiniu Wen, Zhipeng Xu, Zhongyu Zhang, Zhuoshu Li, Zihan Wang, Zihui Gu, Zilin Li, Ziwei Xie. DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model. arXiv:2405.04434</a></li><li><a href="https://arxiv.org/abs/2502.07864">FanxuMeng, ZengweiYao, MuhanZhang, Institute for Artificial Intelligence, Peking University State Key Laboratory of General Artificial Intelligence, Peking University, XiaomiCorp. TransMLA:Multi-HeadLatentAttentionIsAllYouNeed. arXiv:2502.07864</a></li><li><a href="https://arxiv.org/abs/2305.13245">Joshua Ainslie, James Lee-Thorp, Michiel de Jong, Yury Zemlyanskiy, Federico Lebrón, Sumit Sanghai. <em>GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints</em>. arXiv:2305.13245, 2023.</a></li><li>OpenAI. <em>GPT-2 (Code Repository)</em>. GitHub, 2019.</li><li><a href="https://huggingface.co/blog/NormalUhr/mla-explanation">https://huggingface.co/blog/NormalUhr/mla-explanation</a></li><li><a href="http://Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, Neil Houlsby. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. https://arxiv.org/abs/2010.11929">Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, Neil Houlsby. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. </a><a href="https://arxiv.org/abs/2502.07864">arXiv</a>:<a href="http://Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, Neil Houlsby. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. https://arxiv.org/abs/2010.11929">2010.11929</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=329cfb75eeed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Node.js: npm overwriting package names inside package-lock.json]]></title>
            <link>https://medium.com/@kamilmuratyilmaz/node-js-npmin-paketlerini-package-lock-json-4ec186281fa1?source=rss-9d90697069f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ec186281fa1</guid>
            <category><![CDATA[node]]></category>
            <category><![CDATA[issues]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[package-lock]]></category>
            <category><![CDATA[npm]]></category>
            <dc:creator><![CDATA[Kamil Murat Yılmaz]]></dc:creator>
            <pubDate>Sun, 01 May 2022 12:22:41 GMT</pubDate>
            <atom:updated>2022-05-01T16:41:10.839Z</atom:updated>
            <content:encoded><![CDATA[<h3>Node.js: npm overwriting package names inside package-lock.json as “de_modules”, “ode_modules” and how to solve it</h3><p>The fundemental of this problem is about folder name and I haven’t receive any err message from npm log.</p><p>I haven’t encounter this problem before and after a long time of research I come up with a solution and want to share it with community.</p><p>First of all I cloned a project from git that I already worked on then I used npm install command after npm init to install node modules. When I used npm install command npm didn’t throw any err or warning and manipulated my package-lock.json as below</p><pre>{<br>  &quot;name&quot;: &quot;open-api&quot;,<br>  &quot;version&quot;: &quot;2.0.0&quot;,<br>  &quot;lockfileVersion&quot;: 2,<br>  &quot;requires&quot;: true,<br>  &quot;packages&quot;: {<br>    &quot;&quot;: {<br>      &quot;name&quot;: &quot;open-api&quot;,<br>      &quot;version&quot;: &quot;2.0.0&quot;,<br>      &quot;license&quot;: &quot;ISC&quot;,<br>      &quot;dependencies&quot;: {<br>        &quot;cors&quot;: &quot;^2.8.5&quot;,<br>        &quot;dotenv&quot;: &quot;^16.0.0&quot;,<br>        &quot;express&quot;: &quot;^4.18.0&quot;,<br>        &quot;openai&quot;: &quot;^2.0.5&quot;<br>      },<br>      &quot;devDependencies&quot;: {}<br>    },<br>    &quot;ode_modules/accepts&quot;: {<br>      &quot;version&quot;: &quot;1.3.8&quot;,<br>      &quot;resolved&quot;: &quot;https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz&quot;,<br>      &quot;integrity&quot;: &quot;sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==&quot;,<br>      &quot;extraneous&quot;: true,<br>      &quot;dependencies&quot;: {<br>        &quot;mime-types&quot;: &quot;~2.1.34&quot;,<br>        &quot;negotiator&quot;: &quot;0.6.3&quot;<br>      },<br>      &quot;devDependencies&quot;: {<br>        &quot;deep-equal&quot;: &quot;1.0.1&quot;,<br>        &quot;eslint&quot;: &quot;7.32.0&quot;,<br>        &quot;eslint-config-standard&quot;: &quot;14.1.1&quot;,<br>        &quot;eslint-plugin-import&quot;: &quot;2.25.4&quot;,<br>        &quot;eslint-plugin-markdown&quot;: &quot;2.2.1&quot;,<br>        &quot;eslint-plugin-node&quot;: &quot;11.1.0&quot;,<br>        &quot;eslint-plugin-promise&quot;: &quot;4.3.1&quot;,<br>        &quot;eslint-plugin-standard&quot;: &quot;4.1.0&quot;,<br>        &quot;mocha&quot;: &quot;9.2.0&quot;,<br>        &quot;nyc&quot;: &quot;15.1.0&quot;<br>      },<br>      &quot;engines&quot;: {<br>        &quot;node&quot;: &quot;&gt;= 0.6&quot;<br>      }<br>    },</pre><p>As you noticed above the “node_modules” names manipulated as “ode_modules” and installed too many packages that I didn’t configured in package.json(see below). Then I tried to call npm install command repeatly and it also returned as “de_modules” or “_modules”.</p><p>The source code has package-lock.json as below and these are the dependencies it must have;</p><pre>{<br>  &quot;name&quot;: &quot;open-api&quot;,<br>  &quot;version&quot;: &quot;2.0.0&quot;,<br>  &quot;lockfileVersion&quot;: 2,<br>  &quot;requires&quot;: true,<br>  &quot;packages&quot;: {<br>    &quot;&quot;: {<br>      &quot;name&quot;: &quot;open-api&quot;,<br>      &quot;version&quot;: &quot;2.0.0&quot;,<br>      &quot;license&quot;: &quot;ISC&quot;,<br>      &quot;dependencies&quot;: {<br>        &quot;cors&quot;: &quot;^2.8.5&quot;,<br>        &quot;dotenv&quot;: &quot;^16.0.0&quot;,<br>        &quot;express&quot;: &quot;^4.18.0&quot;,<br>        &quot;openai&quot;: &quot;^2.0.5&quot;<br>      },<br>      &quot;devDependencies&quot;: {}<br>    },<br>    &quot;node_modules/accepts&quot;: {<br>      &quot;version&quot;: &quot;1.3.8&quot;,<br>      &quot;resolved&quot;: &quot;https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz&quot;,<br>      &quot;integrity&quot;: &quot;sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==&quot;,<br>      &quot;dependencies&quot;: {<br>        &quot;mime-types&quot;: &quot;~2.1.34&quot;,<br>        &quot;negotiator&quot;: &quot;0.6.3&quot;<br>      },<br>      &quot;engines&quot;: {<br>        &quot;node&quot;: &quot;&gt;= 0.6&quot;<br>      }</pre><p>Package.json;</p><pre>{<br>  &quot;name&quot;: &quot;open-api&quot;,<br>  &quot;version&quot;: &quot;2.0.0&quot;,<br>  &quot;main&quot;: &quot;index.js&quot;,<br>  &quot;dependencies&quot;: {<br>    &quot;cors&quot;: &quot;^2.8.5&quot;,<br>    &quot;dotenv&quot;: &quot;^16.0.0&quot;,<br>    &quot;express&quot;: &quot;^4.18.0&quot;,<br>    &quot;openai&quot;: &quot;^2.0.5&quot;<br>  },<br>  &quot;devDependencies&quot;: {},<br>  &quot;scripts&quot;: {<br>    &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;<br>  },<br>  &quot;author&quot;: &quot;&quot;,<br>  &quot;license&quot;: &quot;ISC&quot;,<br>  &quot;description&quot;: &quot;&quot;<br>}</pre><p>Because of this manipulation npm didn’t install any node_modules and always manipulates package-lock.json with “ode_modules”, “de_modules” or “_modules” named dependencies and I don’t understand why there isn’t any err messages to figure out this problem.</p><p>Here’s some solutions that I tried;</p><p>1.Delete package-lock.json and use npm install again.</p><p>2. Install all packages with npm install “package name” for each manually but versions returned in dependencies as “*”</p><ul><li>For example npm install express;</li></ul><pre>&quot;name&quot;: &quot;open-api&quot;,<br>  &quot;version&quot;: &quot;2.0.0&quot;,<br>  &quot;main&quot;: &quot;index.js&quot;,<br>  &quot;dependencies&quot;: {<br>    &quot;express&quot;: &quot;*&quot;<br>  },</pre><p>3. I haven’t receive any errors from “npm install - -verbose” logs</p><pre>npm verb cli [<br>npm verb cli   &#39;C:\\Program Files\\nodejs\\node.exe&#39;,<br>npm verb cli   &#39;C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js&#39;,<br>npm verb cli   &#39;install&#39;,<br>npm verb cli   &#39;--verbose&#39;<br>npm verb cli ]<br>npm info using npm@8.5.5<br>npm info using node@v16.15.0<br>npm timing npm:load:whichnode Completed in 1ms<br>npm timing config:load:defaults Completed in 1ms<br>npm timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 3ms<br>npm timing config:load:builtin Completed in 3ms<br>npm timing config:load:cli Completed in 2ms<br>npm timing config:load:env Completed in 0ms<br>npm timing config:load:file:F:\Programlar\İş\Denemeler\OpenAI\server\.npmrc Completed in 0ms<br>npm timing config:load:project Completed in 4ms<br>npm timing config:load:file:C:\Users\Murat\.npmrc Completed in 0ms<br>npm timing config:load:user Completed in 0ms<br>npm timing config:load:file:C:\Users\Murat\AppData\Roaming\npm\etc\npmrc Completed in 0ms<br>npm timing config:load:global Completed in 0ms<br>npm timing config:load:validate Completed in 0ms<br>npm timing config:load:credentials Completed in 1ms<br>npm timing config:load:setEnvs Completed in 0ms<br>npm timing config:load Completed in 12ms<br>npm timing npm:load:configload Completed in 12ms<br>npm timing npm:load:setTitle Completed in 1ms<br>npm timing config:load:flatten Completed in 3ms<br>npm timing npm:load:display Completed in 14ms<br>npm verb logfile C:\Users\Murat\AppData\Local\npm-cache\_logs\2022-05-01T13_46_15_241Z-debug-0.log<br>npm timing npm:load:logFile Completed in 6ms<br>npm timing npm:load:timers Completed in 0ms<br>npm timing npm:load:configScope Completed in 0ms<br>npm timing npm:load Completed in 35ms<br>npm timing arborist:ctor Completed in 0ms<br>npm timing idealTree:init Completed in 31ms<br>npm timing idealTree:userRequests Completed in 1ms<br>npm verb shrinkwrap failed to load ode_modules/.package-lock.json missing from lockfile: ode_modules/accepts<br>npm http fetch GET 200 https://registry.npmjs.org/cors 522ms (cache revalidated)<br>npm http fetch GET 200 https://registry.npmjs.org/dotenv 133ms (cache revalidated)<br>npm http fetch GET 200 https://registry.npmjs.org/express 6ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/openai 938ms (cache revalidated)<br>npm http fetch GET 200 https://registry.npmjs.org/content-disposition 75ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/body-parser 78ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/accepts 79ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/vary 81ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/cookie 82ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/cookie-signature 83ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/content-type 86ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/encodeurl 85ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/array-flatten 90ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/escape-html 89ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/depd 91ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/finalhandler 91ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/merge-descriptors 91ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/http-errors 94ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/fresh 95ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/etag 97ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/on-finished 98ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/parseurl 97ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/methods 100ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/path-to-regexp 99ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/debug 107ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/proxy-addr 101ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/safe-buffer 100ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/qs 101ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/send 101ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/statuses 100ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/range-parser 104ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/serve-static 103ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/type-is 103ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/utils-merge 104ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/setprototypeof 109ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/object-assign 183ms (cache revalidated)<br>npm http fetch GET 200 https://registry.npmjs.org/form-data 418ms (cache revalidated)<br>npm http fetch GET 200 https://registry.npmjs.org/axios 439ms (cache revalidated)<br>npm timing idealTree:#root Completed in 2078ms<br>npm timing idealTree:ode_modules/cors Completed in 2ms<br>npm timing idealTree:ode_modules/dotenv Completed in 0ms<br>npm http fetch GET 200 https://registry.npmjs.org/toidentifier 34ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/bytes 40ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/mime-types 42ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/unpipe 41ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/iconv-lite 46ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/destroy 47ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/negotiator 49ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/ee-first 44ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/raw-body 49ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/ipaddr.js 46ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/inherits 49ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/ms 50ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/side-channel 49ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/forwarded 55ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/media-typer 54ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/mime 57ms (cache hit)<br>npm timing idealTree:ode_modules/express Completed in 101ms<br>npm http fetch GET 200 https://registry.npmjs.org/mime-db 4ms (cache hit)<br>npm timing idealTree:ode_modules/accepts Completed in 8ms<br>npm timing idealTree:ode_modules/array-flatten Completed in 0ms<br>npm http fetch GET 200 https://registry.npmjs.org/safer-buffer 4ms (cache hit)<br>npm timing idealTree:ode_modules/body-parser Completed in 16ms<br>npm timing idealTree:ode_modules/bytes Completed in 0ms<br>npm timing idealTree:ode_modules/content-disposition Completed in 1ms<br>npm timing idealTree:ode_modules/content-type Completed in 0ms<br>npm timing idealTree:ode_modules/cookie Completed in 0ms<br>npm timing idealTree:ode_modules/cookie-signature Completed in 0ms<br>npm timing idealTree:ode_modules/debug Completed in 1ms<br>npm timing idealTree:ode_modules/depd Completed in 0ms<br>npm timing idealTree:ode_modules/destroy Completed in 0ms<br>npm timing idealTree:ode_modules/encodeurl Completed in 0ms<br>npm timing idealTree:ode_modules/escape-html Completed in 0ms<br>npm timing idealTree:ode_modules/etag Completed in 0ms<br>npm timing idealTree:ode_modules/finalhandler Completed in 5ms<br>npm timing idealTree:ode_modules/debug Completed in 0ms<br>npm timing idealTree:ode_modules/encodeurl Completed in 0ms<br>npm timing idealTree:ode_modules/escape-html Completed in 0ms<br>npm timing idealTree:ode_modules/fresh Completed in 0ms<br>npm timing idealTree:ode_modules/http-errors Completed in 3ms<br>npm timing idealTree:ode_modules/depd Completed in 0ms<br>npm timing idealTree:ode_modules/iconv-lite Completed in 1ms<br>npm timing idealTree:ode_modules/inherits Completed in 0ms<br>npm timing idealTree:ode_modules/merge-descriptors Completed in 0ms<br>npm timing idealTree:ode_modules/methods Completed in 0ms<br>npm timing idealTree:ode_modules/mime-types Completed in 1ms<br>npm timing idealTree:ode_modules/mime-db Completed in 0ms<br>npm timing idealTree:ode_modules/ms Completed in 0ms<br>npm timing idealTree:ode_modules/negotiator Completed in 0ms<br>npm timing idealTree:ode_modules/object-assign Completed in 0ms<br>npm timing idealTree:ode_modules/on-finished Completed in 0ms<br>npm timing idealTree:ode_modules/ee-first Completed in 0ms<br>npm http fetch GET 200 https://registry.npmjs.org/combined-stream 138ms (cache revalidated)<br>npm http fetch GET 200 https://registry.npmjs.org/asynckit 140ms (cache revalidated)<br>npm http fetch GET 200 https://registry.npmjs.org/follow-redirects 935ms (cache revalidated)<br>npm timing idealTree:ode_modules/openai Completed in 937ms<br>npm timing idealTree:ode_modules/axios Completed in 2ms<br>npm timing idealTree:ode_modules/follow-redirects Completed in 0ms<br>npm http fetch GET 200 https://registry.npmjs.org/delayed-stream 149ms (cache revalidated)<br>npm timing idealTree:ode_modules/form-data Completed in 153ms<br>npm timing idealTree:ode_modules/asynckit Completed in 0ms<br>npm timing idealTree:ode_modules/combined-stream Completed in 1ms<br>npm timing idealTree:ode_modules/delayed-stream Completed in 0ms<br>npm timing idealTree:ode_modules/mime-types Completed in 0ms<br>npm timing idealTree:ode_modules/mime-db Completed in 0ms<br>npm timing idealTree:ode_modules/parseurl Completed in 0ms<br>npm timing idealTree:ode_modules/path-to-regexp Completed in 0ms<br>npm timing idealTree:ode_modules/proxy-addr Completed in 1ms<br>npm timing idealTree:ode_modules/forwarded Completed in 0ms<br>npm timing idealTree:ode_modules/ipaddr.js Completed in 0ms<br>npm http fetch GET 200 https://registry.npmjs.org/get-intrinsic 9ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/call-bind 11ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/object-inspect 11ms (cache hit)<br>npm timing idealTree:ode_modules/qs Completed in 15ms<br>npm timing idealTree:ode_modules/range-parser Completed in 0ms<br>npm timing idealTree:ode_modules/raw-body Completed in 4ms<br>npm timing idealTree:ode_modules/bytes Completed in 0ms<br>npm timing idealTree:ode_modules/http-errors Completed in 3ms<br>npm timing idealTree:ode_modules/depd Completed in 0ms<br>npm timing idealTree:ode_modules/iconv-lite Completed in 1ms<br>npm timing idealTree:ode_modules/inherits Completed in 0ms<br>npm timing idealTree:ode_modules/safe-buffer Completed in 0ms<br>npm timing idealTree:ode_modules/safer-buffer Completed in 0ms<br>npm timing idealTree:ode_modules/send Completed in 12ms<br>npm timing idealTree:ode_modules/debug Completed in 2ms<br>npm timing idealTree:ode_modules/depd Completed in 0ms<br>npm timing idealTree:ode_modules/destroy Completed in 0ms<br>npm timing idealTree:ode_modules/encodeurl Completed in 0ms<br>npm timing idealTree:ode_modules/escape-html Completed in 0ms<br>npm timing idealTree:ode_modules/etag Completed in 0ms<br>npm timing idealTree:ode_modules/fresh Completed in 0ms<br>npm timing idealTree:ode_modules/http-errors Completed in 5ms<br>npm timing idealTree:ode_modules/depd Completed in 0ms<br>npm timing idealTree:ode_modules/inherits Completed in 1ms<br>npm timing idealTree:ode_modules/mime Completed in 0ms<br>npm timing idealTree:ode_modules/ms Completed in 0ms<br>npm timing idealTree:ode_modules/on-finished Completed in 1ms<br>npm timing idealTree:ode_modules/ee-first Completed in 0ms<br>npm timing idealTree:ode_modules/range-parser Completed in 0ms<br>npm timing idealTree:ode_modules/serve-static Completed in 3ms<br>npm timing idealTree:ode_modules/encodeurl Completed in 0ms<br>npm timing idealTree:ode_modules/escape-html Completed in 0ms<br>npm timing idealTree:ode_modules/parseurl Completed in 0ms<br>npm timing idealTree:ode_modules/send Completed in 7ms<br>npm timing idealTree:ode_modules/debug Completed in 1ms<br>npm timing idealTree:ode_modules/depd Completed in 0ms<br>npm timing idealTree:ode_modules/destroy Completed in 0ms<br>npm timing idealTree:ode_modules/encodeurl Completed in 0ms<br>npm timing idealTree:ode_modules/escape-html Completed in 0ms<br>npm timing idealTree:ode_modules/etag Completed in 0ms<br>npm timing idealTree:ode_modules/fresh Completed in 0ms<br>npm timing idealTree:ode_modules/http-errors Completed in 5ms<br>npm timing idealTree:ode_modules/depd Completed in 0ms<br>npm timing idealTree:ode_modules/inherits Completed in 0ms<br>npm timing idealTree:ode_modules/mime Completed in 0ms<br>npm timing idealTree:ode_modules/ms Completed in 0ms<br>npm timing idealTree:ode_modules/on-finished Completed in 1ms<br>npm timing idealTree:ode_modules/ee-first Completed in 0ms<br>npm timing idealTree:ode_modules/range-parser Completed in 0ms<br>npm timing idealTree:ode_modules/setprototypeof Completed in 0ms<br>npm http fetch GET 200 https://registry.npmjs.org/has 7ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/has-symbols 7ms (cache hit)<br>npm http fetch GET 200 https://registry.npmjs.org/function-bind 9ms (cache hit)<br>npm timing idealTree:ode_modules/side-channel Completed in 13ms<br>npm timing idealTree:ode_modules/call-bind Completed in 3ms<br>npm timing idealTree:ode_modules/function-bind Completed in 0ms<br>npm timing idealTree:ode_modules/get-intrinsic Completed in 1ms<br>npm timing idealTree:ode_modules/function-bind Completed in 1ms<br>npm timing idealTree:ode_modules/has Completed in 1ms<br>npm timing idealTree:ode_modules/function-bind Completed in 0ms<br>npm timing idealTree:ode_modules/has-symbols Completed in 0ms<br>npm timing idealTree:ode_modules/object-inspect Completed in 0ms<br>npm timing idealTree:ode_modules/statuses Completed in 0ms<br>npm timing idealTree:ode_modules/toidentifier Completed in 0ms<br>npm timing idealTree:ode_modules/type-is Completed in 2ms<br>npm timing idealTree:ode_modules/media-typer Completed in 0ms<br>npm timing idealTree:ode_modules/mime-types Completed in 1ms<br>npm timing idealTree:ode_modules/mime-db Completed in 0ms<br>npm timing idealTree:ode_modules/unpipe Completed in 0ms<br>npm timing idealTree:ode_modules/utils-merge Completed in 0ms<br>npm timing idealTree:ode_modules/vary Completed in 0ms<br>npm timing idealTree:buildDeps Completed in 3438ms<br>npm timing idealTree:fixDepFlags Completed in 0ms<br>npm timing idealTree Completed in 3472ms<br>npm timing reify:loadTrees Completed in 3473ms<br>npm timing reify:diffTrees Completed in 0ms<br>npm timing reify:retireShallow Completed in 0ms<br>npm timing reify:createSparse Completed in 0ms<br>npm timing reify:loadBundles Completed in 0ms<br>npm timing reify:unpack Completed in 1ms<br>npm timing reify:unretire Completed in 0ms<br>npm timing build:queue Completed in 0ms<br>npm timing build:deps Completed in 0ms<br>npm timing build Completed in 1ms<br>npm timing reify:build Completed in 2ms<br>npm timing reify:trash Completed in 0ms<br>npm timing reify:save Completed in 11ms<br>npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 354ms<br>npm timing auditReport:getReport Completed in 357ms<br>npm timing auditReport:init Completed in 0ms<br>npm timing reify:audit Completed in 358ms<br>npm timing reify Completed in 3844ms<br><br>up to date, audited 67 packages in 4s<br><br>found 0 vulnerabilities<br>npm timing command:install Completed in 3851ms<br>npm verb exit 0<br>npm timing npm Completed in 4132ms<br>npm info ok</pre><p>3. Delete npm and node.js completely from Windows OS. <a href="https://stackoverflow.com/questions/20711240/how-to-completely-remove-node-js-from-windows">How to completely remove node.js from Windows</a>.</p><p>P.S: yarn install worked properly but this isn’t a solution in my case, I need to work with npm.</p><p><strong>Solution;</strong></p><p>I couldn’t receive any success with solutions described above then I thougth it might be about parent folder name then changed it’s name and it started to work as it should be!</p><p><strong>Lastly</strong>;</p><p>I haven’t face this problem before and wonder what could happen if I change back the name of the folder then same error occured again. npm package manager acted same every sub-folder / project I create inside that parent folder.</p><p>If you know what exactly may cause this problem please look further on the question I asked in StackOverflow community and help &amp; contribute everyone who wonders about this problem.</p><p><a href="https://stackoverflow.com/q/72076826/17162293">https://stackoverflow.com/q/72076826/17162293</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ec186281fa1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use Swiper.js in your project (for absolute beginners guide)]]></title>
            <link>https://medium.com/@kamilmuratyilmaz/how-to-use-swiper-js-in-your-project-for-absolute-beginners-guide-f0b37406a57c?source=rss-9d90697069f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0b37406a57c</guid>
            <category><![CDATA[swiper]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Kamil Murat Yılmaz]]></dc:creator>
            <pubDate>Sun, 10 Apr 2022 18:20:03 GMT</pubDate>
            <atom:updated>2022-04-10T18:20:03.537Z</atom:updated>
            <content:encoded><![CDATA[<p>First we need to import swiper.js library on our project.</p><p>There are several ways to import as described in the API</p><p><a href="https://swiperjs.com/get-started"><strong><em>Getting Started With Swiper (swiperjs.com)</em></strong></a></p><p>We’ll use the local import by downloading the essentials from the source</p><ul><li><a href="https://unpkg.com/browse/swiper@8.1.0/">UNPKG — swiper</a> (Source)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f5zCxitGG972-psPOWmEew.gif" /><figcaption>Downloading steps from the source do the same to files below</figcaption></figure><figure><img alt="Essentials" src="https://cdn-images-1.medium.com/max/709/1*Xlz5BZFDDxpGplQu74AuGQ.png" /><figcaption>Essential files inside /plugin file</figcaption></figure><p>After everything installed now we should import these into html file as below</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8529365d7c0b301e2062e28e2ece0617/href">https://medium.com/media/8529365d7c0b301e2062e28e2ece0617/href</a></iframe><p>Now everything is set, it’s time to create our first swiper!</p><p>First we should create an empty JavaScript file therefore we can initialize swiper.js and make whatever settings we want like;</p><ul><li>keyboard control</li><li>click control</li><li>breakpoints for responsive design etc.</li></ul><p>After creating the file the first step to use our swiper is initialize it like below;</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bf765f867fadb27b85255f07dfef2d22/href">https://medium.com/media/bf765f867fadb27b85255f07dfef2d22/href</a></iframe><p>With this code we have added some functionality by using swiper API.</p><blockquote><em>I have added the descriptions with comment lines see the code above or check the API below</em></blockquote><ul><li><a href="https://swiperjs.com/swiper-api">Swiper API (swiperjs.com)</a> (API Source)</li></ul><p>Second step is initialize the swiper from html file. I have add pagination bullets, navigation arrows and scrollbar with the code below;</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/183013fb393bd0f8b01b49fbcb28e5fb/href">https://medium.com/media/183013fb393bd0f8b01b49fbcb28e5fb/href</a></iframe><p>As you can see I found 5 images from the web and added them to swiper-slide classes, to make these classes work you need to use wrapper as well.</p><p>Without the CSS configuration the swiper should look like this by default;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-kzHUyI8qcFBrzynFgJ1Lg.png" /><figcaption>Swiper without CSS</figcaption></figure><p>Let’s make it prettier shall we?</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/47a1eaea968760a738772e75fa05e219/href">https://medium.com/media/47a1eaea968760a738772e75fa05e219/href</a></iframe><p>After the CSS the swiper should look like this;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7yoWEMb9u57FXG3XJcYR3Q.png" /><figcaption>After CSS</figcaption></figure><p>Congrats, you have created your first swiper!</p><p>If you want to access and play around the code or download the images here’s the full project;</p><p><a href="https://github.com/kamilmuratyilmaz/swiper.js">kamilmuratyilmaz/swiper.js (github.com)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0b37406a57c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transistör Boyutlarının Önemi]]></title>
            <link>https://medium.com/@kamilmuratyilmaz/transist%C3%B6r-boyutlar%C4%B1n%C4%B1n-%C3%B6nemi-6464a0ec8659?source=rss-9d90697069f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6464a0ec8659</guid>
            <category><![CDATA[transistor]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[cpu]]></category>
            <category><![CDATA[elektronik]]></category>
            <category><![CDATA[nesnelerin-i̇nterneti]]></category>
            <dc:creator><![CDATA[Kamil Murat Yılmaz]]></dc:creator>
            <pubDate>Sun, 27 Sep 2020 17:50:09 GMT</pubDate>
            <atom:updated>2020-09-30T19:01:14.737Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ib1nB974PlumbFYdI8mYPg.jpeg" /></figure><p>Elektroniğe yeni başladığım dönemlerde kafamda çalışma sürecini çok zor oturttuğum bir elemandı transistörler, Türkçe kaynaklardaki anlatımları anlaşılmaz bulurdum neyse ki bir süre sonra bir şeyler oturmaya başladı…</p><p>Öncelikle şunu belirteyim, transistörler sanıldığı kadar karmaşık değiller, ancak öyle gözükmeyi seviyorlar, ne de olsa mantık devrelerinin temelini oluşturuyorlar, bir havası ve nazı olmak zorunda.</p><p>Bu yazıda transistörlere ayrıntılarıyla girmeyeceğim, başka yazının konusu olsun fakat özetle yapılan bir iş sonucu başka bir sonuç ortaya çıkartırlar tıpkı evinizin odasındaki switch’e basınca ışığın yanması gibi, bu sayede mantık işlemleri yaparız. En kısa tabiriyle bir anahtarlama elemanıdır transistörler.</p><p>Örnek vermek gerekirse günümüzde bilgisayar işlemcilerinde sıkça kullanılan MOSFET transistörleri ele alalım hani şu Drain, Gate, Source uçları olanlar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*jpEgaqgSrNJJl28qfFwWOg.jpeg" /></figure><p><strong><em>Şekil gözünüzü korkutmasın, sizin için örneği basitleşirmek adına bunu gerçek hayatla eşleştireceğim.</em></strong></p><p><strong>Source</strong> <strong>Cafe</strong>’de oturup keyif yaptığınızı düşünün, <strong>Gate </strong>isimli bir arkadaşınız yanınıza gelip <strong>Drain Cafe’</strong>nin daha iyi olduğundan bahsediyor fakat siz gitmek istemiyorsunuz çünkü yol uzun. İşte burada Gate’in sizi ikna kabiliyeti önemli, eğer sizi yeterince iyi ikna edebilirse Source’tan Drain’e geçmenizi sağlamış olur.</p><blockquote><em>Burada </em><strong><em>siz bir elektron</em></strong><em>, gözünüzde büyüttüğünüz </em><strong><em>yol yarı iletken bir tabaka</em></strong><em> ve arkadaşınızın </em><strong><em>ikna kabiliyeti ise Voltajdır.</em></strong><em> Özetle Gate voltajına göre Drain ve Source arası geçiş meydana gelir. Daha ayrıntılı anlatımı ileride yapacağım şimdilik mantığı anladığınızı düşünerek ana konumuza dönelim.</em></blockquote><h3><strong>Transistör Boyutları Neden Önemli?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/247/1*uU4cd3QidjyqHCcNjv0ziQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*H8OTz2ZDI9KBzTw-DmzAxA.png" /><figcaption>Solda iki transistörlü bir anahtar devresi, ortada ve sağda ise sırasıyla teknolojik gelişmeye göre mikroişemcilerin transistör sayısı.</figcaption></figure><p>“ B<strong><em>üyük boyutlu transistörün fazla bulunduğu bir ortamda çok fazla ısı olur bu durum verimi düşürür.”</em></strong></p><p>Az önceki örneğe göre düşünürsek, sizin gibi pek çok kişinin aynı anda ikna edildiği bir ortamdasınız mesela İstiklal Caddesi, yürürken insan kalabalığı içinde kendi kendinize “of niye kabul ettim ki?” diyerek darlanıyorsunuz, bu çok kalabalık ortamda bir süre sonra sıkışıp terlemeye başlıyorsunuz ve ortamın genel ısısı aynı oranda artmış bulunuyor, bu aynen transistörler için de geçerli. Ne kadar transistör o kadar ısı.</p><p>“ <strong>B<em>üyük boyutlu transistör daha fazla enerji tüketimine sahiptir, bu durum aynı şekilde verimi düşürür.”</em></strong></p><p>Bu kadar insanın birde aşırı kilolu olduğunu düşünsenize! Kendimden yüzlercesini aynı ortamda düşünemiyorum, beni ikna etmek için uğraşacak arkadaşlarıma üzülürdüm. Transistörler de ne yazık ki aynı kafada, boyutu büyük olunca nazıda fazla oluyor, voltajı yükseltip harcanan enerjiyi arttırıyoruz ki bir şeyler yapsın.</p><blockquote><strong>Çözüm Nedir?</strong></blockquote><p>“ <strong>Boyut Küçültmek<em>”</em></strong></p><p>O kalabalığın içerisinde bir nebze rahat hareket edebilmek kim istemez ki? Bu konuda benden daha zayıf ve sağlıklı bir bireyseniz muhtemelen çok daha rahat hareket edeceksiniz ve aynı oranda daha az darlanıp daha az ısı üreteceksiniz.</p><h3><strong>SONUÇ</strong></h3><p>Transistörlerin boyutları küçüldüğü takdirde yalıtkan plakanın iletken hale geçmesi için gerekli olan voltaj ihtiyacı azalır, bu da daha az enerji harcamamıza sebep olur, bu sayede ortamda oluşan ısı da azalmış olur.</p><p>Günümüzdeki transistörler Moore yasasına göre her iki yılda bir iki kat daha fazla küçülmektedir buna bağlı olarak mikroişlemcilerin içerisinde bulunan transistör sayısıda artmaktadır bu sayede kabaca tabirle kullandığımız işlemcilerin işlem hızı artar ve harcadığı enerjiyle ürettiği ısı azalmış olur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qc2H7kO6ttXqE283MIu7dQ.jpeg" /></figure><h3>KAYNAKLAR</h3><p><a href="https://www.microcontrollertips.com/mosfets-what-is-rdson-faq/">https://www.microcontrollertips.com/mosfets-what-is-rdson-faq/</a></p><p><a href="https://www.robotistan.com/mosfetli-yuksek-guclu-surgu-anahtar-devresi-pl-2815">https://www.robotistan.com/mosfetli-yuksek-guclu-surgu-anahtar-devresi-pl-2815</a></p><p><a href="https://www.quora.com/How-many-transistors-does-a-typical-microprocessor-chip-contain">https://www.quora.com/How-many-transistors-does-a-typical-microprocessor-chip-contain</a></p><p><a href="https://fossbytes.com/moores-law-is-finally-dead-rest-in-peace-moores-law/">https://fossbytes.com/moores-law-is-finally-dead-rest-in-peace-moores-law/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6464a0ec8659" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>