Steve McClain

Results 13 comments of Steve McClain

We switched from FastAPI to Starlette (since we've completely migrated to GraphQL via Ariadne), and just hit this issue as the 307 Redirect caused our web-app build to crash. Took...

I'll be really embarrassed if I've made a silly mistake here, but I don't see a directory called `generate` in [that branch](https://github.com/OFA-Sys/OFA/tree/feature/add_transformers): ![image](https://user-images.githubusercontent.com/85196623/184274467-cb13d5dd-b570-429e-bfac-ce6b5908d0c7.png)

Excellent, thank you both for the quick help. I never would have found it otherwise. I have gotten the import to work by adding `/path/to/OFA/transformers/src/transformers/models/ofa` to my python path. Perhaps...

Hi @Sultanax, sure. I did two things: 1. Added an empty `__init__.py` file in `transformers/src/transformers/models/ofa/generate/__init__.py` 2. Changed the import to be `from transformers.models.ofa.generate import sequence_generator` **Note:** you will need to...

Thanks for adding these, I see that you've uploaded the finetuned checkpoints for the Base size ![image](https://user-images.githubusercontent.com/85196623/184465519-70e77b05-159f-4361-a6c9-79f0ea21eaa6.png) Do you plan to upload the fine-tuned checkpoints [for the Large and Huge](https://github.com/OFA-Sys/OFA/blob/main/checkpoints.md#finetuning-ofa-huge)...

Is it possible to load the finetuned checkpoints using the huggingface model definition (e.g. `from transformers import OFAModel`)? The [uploaded files](https://huggingface.co/OFA-Sys/OFA-base-caption/tree/main) only include the model checkpoint, not the model config....

Hi @trungleduc , thank you for the quick response! I am happy to provide any debugging info that you think would be useful. I just did a rudimentary test by...

Thank you so much for commenting @vidartf ! I was able to apply the patch you proposed [here](https://github.com/jupyterlab/jupyterlab/issues/11934#issuecomment-1185720640) to the voila source code [here](https://github.com/voila-dashboards/voila/blob/main/voila/app.py#L637), and I am no longer seeing...

After upgrading from `[email protected]` to `[email protected]` I am getting the memory error again: ``` FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory ``` This is...

Thanks very much for the quick response @younesbelkada ! I just tested again to make sure, and am still seeing the issue even on the `main` branch of `transformers` (I...