Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coyote
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nils
coyote
Commits
3c67513d
Commit
3c67513d
authored
1 month ago
by
Siddhant Tibrewal
Browse files
Options
Downloads
Patches
Plain Diff
fixed chunk-shape heuristic in cases of it being specified less than the shape
parent
8577177a
No related branches found
Branches containing commit
No related tags found
1 merge request
!54
Improvements from integration of Hiopy into the Global Hackathon Atmo-only Runs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/hiopy/configure/configure.py
+1
-1
1 addition, 1 deletion
apps/hiopy/configure/configure.py
with
1 addition
and
1 deletion
apps/hiopy/configure/configure.py
+
1
−
1
View file @
3c67513d
...
...
@@ -86,7 +86,7 @@ def add_variable(
_shard_shape
=
None
if
chunk_shape
is
not
None
:
_chunk_shape
=
tuple
(
min
(
chunk_shape
,
shape
))
_chunk_shape
=
tuple
(
min
(
a
,
b
)
for
a
,
b
in
zip
(
chunk_shape
,
shape
))
if
chunks_per_shard
is
not
None
:
_shard_shape
=
tuple
(
i
*
chunks_per_shard
for
i
in
_chunk_shape
)
...
...
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