We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87262c6 commit 71770b9Copy full SHA for 71770b9
tiledb/ml/models/_base.py
@@ -4,6 +4,7 @@
4
import os
5
import pickle
6
import platform
7
+import time
8
from abc import ABC, abstractmethod
9
from typing import (
10
Any,
@@ -164,7 +165,10 @@ def _write_array(
164
165
"Please avoid using file property key names as metadata keys!"
166
)
167
- with tiledb.open(self.uri, "w", ctx=self.ctx) as model_array:
168
+ timestamp = round(time.time() * 1000)
169
+ with tiledb.open(
170
+ self.uri, "w", timestamp=timestamp, ctx=self.ctx
171
+ ) as model_array:
172
one_d_buffers = {}
173
max_len = 0
174
for key, value in model_params.items():
0 commit comments