Skip to content

Fix O(pop_size) Python-level max/min in StandardPipeline.show_details#14

Open
xavierhillroy wants to merge 1 commit into
EMI-Group:mainfrom
xavierhillroy:min_max_fix
Open

Fix O(pop_size) Python-level max/min in StandardPipeline.show_details#14
xavierhillroy wants to merge 1 commit into
EMI-Group:mainfrom
xavierhillroy:min_max_fix

Conversation

@xavierhillroy

Copy link
Copy Markdown

Replaces Python builtin max/min over the fitness tensor with torch.max/torch.min; at pop 1M this reduces default-settings generation time from ~2.5 s to ~0.09 s with identical output. From this.

with torch.max/torch.min; at pop 1M this reduces default-settings generation time from ~2.5 s to
~0.09 s with identical output.
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.

1 participant