Skip to content

Add loop unroll into MLGO#180

Open
eopXD wants to merge 2 commits into
google:mainfrom
eopXD:loop-unroll
Open

Add loop unroll into MLGO#180
eopXD wants to merge 2 commits into
google:mainfrom
eopXD:loop-unroll

Conversation

@eopXD

@eopXD eopXD commented Nov 20, 2022

Copy link
Copy Markdown
Contributor

No description provided.

@eopXD eopXD force-pushed the loop-unroll branch 3 times, most recently from d6780b3 to 619a770 Compare December 4, 2022 10:56

_COMPILATION_TIMEOUT = flags.DEFINE_integer(
'compilation_timeout', 60,
'compilation_timeout', 120,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you revert it back?

dataset = dataset.map(parser_fn, num_parallel_calls=tf.data.AUTOTUNE)
data_list = np.array(list(dataset.as_numpy_iterator()), dtype=object)
data_list = np.transpose(data_list, [1, 0])
data_list = np.transpose(data_list, [1, 0, 2])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this change for?

@gin.configurable()
def get_unroll_signature_spec():
"""Returns (time_step_spec, action_spec) for LLVM loop unroll."""
# LINT.IfChange

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete # LINT.IfChange

@cclauss

cclauss commented Jan 29, 2025

Copy link
Copy Markdown
Contributor

git conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants