Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
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
FINAM
finam
Commits
3b158b4c
Commit
3b158b4c
authored
2 years ago
by
Martin Lange
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-profiling' into 'main'
Fix/catch failing profiling See merge request
!242
parents
d26f49f4
ee5238da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!242
Fix/catch failing profiling
Pipeline
#134942
passed with stages
in 6 minutes and 16 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
benchmarks/profiling/profile_huge_memory.py
+1
-1
1 addition, 1 deletion
benchmarks/profiling/profile_huge_memory.py
benchmarks/run_profiling.sh
+1
-0
1 addition, 0 deletions
benchmarks/run_profiling.sh
with
2 additions
and
1 deletion
benchmarks/profiling/profile_huge_memory.py
+
1
−
1
View file @
3b158b4c
...
...
@@ -19,7 +19,7 @@ def run_model():
size
=
(
1024
,
1024
)
info1
=
fm
.
Info
(
time
=
None
,
grid
=
fm
.
UniformGrid
(
size
),
units
=
"
m
"
)
data
=
fm
.
data
.
to_xarray
(
fm
.
data
.
full
(
0.0
,
info1
),
info1
)
data
=
fm
.
data
.
prepare
(
fm
.
data
.
full
(
0.0
,
info1
),
info1
)
def
gen_data
(
t
):
return
np
.
copy
(
data
)
...
...
This diff is collapsed.
Click to expand it.
benchmarks/run_profiling.sh
+
1
−
0
View file @
3b158b4c
#!/bin/bash
echo
Profiling...
set
-e
mkdir
-p
prof
for
filename
in
benchmarks/profiling/
*
.py
;
do
...
...
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