Comments (5)
Hi @qrsssh , thanks for the issue!
Could you please provide your environment versions of transformers, optimum?
Has behavior changed? What was the last working version?
You can use:
transformers-cli env
from transformers.
Hi @qrsssh - those models are not officially supported by Optimum (or transformers), but you should be able to get it done by specifying a custom Optimum config. Check out https://huggingface.co/docs/optimum/en/exporters/onnx/usage_guides/export_a_model#customize-the-export-of-transformers-models-with-custom-modeling for more information.
from transformers.
transformers-cli env
thanks for your response
transformers
version: 4.40.2- Platform: Linux-5.4.54-1.0.0.std7c.el7.2.x86_64-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.23.0
- Safetensors version: 0.4.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in script?:
- Using distributed or parallel set-up in script?:
from transformers.
those models are not officially supported by Optimum (or transformers), but you should be able to get it done by specifying a custom Optimum config. Check out
thans your replay
Hi @qrsssh , thanks for the issue!
Could you please provide your environment versions of transformers, optimum? Has behavior changed? What was the last working version?
You can use:
transformers-cli env
addd other version
nltk==3.8.1
numexpr==2.8.4
numpy==1.26.4
onnx==1.16.0
onnxruntime==1.17.3
onnxruntime-gpu==1.14.1
openapi-schema-pydantic==1.2.4
opencv-python==4.9.0.80
opencv-python-headless==4.9.0.80
optimum==1.19.2
from transformers.
Hi @qrsssh - those models are not officially supported by Optimum (or transformers), but you should be able to get it done by specifying a custom Optimum config. Check out https://huggingface.co/docs/optimum/en/exporters/onnx/usage_guides/export_a_model#customize-the-export-of-transformers-models-with-custom-modeling for more information.
thanks your response, I'm trying use customize-the-export-of-transformers-models-with-custom-modeling method
from transformers.
Related Issues (20)
- `pip install accelerate` (and similar) error messages should specify min version HOT 1
- Incorrect docstring of `get_anyres_image_grid_shape` HOT 4
- Correct way to output attentions in BERT Model HOT 1
- SPAM
- `self.projection` is unnecessarily called twice in `VivitTubeletEmbeddings` HOT 1
- Unable to export Phi-3-vision model to PyTorch exported program HOT 1
- When max_steps < save_steps with deepspeed zero3 stage HOT 3
- New `save_strategy` option called "best" to save when a new best performance is achieved. HOT 1
- Tokenizer discard data that exceed max_length HOT 3
- The behavior of the tokenizer loaded from GGUF file is incorrect. HOT 3
- `convert_wav2vec2_original_pytorch_checkpoint_to_pytorch.py` does not work due to weight norm key HOT 3
- Please reopen issue #30361
- No module named 'transformers.models.starcoder2' HOT 1
- Using batching with pipeline and transformers HOT 5
- return_dict in encodec is always set to True: HOT 2
- AutoTokenizer: Phi-3 drops spaces when decodes a token at a time HOT 1
- Skipping cudagraphs for unknown reason HOT 1
- Data Map Trainer Callback HOT 1
- CUDA OOM error when using Llama converted weights, but not repository weights
- "use_safetensors" not enforced with "local_files_only", loads bin file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transformers.