Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
remote-run
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCL
remote-run
Commits
5b46224b
Commit
5b46224b
authored
6 months ago
by
Reza Housseini
Browse files
Options
Downloads
Patches
Plain Diff
refactor: get rid of the uuid
parent
b31272b4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#376877
passed
6 months ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
remote_run/run.py
+2
-3
2 additions, 3 deletions
remote_run/run.py
with
2 additions
and
3 deletions
remote_run/run.py
+
2
−
3
View file @
5b46224b
...
...
@@ -9,7 +9,6 @@ from typing import Callable, List, Tuple
import
platform
import
pyvista
as
pv
import
dill
import
uuid
from
.runner
import
Runner
,
GuixRunner
,
PlainRunner
,
create_runner
from
.scheduling_engine
import
SchedulingEngine
,
SlurmSchedulingEngine
,
schedule
...
...
@@ -273,7 +272,7 @@ def run_remote(
]
+
[
str
(
remote
.
project_path
)]
session_file
=
remote
.
root_path
/
"
session.pkl
"
result_file
=
remote
.
root_path
/
"
result
"
scheduler_result_file
=
remote
.
root_path
/
(
"
scheduler-result
-
"
+
str
(
uuid
.
uuid4
()))
scheduler_result_file
=
remote
.
root_path
/
"
scheduler-result
"
if
execution_context
.
scheduling_engine
is
None
:
...
...
@@ -287,7 +286,7 @@ def run_remote(
else
:
# TODO probably move this to the class
# TODO probably move this to the
SlurmSchedulingEngine
class
if
isinstance
(
execution_context
.
scheduling_engine
,
SlurmSchedulingEngine
):
execution_context
.
scheduling_engine
.
kwargs
[
"
cpus_per_task
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment