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
Describe the bug
Something is off with how benchmark.py is reading in tinynumpy. Specifically, in tinynumpy.py L52 and L53.
To Reproduce
Steps to reproduce the behavior:
python3 benchmark.py
Expected behavior
=== MEMORY ====
Memory for floats 0-M: 30 B
Memory for ints 0-M: 26 B
Memory for ints 0-255: 0 B
Memory for regular object: 78 B
Memory for object with slots: 45 B
Memory for Numpy arr size 1: 129 B
Memory for Tinynumpy arr size 1: 272 B
Memory for Numpy arr size M: 7.64 MiB
Memory for Tinynumpy arr size M: 22.94 MiB
=== SPEED ====
Time for numpy sum 10k: 2.36 us (100000 iters)
Time for tinynumpy sum 10k: 0.47 ms (1000 iters)
Time for numpy max 10k: 1.41 us (1000000 iters)
Time for tinynumpy max 10k: 0.53 ms (1000 iters)
Time for numpy sum 1M: 0.19 ms (10000 iters)
Time for tinynumpy sum 1M: 50.85 ms (10 iters)
Time for numpy max 1M: 0.11 ms (10000 iters)
Time for tinynumpy max 1M: 56.20 ms (10 iters)
Screenshots
import tinynumpy.tinylinalg as linalg
ModuleNotFoundError: No module named 'tinynumpy.tinylinalg'; 'tinynumpy' is not a package
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
Something is off with how
benchmark.py
is reading intinynumpy
. Specifically, intinynumpy.py
L52 and L53.To Reproduce
Steps to reproduce the behavior:
python3 benchmark.py
Expected behavior
Screenshots
Additional context
N/A
The text was updated successfully, but these errors were encountered: