Skip to content

Driver throughput_test: high is out of bounds for int64 #194

@fpjentzsch

Description

@fpjentzsch

Failure for Transformer model(s):

https://git.uni-paderborn.de/eki-project/finn-plus/-/jobs/487241

[run_1] Traceback (most recent call last):
[run_1] File "/usr/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
[run_1] self.run()
[run_1] File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
[run_1] self._target(*self._args, **self._kwargs)
[run_1] File "/home/gitlab-runner/builds/t3_rtPjrk/0/eki-project/finn-plus/measurement/driver/driver.py", line 1407, in throughput_test
[run_1] return super().throughput_test(**kwargs)
[run_1] File "/home/gitlab-runner/builds/t3_rtPjrk/0/eki-project/finn-plus/measurement/driver/driver.py", line 482, in throughput_test
[run_1] input_npy = gen_finn_dt_tensor(self.idt(), self.ishape_normal())
[run_1] File "/usr/local/lib/python3.10/dist-packages/qonnx/util/basic.py", line 231, in gen_finn_dt_tensor
[run_1] tensor_values = np.random.randint(finn_dt.min(), high=finn_dt.max() + 1, size=tensor_shape)
[run_1] File "numpy/random/mtrand.pyx", line 782, in numpy.random.mtrand.RandomState.randint
[run_1] File "numpy/random/_bounded_integers.pyx", line 1332, in numpy.random._bounded_integers._rand_int64
[run_1] ValueError: high is out of bounds for int64

Any ideas how to fix this @iksnagreb @klassen9?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions