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 stable diffusion support on INF2 (#683) #689

Merged
merged 1 commit into from
May 5, 2023

Conversation

lanking520
Copy link
Contributor

port the Stable Diffusion support to INF2 release on 0.22.1

@lanking520 lanking520 requested review from zachgk, frankfliu and a team as code owners May 5, 2023 01:21
engines/python/setup/djl_python/transformers-neuronx.py Outdated Show resolved Hide resolved
logging.info(memory_usage)
for memory in memory_usage:
assert float(memory) / 1024.0 < spec["max_memory_per_gpu"]
if "max_memory_per_gpu" in spec:
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we capture neuron memory usage?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not in 0.22.1

@lanking520 lanking520 merged commit 34344cf into deepjavalibrary:0.22.1-dlc May 5, 2023
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