mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-10 10:27:03 +00:00
convert : write tensors in parallel
This commit is contained in:
@@ -220,4 +220,9 @@ class LazyNumpyTensor(LazyBase):
|
||||
eager = LazyNumpyTensor.to_eager(self)
|
||||
return eager.tofile(*args, **kwargs)
|
||||
|
||||
@property
|
||||
def data(self):
|
||||
eager = LazyNumpyTensor.to_eager(self)
|
||||
return eager.data
|
||||
|
||||
# TODO: __array_function__
|
||||
|
||||
Reference in New Issue
Block a user