autotrain-advanced
autotrain-advanced copied to clipboard
[BUG] OSError: [Errno 22] Invalid argument: '/proc/63/task/63/net'
Prerequisites
- [X] I have read the documentation.
- [X] I have checked other issues for similar problems.
Backend
Local
Interface Used
CLI
CLI Command
! autotrain spacerunner
--project-name custom_autotrain_spacerunner
--script-path /
--username $USER_NAME
--token $HF_TOKEN
--backend spaces-a10gl
--args padding=right
UI Screenshots & Parameters
No response
Error Logs
INFO | 2024-05-04 23:47:32 | autotrain.trainers.generic.utils:create_dataset_repo:11 - Creating dataset repo...
INFO | 2024-05-04 23:47:33 | autotrain.trainers.generic.utils:create_dataset_repo:19 - Uploading dataset...
Traceback (most recent call last):
File "/usr/local/bin/autotrain", line 8, in
Additional Information
Also when I try this command
autotrain spacerunner
--project-name custom_llama_training
--script-path /path/to/script/py/
--username abhishek
--token $HF_WRITE_TOKEN
--backend spaces-a10gl
--args padding=right;push_to_hub
--env TOKENIZERS_PARALLELISM=false;TRANSFORMERS_VERBOSITY=error
I get no such option present push_to_hub
Kindly provide fix
--script-path /
is your script inside /
can you provide full path for this arg?
--script-path should be the path to folder that has script.py (and other things that you want to upload)
@abhishekkrthakur yes the script.py is under / folder
the command will then attempt to upload everything inside /. this is not recommended. please move the script and other files you want to upload together with script to their own individual folder and try again.
Thank you for pointing this. ill add a note in help/docs.
@abhishekkrthakur Thank you for that worked after moving script under different folder. However is spacerunner a paid module because next I get this issue
raise HfHubHTTPError(str(e), response=response) from e
huggingface_hub.utils._errors.HfHubHTTPError: 402 Client Error: Payment Required for url: https://huggingface.co/api/repos/create (Request ID: Root=1-66395084-7787facd15dabf7776da68f9;8d208450-39f4-4279-9710-a1e5e03f4d83)
You must add a payment method to your account to use paid hardware on Spaces. Visit your billing settings to add one: https://huggingface.co/settings/billing
yes. its a paid service when you use paid hardware: spaces-a10gl. you can use spaces-cpuf which is free.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 20 days since being marked as stale.