Update convert.py
This commit is contained in:
parent
893bf9d368
commit
b05ec02a1b
1 changed files with 1 additions and 1 deletions
|
@ -706,7 +706,7 @@ class LazyUnpickler(pickle.Unpickler):
|
||||||
description = f'pickled storage_offset={storage_offset} in {storage.description}'
|
description = f'pickled storage_offset={storage_offset} in {storage.description}'
|
||||||
return LazyTensor(load, list(size), storage.kind.data_type, description)
|
return LazyTensor(load, list(size), storage.kind.data_type, description)
|
||||||
|
|
||||||
@staticmethod
|
# @staticmethod
|
||||||
def rebuild_from_type_v2(func, new_type, args, state):
|
def rebuild_from_type_v2(func, new_type, args, state):
|
||||||
return func(*args)
|
return func(*args)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue