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
Use Singularity for SonicTriton examples #11
Comments
tested on ucsd machine at least for tritonserver-20.06-v1-py3-geometric, I was still getting errors. running with: [error] And the server isn't running properly when I check with curl. |
@mialiu149 |
@mialiu149 are you testing it from a remote machine or on that same machine? It looks like it's bound to 0.0.0.0 rather than an external-facing ip. |
so the log says that server is running, and also checked with singularity. if I check with curl:
< HTTP/1.1 400 Bad Request
running a local client now also throws errors: |
Ah!
For testing with the python scripts you want to use |
Buttt, the v1 would work with cmssw?
…On Thu, Sep 17, 2020 at 12:01 PM Lindsey Gray ***@***.***> wrote:
Ah!
tritonserver-20.06-v1-py3-geometric is the triton version 1 API, the
tests are in the version 2 API.
This is the tritonserver-geometric image you want to use for interacting
with CMSSW.
You want to use tritonserver-20.06-py3-geometric, which has the triton
api V2 server.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXRBMFPJOS4SBYOF5WUGV3SGIXHDANCNFSM4RMCGD7A>
.
|
Ah. Yes. I will try from another machine with cmssw
…On Thu, Sep 17, 2020 at 3:23 PM Mia Liu ***@***.***> wrote:
Buttt, the v1 would work with cmssw?
On Thu, Sep 17, 2020 at 12:01 PM Lindsey Gray ***@***.***>
wrote:
>
>
> Ah!
>
>
> tritonserver-20.06-v1-py3-geometric is the triton version 1 API, the
> tests are in the version 2 API.
>
>
> This is the tritonserver-geometric image you want to use for interacting
> with CMSSW.
>
>
> You want to use tritonserver-20.06-py3-geometric, which has the triton
> api V2 server.
>
>
>
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#11 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABXRBMFPJOS4SBYOF5WUGV3SGIXHDANCNFSM4RMCGD7A>
> .
>
>
>
|
Sorry, but then why does the server check was unhealthy with curl?
…On Thu, Sep 17, 2020 at 3:24 PM Mia Liu ***@***.***> wrote:
Ah. Yes. I will try from another machine with cmssw
On Thu, Sep 17, 2020 at 3:23 PM Mia Liu ***@***.***> wrote:
> Buttt, the v1 would work with cmssw?
>
> On Thu, Sep 17, 2020 at 12:01 PM Lindsey Gray ***@***.***>
> wrote:
>
>>
>>
>> Ah!
>>
>>
>> tritonserver-20.06-v1-py3-geometric is the triton version 1 API, the
>> tests are in the version 2 API.
>>
>>
>> This is the tritonserver-geometric image you want to use for interacting
>> with CMSSW.
>>
>>
>> You want to use tritonserver-20.06-py3-geometric, which has the triton
>> api V2 server.
>>
>>
>>
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub
>> <#11 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/ABXRBMFPJOS4SBYOF5WUGV3SGIXHDANCNFSM4RMCGD7A>
>> .
>>
>>
>>
>
>
|
The first try it's attempting to establish a connection with ipv6, that fails since it's not bound, and then it tried ipv4 and succeeds. |
And yeah, do python tests with |
worked with CMSSW from a remote client. not sure why does the server check was unhealthy with curl. |
@mialiu149 it's succeeding but on the second try if you look at the logs you posted, for some reason it's trying an ipv6 address first (which isn't bound) which fails and then it tries 127.0.0.1:8000 and succeeds. |
Try it again with |
Progress on this issue:
@lgray @mialiu149 let me know if you have any feedback before I submit the PR. The cmslpcgpu nodes are a good place to test both CPU and GPU modes (CPU mode can't be tested on normal cmslpc, because the AMD Opterons don't support AVX). |
See: cms-sw/cmssw#31616 |
Now merged. |
Currently, the SonicTriton examples in HeterogeneousCore/SonicTriton/test require Docker for standalone use (setting up a local server). Because Docker require superuser permission on Linux, it's preferable to use a Singularity container. An example of building a Singularity container for Triton can be found at lgray/triton-torchgeo-gat-example.
Assigned to: @kpedro88, @lgray
The text was updated successfully, but these errors were encountered: