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

fix overwrite of neuron devices when efa devices are also specified #1656

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

emattia
Copy link
Contributor

@emattia emattia commented Dec 14, 2023

When @batch contains both inferentia and efa arguments, the list of /dev/neuron{N} (for inferentia and trainium) specifications in nodeProperties.nodeRangeProperties.container.linuxParameters.devices are currently being overwritten by the list of /dev/infiniband/uverbs{N} (for efa eni's) devices.

* Setup a new card and start the watcher
*/
function handleLoadCard(name, value) {
document.getElementsByTagName("title").innerHTML = name;

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
function handleLoadCard(name, value) {
document.getElementsByTagName("title").innerHTML = name;
const iframe = document.getElementById("card-frame");
iframe.src = `/card/${value}?embed=true`;

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
@emattia emattia force-pushed the eddie/efa-trainium-batch-bug branch from b7b5c94 to c0a858c Compare January 23, 2024 05:21
@emattia emattia marked this pull request as draft January 23, 2024 14:48
@savingoyal savingoyal marked this pull request as ready for review February 5, 2024 22:24
@savingoyal savingoyal merged commit aaf70e2 into Netflix:master Feb 6, 2024
30 of 34 checks passed
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.

2 participants