Integrate code for TensorFlow inference and dynamically load model from URL#163
Conversation
|
Hi @toufikshit
|
|
Some comments for discussion tomorrow:
|
…suggested the URL download and Caching worked
Is it ready for testing? |
|
@toufikshit Are there specific things I should look into in this PR or do we need to discuss anything? Or is it ready to be merged from your side? |
|
Not that I’m aware of. I think it’s ready to be merged. It would be better to test it on Windows/Linux or on your local machine to confirm. I tested it in an HPC environment. |
There was a problem hiding this comment.
these files should not be deleted here!
|
...maybe it is best now to go back to the last working commit locally, do some small reasonable changes and then do a "force push" to change the commit history of the branch in this PR |
d9e7d0b to
ca6ddb0
Compare
|
Done! @jpolz Please note that the version of the branch you have is maybe now out of sync with the branch here in the PR because the force push removed the last commit that you were using. @toufikshit will now manually add back some of his updates. |
|
Unused imports were removed and the requirements.txt was updated. The GPU issue still; on Christian’s machine, my local setup, HPC and on Google Colab the code runs. The failure on Julius’s local envrionment and HPC environment appears to be due to an incompatibility or misconfiguration in the CUDA/cuDNN setup, this could be dealt with in an other pull request, I think we merge for now. |
Can you give proper instructions on how to install everything? there are cudnn compatibility issues with newer versions that you get when doing this: I get cudnn version 9 and this model only runs with version 8 |
Just to know for the future. Is this a common problem that "older" models will not run with newer cudnn versions? How long till we run into the same problem which led to removing all tensorflow models in #151? |
I have no clue. |
jpolz
left a comment
There was a problem hiding this comment.
ready to merge from my point of view
|
! pip install 'tensorflow[and-cuda]' TF version: 2.20.0 |
|
I read about compiled version with XLA and without, maybe this is the cause here because apparently it runs with cudnn v9 for @toufikshit Anyway, we can merge it, but it seems we will get a problem with this at some point in the future. Can we merge now? Please add a 👍 |
|
TF version: 2.19.0 this is the default version on google colab and it runs. |
I was not able to install this combination with conda on our hpc |
add it a functions of inference, reshaping, sequencing , cleaning , model loading , and predciton storing using Tensorflow
This PR is the equivalent to #164, just for TensorFlow