This repository was archived by the owner on Nov 17, 2025. It is now read-only.
Fix misc. issues surrounding ProfileStats#1121
Open
brandonwillard wants to merge 1 commit intoaesara-devs:mainfrom
Open
Fix misc. issues surrounding ProfileStats#1121brandonwillard wants to merge 1 commit intoaesara-devs:mainfrom
ProfileStats#1121brandonwillard wants to merge 1 commit intoaesara-devs:mainfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1121 +/- ##
==========================================
+ Coverage 79.25% 79.30% +0.05%
==========================================
Files 159 159
Lines 48097 48051 -46
Branches 10934 10920 -14
==========================================
- Hits 38117 38105 -12
+ Misses 7469 7434 -35
- Partials 2511 2512 +1
|
|
Hello, I just tested this, but I don't see any output on stderr: $ cat profile_simple.py
import aesara
import aesara.tensor as at
import numpy as np
params = at.vector()
f = aesara.function([params], [params ** 2])
print(f(np.array([1, 2, 3])))
$ AESARA_FLAGS=profile=True python profile_simple.py
[array([1., 4., 9.])]
$ |
Member
Author
Yes, the That I haven't merged this PR because I still haven't decided what to do about this situation, so, if you have some use-cases specific to the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes some of the issues mentioned in #1120 and provides some general refactoring for
ProfileStatsand related code.More specifically, this PR removes the
atexitfunctionality that was already very buggy and completely untested.