exasol / transformers-extension

An Exasol extension for using state-of-the-art pretrained machine learning models via the Hugging Face Transformers API.
MIT License
2 stars 2 forks source link

Error deploying language container under Windows #166

Closed ugamarkj closed 6 months ago

ugamarkj commented 8 months ago

When attempting to deploy the language container, I get this error. It appears that the statement isn't actually being run when looking at the DB logs.

image

tkilias commented 7 months ago

Hi @ugamarkj ,

Thanks for reporting the issue, this looks like an issue in the Exasol DB itself. I think, the issue, that it is using \ instead of / in your paths. How did you call the language container deployer?

ugamarkj commented 7 months ago

This is the command I executed (with actual values between ): python -m exasol_transformers_extension.deploy language-container --dsn <host>:8563 --db-user <user> --db-pass <pw> --bucketfs-name bucketfs1 --bucketfs-host <host> --bucketfs-port 8080 --bucketfs-user w --bucketfs-password <pw> --bucketfs-use-https false --bucket transformers --path-in-bucket models --language-alias transformers --version 0.5.0

tkilias commented 7 months ago

I think, I found the issue, but I can't really test it, because I don't have a Windows machine available. I created a wheel with the fix and attached it to this comment. Maybe, you could try it out. exasol_transformers_extension-0.9.0-py3-none-any.zip You need to extract the wheel from the zip file.

Please be aware that the deployed language container should be compatible with the deployed scripts. For that reason, we are recommending to upload the language container for the same version as the installed wheel.

tkilias commented 7 months ago

Hi @ugamarkj , did you have the chance to test the fixed version, I attached to the previous comment?