nufhe icon indicating copy to clipboard operation
nufhe copied to clipboard

key genration error

Open bpradeep508 opened this issue 2 years ago • 1 comments

TypeError Traceback (most recent call last) in () 259 lines.append([int(v) for v in line.split()]) 260 ctx = nufhe.Context() --> 261 secret_key, cloud_key = ctx.make_key_pair() 262 vm = ctx.make_virtual_machine(cloud_key) 263 size=16

7 frames /usr/local/lib/python3.7/dist-packages/pyopencl/array.py in _new_with_changes(self, data, offset, shape, dtype, strides, queue, allocator) 641 strides=strides, data=data, offset=offset, 642 events=events, --> 643 _fast=fast, _context=self.context, _queue=queue, _size=size) 644 645 def with_queue(self, queue):

TypeError: init() got an unexpected keyword argument 'data'

bpradeep508 avatar Oct 07 '21 03:10 bpradeep508

There appears to be a change in the recent version of PyOpenCL that broke reikna, and, by extension, nufhe. Can you downgrade to pyopencl<=2021.2.6 and try again?

fjarri avatar Oct 12 '21 07:10 fjarri