Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[ONNX] Support running bfloat16 models with ONNX Runtime#149646

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

@justinchuby
Copy link
Collaborator

@justinchubyjustinchuby commentedMar 20, 2025
edited
Loading

Use ORTValue objects to support bfloat16 and other dtypes as inputs. This only supports cuda as ort only implements bfloat16 on cuda.

@pytorch-botpytorch-botbot added the release notes: onnxtorch.onnx related changes that should show up in the release notes labelMar 20, 2025
@pytorch-bot
Copy link

pytorch-botbot commentedMar 20, 2025
edited
Loading

🔗 Helpful Links

🧪 See artifacts and rendered test results athud.pytorch.org/pr/149646

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit27dc679 with merge basee945247 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@bdhirshbdhirsh added the triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module labelMar 24, 2025
@justinchubyjustinchuby added module: onnxRelated to torch.onnx topic: improvementstopic category labelsMar 28, 2025
@justinchuby
Copy link
CollaboratorAuthor

@pytorchbot rebase

pytorch-bot[bot] reacted with thumbs up emoji

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job ontorefs/remotes/origin/viable/strict. Check the current statushere

@pytorchmergebot
Copy link
Collaborator

Successfully rebasedjustinchu/ort-bfloat16 ontorefs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, viagit checkout justinchu/ort-bfloat16 && git pull --rebase)

@justinchuby
Copy link
CollaboratorAuthor

@pytorchbot rebase

pytorch-bot[bot] reacted with thumbs up emoji

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job ontorefs/remotes/origin/viable/strict. Check the current statushere

@pytorchmergebot
Copy link
Collaborator

Successfully rebasedjustinchu/ort-bfloat16 ontorefs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, viagit checkout justinchu/ort-bfloat16 && git pull --rebase)

pytorchmergebot pushed a commit that referenced this pull requestApr 9, 2025
tracing_state_functions references some torch functions from submodules like `torch.onnx.is_in_onnx_export` that could trigger module initialization & circular imports. I turned the mapping into a function so that the dictionary is not initialized at torch import.(discovered in#149646)Pull Requestresolved:#150325Approved by:https://github.com/zou3519
@justinchuby
Copy link
CollaboratorAuthor

@pytorchbot rebase -b main

pytorch-bot[bot] reacted with thumbs up emoji

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job ontorefs/remotes/origin/main. Check the current statushere

@pytorchmergebot
Copy link
Collaborator

Successfully rebasedjustinchu/ort-bfloat16 ontorefs/remotes/origin/main, please pull locally before adding more changes (for example, viagit checkout justinchu/ort-bfloat16 && git pull --rebase)

@justinchuby
Copy link
CollaboratorAuthor

@pytorchbot rebase -b main

pytorch-bot[bot] reacted with thumbs up emoji

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job ontorefs/remotes/origin/main. Check the current statushere

@pytorchmergebot
Copy link
Collaborator

Successfully rebasedjustinchu/ort-bfloat16 ontorefs/remotes/origin/main, please pull locally before adding more changes (for example, viagit checkout justinchu/ort-bfloat16 && git pull --rebase)

@justinchuby
Copy link
CollaboratorAuthor

@pytorchbot merge

pytorch-bot[bot] reacted with thumbs up emoji

@pytorch-botpytorch-botbot added the ciflow/trunkTrigger trunk jobs on your pull request labelApr 11, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in thewiki.

Questions? Feedback? Please reach out to thePyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

timocafe pushed a commit to timocafe/pytorch that referenced this pull requestApr 16, 2025
tracing_state_functions references some torch functions from submodules like `torch.onnx.is_in_onnx_export` that could trigger module initialization & circular imports. I turned the mapping into a function so that the dictionary is not initialized at torch import.(discovered inpytorch#149646)Pull Requestresolved:pytorch#150325Approved by:https://github.com/zou3519
timocafe pushed a commit to timocafe/pytorch that referenced this pull requestApr 16, 2025
)Use ORTValue objects to support bfloat16 and other dtypes as inputs. This only supports cuda as ort only implements bfloat16 on cuda.Pull Requestresolved:pytorch#149646Approved by:https://github.com/titaiwangms
amathewc pushed a commit to amathewc/pytorch that referenced this pull requestApr 17, 2025
tracing_state_functions references some torch functions from submodules like `torch.onnx.is_in_onnx_export` that could trigger module initialization & circular imports. I turned the mapping into a function so that the dictionary is not initialized at torch import.(discovered inpytorch#149646)Pull Requestresolved:pytorch#150325Approved by:https://github.com/zou3519
amathewc pushed a commit to amathewc/pytorch that referenced this pull requestApr 17, 2025
)Use ORTValue objects to support bfloat16 and other dtypes as inputs. This only supports cuda as ort only implements bfloat16 on cuda.Pull Requestresolved:pytorch#149646Approved by:https://github.com/titaiwangms
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@titaiwangmstitaiwangmstitaiwangms approved these changes

@shubhambhokare1shubhambhokare1Awaiting requested review from shubhambhokare1

@wschinwschinAwaiting requested review from wschin

Assignees

@titaiwangmstitaiwangms

Labels

ciflow/trunkTrigger trunk jobs on your pull requestMergedmodule: onnxRelated to torch.onnxopen sourcerelease notes: onnxtorch.onnx related changes that should show up in the release notestopic: improvementstopic categorytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@justinchuby@pytorchmergebot@titaiwangms@bdhirsh@pytorchbot

[8]ページ先頭

©2009-2025 Movatter.jp