Unanswered
Hi All
Thanks a lot for looking into this. Unfortunately the HPO is still not working. Although the instance is starting now we are receiving the error below in the console of the application instance. When manually enqueueing the same experiment it does work, leading us to believe that this is not an environment issue. It also happens for cloned runs that worked in the past. Could this be related to the previous issue?
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/serpent.py", line 506, in ser_default_class
value = dict(vars(obj)) # make sure we can serialize anything that resembles a dict
^^^^^^^^^
TypeError: vars() argument must have __dict__ attribute
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.11/site-packages/hpbandster/core/dispatcher.py", line 296, in job_runner
worker.proxy.start_computation(self, job.id, **job.kwargs)
File "/usr/local/lib/python3.11/site-packages/Pyro4/core.py", line 185, in __call__
return self.__send(self.__name, args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/Pyro4/core.py", line 437, in _pyroInvoke
data, compressed = serializer.serializeCall(objectId, methodname, vargs, kwargs, compress=config.COMPRESSION)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/Pyro4/util.py", line 176, in serializeCall
data = self.dumpsCall(obj, method, vargs, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/Pyro4/util.py", line 602, in dumpsCall
return serpent.dumps((obj, method, vargs, kwargs), module_in_classname=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/serpent.py", line 69, in dumps
return Serializer(indent, module_in_classname, bytes_repr).serialize(obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/serpent.py", line 229, in serialize
self._serialize(obj, out, 0)
File "/usr/local/lib/python3.11/site-packages/serpent.py", line 255, in _serialize
return self.dispatch[t](self, obj, out, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/serpent.py", line 319, in ser_builtins_tuple
serialize(elt, out, level + 1)
File "/usr/local/lib/python3.11/site-packages/serpent.py", line 255, in _serialize
return self.dispatch[t](self, obj, out, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/serpent.py", line 392, in ser_builtins_dict
serialize(value, out, level + 1)
File "/usr/local/lib/python3.11/site-packages/serpent.py", line 255, in _serialize
return self.dispatch[t](self, obj, out, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/serpent.py", line 392, in ser_builtins_dict
serialize(value, out, level + 1)
File "/usr/local/lib/python3.11/site-packages/serpent.py", line 274, in _serialize
func(self, obj, out, level)
File "/usr/local/lib/python3.11/site-packages/serpent.py", line 516, in ser_default_class
raise TypeError("don't know how to serialize class " +
TypeError: don't know how to serialize class <class 'numpy.int64'>. Give it vars() or an appropriate __getstate__
2 Views
0
Answers
2 days ago
one day ago