Skip to content
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

Added fix for gpu support for other LLM attribution models #1307

Closed
wants to merge 1 commit into from

Conversation

jjuncho
Copy link
Contributor

@jjuncho jjuncho commented Jul 3, 2024

Summary: Fixed bug in LLM Attribution code such that the attribution mask is on the same device as inputs. Followed post https://discuss.pytorch.org/t/trying-to-explain-zephyr-generative-llm/195262?fbclid=IwAR21fx6-IHV7QzW6FC3X2l8ol1pKBdTaDk9eRKOyXEXuyXk2tIxO_DDhE5A in order to fix the issue.

Reviewed By: cyrjano

Differential Revision: D58897547

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58897547

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58897547

jjuncho added a commit to jjuncho/captum that referenced this pull request Jul 3, 2024
)

Summary:
Pull Request resolved: pytorch#1307

Fixed bug in LLM Attribution code such that the attribution mask is on the same device as inputs. Followed post https://discuss.pytorch.org/t/trying-to-explain-zephyr-generative-llm/195262?fbclid=IwAR21fx6-IHV7QzW6FC3X2l8ol1pKBdTaDk9eRKOyXEXuyXk2tIxO_DDhE5A in order to fix the issue.

Reviewed By: cyrjano

Differential Revision: D58897547
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58897547

jjuncho added a commit to jjuncho/captum that referenced this pull request Jul 16, 2024
)

Summary:
Pull Request resolved: pytorch#1307

Fixed bug in LLM Attribution code such that the attribution mask is on the same device as inputs. Followed post https://discuss.pytorch.org/t/trying-to-explain-zephyr-generative-llm/195262?fbclid=IwAR21fx6-IHV7QzW6FC3X2l8ol1pKBdTaDk9eRKOyXEXuyXk2tIxO_DDhE5A in order to fix the issue.

Reviewed By: cyrjano

Differential Revision: D58897547
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58897547

jjuncho added a commit to jjuncho/captum that referenced this pull request Jul 16, 2024
)

Summary:
Pull Request resolved: pytorch#1307

Fixed bug in LLM Attribution code such that the attribution mask is on the same device as inputs. Followed post https://discuss.pytorch.org/t/trying-to-explain-zephyr-generative-llm/195262?fbclid=IwAR21fx6-IHV7QzW6FC3X2l8ol1pKBdTaDk9eRKOyXEXuyXk2tIxO_DDhE5A in order to fix the issue.

Reviewed By: cyrjano

Differential Revision: D58897547
jjuncho added a commit to jjuncho/captum that referenced this pull request Jul 16, 2024
)

Summary:
Pull Request resolved: pytorch#1307

Fixed bug in LLM Attribution code such that the attribution mask is on the same device as inputs. Followed post https://discuss.pytorch.org/t/trying-to-explain-zephyr-generative-llm/195262?fbclid=IwAR21fx6-IHV7QzW6FC3X2l8ol1pKBdTaDk9eRKOyXEXuyXk2tIxO_DDhE5A in order to fix the issue.

Reviewed By: cyrjano

Differential Revision: D58897547
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58897547

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58897547

jjuncho added a commit to jjuncho/captum that referenced this pull request Jul 16, 2024
)

Summary:
Pull Request resolved: pytorch#1307

Fixed bug in LLM Attribution code such that the attribution mask is on the same device as inputs. Followed post https://discuss.pytorch.org/t/trying-to-explain-zephyr-generative-llm/195262?fbclid=IwAR21fx6-IHV7QzW6FC3X2l8ol1pKBdTaDk9eRKOyXEXuyXk2tIxO_DDhE5A in order to fix the issue.

Reviewed By: cyrjano

Differential Revision: D58897547
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58897547

jjuncho added a commit to jjuncho/captum that referenced this pull request Jul 17, 2024
)

Summary:
Pull Request resolved: pytorch#1307

Fixed bug in LLM Attribution code such that the attribution mask is on the same device as inputs. Followed post https://discuss.pytorch.org/t/trying-to-explain-zephyr-generative-llm/195262?fbclid=IwAR21fx6-IHV7QzW6FC3X2l8ol1pKBdTaDk9eRKOyXEXuyXk2tIxO_DDhE5A in order to fix the issue.

Reviewed By: cyrjano

Differential Revision: D58897547
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58897547

jjuncho added a commit to jjuncho/captum that referenced this pull request Jul 17, 2024
)

Summary:
Pull Request resolved: pytorch#1307

Fixed bug in LLM Attribution code such that the attribution mask is on the same device as inputs. Followed post https://discuss.pytorch.org/t/trying-to-explain-zephyr-generative-llm/195262?fbclid=IwAR21fx6-IHV7QzW6FC3X2l8ol1pKBdTaDk9eRKOyXEXuyXk2tIxO_DDhE5A in order to fix the issue.

Reviewed By: cyrjano

Differential Revision: D58897547
)

Summary:
Pull Request resolved: pytorch#1307

Fixed bug in LLM Attribution code such that the attribution mask is on the same device as inputs. Followed post https://discuss.pytorch.org/t/trying-to-explain-zephyr-generative-llm/195262?fbclid=IwAR21fx6-IHV7QzW6FC3X2l8ol1pKBdTaDk9eRKOyXEXuyXk2tIxO_DDhE5A in order to fix the issue.

Reviewed By: cyrjano

Differential Revision: D58897547
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58897547

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 3125f59.

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

Successfully merging this pull request may close these issues.

None yet

2 participants