-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission Issue with installation. #1983
Labels
Comments
Sorry we don't have Windows environment to test the installation. The benchmark suite assumes Linux only, and support on Windows/MacOS is maintained by the community. |
Yes, I was able to get past this on Linux. There's some issue on Windows that needs to be debugged. I'll keep this open for now. |
aaron-boxer
added a commit
to aaron-boxer/benchmark
that referenced
this issue
Apr 20, 2024
Windows has a permissions issue when trying to delete file from Temp directory. Solution is to skip removal on Windows. Users can run Disk Cleanup utility to clean up Temp files. Fixes pytorch#1983
aaron-boxer
added a commit
to aaron-boxer/benchmark
that referenced
this issue
Apr 20, 2024
Windows has a permissions issue when trying to delete file from Temp directory. Solution is to skip removal on Windows. Users can run Disk Cleanup utility to clean up Temp files. Fixes pytorch#1983
aaron-boxer
added a commit
to aaron-boxer/benchmark
that referenced
this issue
Apr 29, 2024
Windows has a permissions issue when trying to delete file from Temp directory. Solution is to skip removal on Windows. Users can run Disk Cleanup utility to clean up Temp files. Fixes pytorch#1983
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(python310) C:\Users\prs\work_projects\pytorch_benchmark>python install.py models phi_1_5
checking packages torch, torchvision, torchaudio are installed...OK
running setup for C:\Users\prs\work_projects\pytorch_benchmark\torchbenchmark\models\phi_1_5...Traceback (most recent call last):
File "C:\Users\prs\work_projects\pytorch_benchmark\install.py", line 60, in
success &= setup(models=args.models, verbose=args.verbose, continue_on_fail=args.continue_on_fail, test_mode=args.test_mode, allow_canary=args.canary)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prs\work_projects\pytorch_benchmark\torchbenchmark_init_.py", line 153, in setup
success, errmsg, stdout_stderr = install_deps(model_path, verbose=verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prs\work_projects\pytorch_benchmark\torchbenchmark_init.py", line 99, in _install_deps
os.remove(stdout_fpath)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\prs\AppData\Local\Temp\tmpu2dkrtmn'
The text was updated successfully, but these errors were encountered: