Skip to content

TensorFI: Add state space based random sampling #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

TensorFI: Add state space based random sampling #11

wants to merge 1 commit into from

Conversation

nniranjhana
Copy link
Contributor

For the "oneFaultPerRun" mode, faults were injected into
operators sampled from a uniform probability distribution.

However it makes more sense to sample across the operator
state space as it is a closer model for fault occurence.

Signed-off-by: Niranjhana Narayanan [email protected]

For the "oneFaultPerRun" mode, faults were injected into
operators sampled from a uniform probability distribution.

However it makes more sense to sample across the operator
state space as it is a closer model for fault occurence.

Signed-off-by: Niranjhana Narayanan <[email protected]>
@zitaoc
Copy link
Collaborator

zitaoc commented Oct 13, 2019

Hi NJ, thanks for the work, I think the high-level idea of implementing it is ok. Just one thing:

You sampling of total state space is based on All the ops in the fiMap, while this is reasonable when we want to inject ALL the ops. However, some might only want to inject a subset of Ops in the graph, e.g., those Ops that involve in computing the results. (same reason why we specify "instance" in the yaml file).

Could you modify this part and sample the distribution more flexibly according to our yaml conf file? then try it running on some simple tests see if it works?

Thanks.

@nniranjhana
Copy link
Contributor Author

Sure Zitao, that makes sense. I'll make that change and recommit, thanks for the review!

@karthikp-ubc
Copy link
Contributor

Just saw that this pull request still remains open. Zitao and Niranjhana, should we merge it ? Thanks.

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