Adding ONNX file of this model

#16

Beep boop I am the ONNX export bot 🤖🏎️. On behalf of optowo, I would like to add to this repository the model converted to ONNX.

What is ONNX? It stands for "Open Neural Network Exchange", and is the most commonly used open standard for machine learning interoperability. You can find out more at onnx.ai!

The exported ONNX model can be then be consumed by various backends as TensorRT or TVM, or simply be used in a few lines with 🤗 Optimum through ONNX Runtime, check out how here!

@optowo did you duplicate the space onnx/export? When i did that i got runtime error.Initially I have tried to run the free tier but it was taking 8 hours + time , so decided to buy a subscription by duplicating the onnx/export space but it isn't running .
Here's is the logged error:
Runtime error
ning https://huggingface.co/datasets/optimum/exporters into local empty directory.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 686, in clone_from
run_subprocess(
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/subprocess.py", line 83, in run_subprocess
return subprocess.run(
File "/usr/local/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'lfs', 'clone', 'https://user:hf
**********************************@huggingface.co/datasets/optimum/exporters', '.']' returned non-zero exit status 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/user/app/app.py", line 21, in
repo = Repository(local_dir=DATADIR, clone_from=DATASET_REPO_URL, token=HF_TOKEN)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 132, in inner_f
return f(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 533, in init
self.clone_from(repo_url=clone_from)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 726, in clone_from
raise EnvironmentError(exc.stderr)
OSError: WARNING: git lfs clone is deprecated and will not be updated
with new flags from git clone

git clone has been updated in upstream Git to have comparable
speeds to git lfs clone.
Cloning into '.'...
remote: Repository not found
fatal: repository 'https://huggingface.co/datasets/optimum/exporters/' not found
Error(s) during clone:
git clone failed: exit status 128

Container logs:

===== Application Startup at 2024-04-08 12:02:01 =====

/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py:131: FutureWarning: 'Repository' (from 'huggingface_hub.repository') is deprecated and will be removed from version '1.0'. Please prefer the http-based alternatives instead. Given its large adoption in legacy code, the complete removal is only planned on next major release.
For more details, please read https://huggingface.co/docs/huggingface_hub/concepts/git_vs_http.
warnings.warn(warning_message, FutureWarning)
Cloning https://huggingface.co/datasets/optimum/exporters into local empty directory.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 686, in clone_from
run_subprocess(
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/subprocess.py", line 83, in run_subprocess
return subprocess.run(
File "/usr/local/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'lfs', 'clone', 'https://user:hf
**********************************@huggingface.co/datasets/optimum/exporters', '.']' returned non-zero exit status 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/user/app/app.py", line 21, in
repo = Repository(local_dir=DATADIR, clone_from=DATASET_REPO_URL, token=HF_TOKEN)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 132, in inner_f
return f(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 533, in init
self.clone_from(repo_url=clone_from)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 726, in clone_from
raise EnvironmentError(exc.stderr)
OSError: WARNING: git lfs clone is deprecated and will not be updated
with new flags from git clone

git clone has been updated in upstream Git to have comparable
speeds to git lfs clone.
Cloning into '.'...
remote: Repository not found
fatal: repository 'https://huggingface.co/datasets/optimum/exporters/' not found
Error(s) during clone:
git clone failed: exit status 128

@optowo did you duplicate the space onnx/export? When i did that i got runtime error.Initially I have tried to run the free tier but it was taking 8 hours + time , so decided to buy a subscription by duplicating the onnx/export space but it isn't running .
Here's is the logged error:
Runtime error
ning https://huggingface.co/datasets/optimum/exporters into local empty directory.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 686, in clone_from
run_subprocess(
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/subprocess.py", line 83, in run_subprocess
return subprocess.run(
File "/usr/local/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'lfs', 'clone', 'https://user:hf
**********************************@huggingface.co/datasets/optimum/exporters', '.']' returned non-zero exit status 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/user/app/app.py", line 21, in
repo = Repository(local_dir=DATADIR, clone_from=DATASET_REPO_URL, token=HF_TOKEN)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 132, in inner_f
return f(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 533, in init
self.clone_from(repo_url=clone_from)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 726, in clone_from
raise EnvironmentError(exc.stderr)
OSError: WARNING: git lfs clone is deprecated and will not be updated
with new flags from git clone

git clone has been updated in upstream Git to have comparable
speeds to git lfs clone.
Cloning into '.'...
remote: Repository not found
fatal: repository 'https://huggingface.co/datasets/optimum/exporters/' not found
Error(s) during clone:
git clone failed: exit status 128

Container logs:

===== Application Startup at 2024-04-08 12:02:01 =====

/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py:131: FutureWarning: 'Repository' (from 'huggingface_hub.repository') is deprecated and will be removed from version '1.0'. Please prefer the http-based alternatives instead. Given its large adoption in legacy code, the complete removal is only planned on next major release.
For more details, please read https://huggingface.co/docs/huggingface_hub/concepts/git_vs_http.
warnings.warn(warning_message, FutureWarning)
Cloning https://huggingface.co/datasets/optimum/exporters into local empty directory.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 686, in clone_from
run_subprocess(
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/subprocess.py", line 83, in run_subprocess
return subprocess.run(
File "/usr/local/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'lfs', 'clone', 'https://user:hf
**********************************@huggingface.co/datasets/optimum/exporters', '.']' returned non-zero exit status 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/user/app/app.py", line 21, in
repo = Repository(local_dir=DATADIR, clone_from=DATASET_REPO_URL, token=HF_TOKEN)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 132, in inner_f
return f(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 533, in init
self.clone_from(repo_url=clone_from)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 726, in clone_from
raise EnvironmentError(exc.stderr)
OSError: WARNING: git lfs clone is deprecated and will not be updated
with new flags from git clone

git clone has been updated in upstream Git to have comparable
speeds to git lfs clone.
Cloning into '.'...
remote: Repository not found
fatal: repository 'https://huggingface.co/datasets/optimum/exporters/' not found
Error(s) during clone:
git clone failed: exit status 128

Yesterday a conversion problem appeared. Today I copied the conversion space. Everything is working. Free plan

@optowo copied ,clone or duplicate? There is no option of copying this space ?

@optowo could you please direct me to the initial steps for using this space

@optowo could you please direct me to the initial steps for using this space

duplicate space

This comment has been hidden
This comment has been hidden
This comment has been hidden

@optowo is there any prerequisites?

I didn't have this error

This comment has been hidden
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment