summaryrefslogtreecommitdiff
path: root/bitsandbytes/autograd/_functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitsandbytes/autograd/_functions.py')
-rw-r--r--bitsandbytes/autograd/_functions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitsandbytes/autograd/_functions.py b/bitsandbytes/autograd/_functions.py
index a5446b7..01e7073 100644
--- a/bitsandbytes/autograd/_functions.py
+++ b/bitsandbytes/autograd/_functions.py
@@ -6,6 +6,7 @@ import bitsandbytes.functional as F
from dataclasses import dataclass
from functools import reduce # Required in Python 3
+# math.prod not compatible with python < 3.8
def prod(iterable):
return reduce(operator.mul, iterable, 1)