Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BeastyZ/ConvSearch-R1
/ load_from_disk
Method
load_from_disk
verl/verl/protocol.py:228–231 ·
view source on GitHub ↗
(filepath)
Source
from the content-addressed store, hash-verified
226
227
@staticmethod
228
def
load_from_disk(filepath) ->
'DataProto'
:
229
with
open(filepath,
'rb'
)
as
f:
230
data = pickle.load(f)
231
return
data
232
233
def
print_size(self, prefix=
""
):
234
size_of_tensordict = 0
Callers
1
test_torch_save_data_proto
Function · 0.80
Calls
no outgoing calls
Tested by
1
test_torch_save_data_proto
Function · 0.64