Joshua Lochner

Results 63 issues of Joshua Lochner
trafficstars

# What does this PR do? Fixes # (issue) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks...

# What does this PR do? This PR adds 2 new variants for SAM: one with `input_boxes` (and no `input_points`) and one with both `input_points` and `input_boxes`. Fixes # (issue)...

# What does this PR do? As title says :) Fixes # (issue) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can...

### Feature request Musicgen was recently added to 🤗 Transformers ([model doc](https://huggingface.co/docs/transformers/model_doc/musicgen)) and it would be great to be able to export those models to ONNX with Optimum. ### Motivation...

feature-request
onnx

# What does this PR do? Fixes # (issue) @fxmarty I couldn't find a tiny model to test with - once we have that, this should be ready to merge...

# What does this PR do? Not sure if this is actually needed, since DiT uses the same architecture as BeiT, but it adds it to the list 👍 Fixes...

# What does this PR do? This PR adds support for exporting SigLIP models to ONNX. WIP for [this issue](https://github.com/xenova/transformers.js/issues/430). ## Before submitting - [ ] This PR fixes a...

# What does this PR do? As title says :) I haven't added a test yet, since I couldn't find a tiny random model on the HF hub. Fixes #...

# What does this PR do? As title says. Should be good to go since it's just a clone of the CLIP exporter. Fixes # (issue) ## Before submitting -...

# What does this PR do? Two things need to be updated in transformers: 1. Fix casting [here](https://github.com/huggingface/transformers/blob/fa21ead73db473d88f8eca1ec244aba776fd9047/src/transformers/models/clipseg/modeling_clipseg.py#L1290), [here](https://github.com/huggingface/transformers/blob/fa21ead73db473d88f8eca1ec244aba776fd9047/src/transformers/models/clipseg/modeling_clipseg.py#L199), and [here](https://github.com/huggingface/transformers/blob/fa21ead73db473d88f8eca1ec244aba776fd9047/src/transformers/models/clipseg/modeling_clipseg.py#L175) 2. Add the following line [here](https://github.com/huggingface/transformers/blob/fa21ead73db473d88f8eca1ec244aba776fd9047/src/transformers/models/auto/modeling_auto.py#L549): ```py ("clipseg", "CLIPSegForImageSegmentation"),...