Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
f519a49f
"...composable_kernel.git" did not exist on "f30e59754205db83eea8e4ea42caf421eafb70e0"
Commit
f519a49f
authored
Sep 18, 2022
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
Sep 18, 2022
Browse files
fix failing typechecking for ctrl+c handling
parent
f75b9e3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
experiments/run.py
experiments/run.py
+1
-7
No files found.
experiments/run.py
View file @
f519a49f
...
@@ -357,13 +357,7 @@ else:
...
@@ -357,13 +357,7 @@ else:
with
open
(
path
,
'rb'
)
as
f
:
with
open
(
path
,
'rb'
)
as
f
:
rt
.
add_run
(
pickle
.
load
(
f
))
rt
.
add_run
(
pickle
.
load
(
f
))
# register interrupt handler
# register interrupt handler
def
handle_interrupt
(
signalnum
:
int
,
handler
:
int
):
signal
(
SIGINT
,
lambda
*
_
:
rt
.
interrupt
())
# pylint: disable=unused-argument
rt
.
interrupt
()
signal
(
SIGINT
,
handle_interrupt
)
asyncio
.
run
(
rt
.
start
())
asyncio
.
run
(
rt
.
start
())
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment