Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ wait
Method
wait
imperative/python/megengine/utils/custom_op_tools.py:613–615 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
611
return
False
612
613
def
wait(self):
614
while
os.path.exists(self.lock_file_path):
615
time.sleep(self.wait_seconds)
616
617
def
release(self):
618
if
self.fd is not None:
Callers
10
build
Function · 0.95
run
Function · 0.45
run_model
Function · 0.45
set
Method · 0.45
get
Method · 0.45
run
Method · 0.45
group_barrier
Method · 0.45
test_io2
Function · 0.45
test_attr_output
Function · 0.45
exit
Method · 0.45
Calls
1
sleep
Method · 0.80
Tested by
2
test_io2
Function · 0.36
test_attr_output
Function · 0.36