You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<small>The sub-quadratic cross attention optimization uses modified code from the Memory Efficient Attention package that Alex Birch optimized for 3D tensors. This license is updated to reflect that.</small>
395
+
<pre>
396
+
MIT License
397
+
398
+
Copyright (c) 2023 Alex Birch
399
+
Copyright (c) 2023 Amin Rezaei
400
+
401
+
Permission is hereby granted, free of charge, to any person obtaining a copy
402
+
of this software and associated documentation files (the "Software"), to deal
403
+
in the Software without restriction, including without limitation the rights
404
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
405
+
copies of the Software, and to permit persons to whom the Software is
406
+
furnished to do so, subject to the following conditions:
407
+
408
+
The above copyright notice and this permission notice shall be included in all
409
+
copies or substantial portions of the Software.
410
+
411
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
412
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
413
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
414
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
415
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
416
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# Based on Birch-san's modified implementation of sub-quadratic attention from https://github.com/Birch-san/diffusers/pull/1
219
+
# The sub_quad_attention_forward function is under the MIT License listed under Memory Efficient Attention in the Licenses section of the web UI interface
0 commit comments