maxclaey

Results 7 comments of maxclaey

@ArtyZe How did you manage to export to ONNX model? When I try to export to onnx, I get `RuntimeError: No Op registered for Plugin with domain_version of 9` Thanks...

After digging some deeper I found that this issue can be avoided by replacing line 11 of `src/cuda/dcn_v2_cuda.cu` ``` THCState *state = at::globalContext().lazyInitCUDA(); ``` by ``` extern THCState *state; ```...

Another solution, inspired by https://github.com/pytorch/pytorch/pull/11893/files, is to remove the same line and delaying the `lazyInitCUDA` to the start of `dcn_v2_cuda_forward` and `dcn_v2_cuda_backward` where the state is actually used.

Hi @Colin-b, thanks a lot for the reply! In agree that the synchronous request should occur too frequently. However, it gave some issues for me in a project I'm currently...

Ok, cool! Again, thanks in advance, and let me know if I could be of any help!

Hi all! I'm facing the same issue as well using the httpx AsyncClient for testing: ```python import asyncio from typing import Optional from uuid import UUID from fastapi import FastAPI,...

I proposed a pull request here trying to differentiate between None and not specified: https://github.com/fastapi/fastapi/pull/12502