{"library":"local-attention","type":"library","category":null,"description":"local-attention is a Python library by lucidrains that implements local attention mechanisms with configurable windowing and lookback/lookforward options, primarily for language modeling tasks. It leverages PyTorch for efficient computation and is actively maintained with frequent minor and patch releases.","language":"python","status":"active","version":"1.11.2","tags":["attention","deep-learning","transformers","pytorch","language-modeling","causal-attention"],"install":[{"cmd":"pip install local-attention","imports":["from local_attention import LocalAttention"]}],"homepage":null,"github":"https://github.com/lucidrains/local-attention","docs":null,"changelog":null,"pypi":"https://pypi.org/project/local-attention/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":74.6,"avg_import_s":5.15,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/local-attention/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}