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

Update and short circuit the Neuron initialization #8041

Conversation

rpsilva-aws
Copy link
Contributor

Currently, we re-initialize the environment for Neuron when torch-neuronx is present. In this change, we decouple the initialization when torch-neuronx is present. In the meantime, we also short circuit the returning value if libneuronxla is not present.

@rpsilva-aws rpsilva-aws force-pushed the rpsilva-aws_short_circuit_neuron_initializer branch from 33f48dc to c5abe1d Compare September 18, 2024 21:22
@jeffhataws jeffhataws self-requested a review September 18, 2024 21:52
@rpsilva-aws rpsilva-aws marked this pull request as ready for review September 18, 2024 23:50
@jeffhataws jeffhataws merged commit d0ea5cc into pytorch:master Sep 19, 2024
23 checks passed
@rpsilva-aws rpsilva-aws deleted the rpsilva-aws_short_circuit_neuron_initializer branch September 19, 2024 23:00
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