dotnet / dotnet/machinelearning-modelbuilder

Unable to Install Torch Runtime to train with VOTT in VS2022 while in admin mode

Open
#2,774 4 comments 0 reactions 0 assignees View on GitHub
Stale
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**System Information (please complete the following information):**
- Model Builder Version (available in Manage Extensions dialog): 17.17.0.2332602
- Visual Studio Version 2022 17.8.0 Preview 2.0

**Describe the bug**
- On which step of the process did you run into an issue: While clicking "Train" button post selecting VOTT JSON file issue comes.
- Clear description of the problem: On clicking "Train" button, VS2022 throws "Torch runtime cannot be installed when Visual Studio is an elevated 'Admin' mode. Please use Model Builder from a non-elevated Visual Studio.". Running non elevated VS is not possible because my user id is part of admin role. There is no way to start VS in non admin mode. Only way is to create a non admin user which is prohibited in most corporate environments.

**To Reproduce**
Steps to reproduce the behavior:
1. Make your current user id part of Administrator and use ML.NET and start Train session.

**Expected behavior**
A clear and concise description of what you expected to happen.
-Training to be completed and go to "Evaluate" section.

**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://github.com/dotnet/machinelearning-modelbuilder/assets/4756516/9b30653f-0a03-46a2-ae5b-ade772ee6c46)

**Additional context**
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.