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

Add LD_PRELOAD for sequence batcher/infer tests #5125

Merged
merged 2 commits into from
Dec 5, 2022
Merged

Add LD_PRELOAD for sequence batcher/infer tests #5125

merged 2 commits into from
Dec 5, 2022

Conversation

Tabrizian
Copy link
Member

No description provided.

krishung5
krishung5 previously approved these changes Dec 2, 2022
# PyTorch on SBSA requires libgomp to be loaded first. See the following
# GitHub issue for more information:
# https://github.com/pytorch/pytorch/issues/2575
if [ $TEST_REPO_ARCH = "arm_a100" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Tabrizian
I think there should be == sign for condition.
Also wondering if we can compare against HOSTTYPE or uname -m result instead of using NV value?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the variable name. Both = and == will compare the equality. See below for more info:

https://unix.stackexchange.com/a/72042/322680

@Tabrizian Tabrizian merged commit fa18c45 into main Dec 5, 2022
mc-nv pushed a commit that referenced this pull request Dec 5, 2022
* Add LD_PRELOAD for sequence batcher/infer tests

* Review edit
mc-nv pushed a commit that referenced this pull request Dec 5, 2022
* Add LD_PRELOAD for sequence batcher/infer tests

* Review edit
@Tabrizian Tabrizian deleted the imant-ld branch December 5, 2022 18:16
mc-nv pushed a commit that referenced this pull request Dec 5, 2022
* Add LD_PRELOAD for sequence batcher/infer tests

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

Successfully merging this pull request may close these issues.

3 participants