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

error during inferencing: Error: Constant embeddings_token_embedding_weight was not set! Set the value with set_constant. #968

Open
mengbingrock opened this issue Nov 9, 2023 · 2 comments

Comments

@mengbingrock
Copy link

mengbingrock commented Nov 9, 2023

Hi team,
Thank you for your nice work! I met the error during inference. Stable-diffusion 1.5 in sample file.

[11:48:42] model_container.cu:87: Init AITemplate Runtime with 1 concurrency
[11:48:42] model_container.cu:69: Device Runtime Version: 12010; Driver Version: 12000
[11:48:42] model_container.cu:83: Hardware accelerator device properties:
  Device:
     ASCII string identifying device: NVIDIA GeForce RTX 4090
     Major compute capability: 8
     Minor compute capability: 9
     UUID: GPU-c8774ba0-19af-65d7-012f-30748af968cb
     Unique identifier for a group of devices on the same multi-GPU board: 0
     PCI bus ID of the device: 164
     PCI device ID of the device: 0
     PCI domain ID of the device: 0
  Memory limits:
     Constant memory available on device in bytes: 65536
     Global memory available on device in bytes: 25393692672
     Size of L2 cache in bytes: 75497472
     Shared memory available per block in bytes: 49152
     Shared memory available per multiprocessor in bytes: 102400
[11:48:42] model_container.cu:87: Init AITemplate Runtime with 1 concurrency
[11:48:43] model_interface.cu:200: Error: Constant embeddings_token_embedding_weight was not set! Set the value with set_constant.
Traceback (most recent call last):

python3 scripts/demo.py --prompt "Mountain Rainier in van Gogh's world"
@kadeng
Copy link
Contributor

kadeng commented Nov 9, 2023

Thanks for your report, we will look into it.

@Maxwell777777
Copy link

Hi, I encountered the same error with Stable-diffusion 1.5 and A10, has it been resolved now? @kadeng

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

No branches or pull requests

3 participants