If you leave off the git revision, you can still pull in the latest torch build from intel. If you don't do this, intel users will have the install process fail due to new/different versions of pytorch intel pushes.
Title: Implement Duplicate Extension Check in install_extensions() Function
Description:
In this change, I have added functionality to the install_extensions() function in order to check for and log any duplicate extensions found across both the built-in and custom extensions directories.
This addition provides a level of error checking and prevents potential conflicts between extensions with the same name located in different directories. The function now maintains a dictionary of all encountered extensions, and logs any duplicates in a single line, separated by commas, at the end of the function execution.
This enhancement can help in debugging issues related to extension installations, such as unexpected behavior, crashes, or incorrect data being returned. By providing visibility into duplicate extensions, developers can more quickly identify and resolve these issues, resulting in a more robust and reliable application.
Moreover, logging duplicate extensions can be an important step in maintaining extension hygiene and ensuring the correct loading and running of extensions. This may be particularly helpful in environments with a large number of extensions or frequent updates and changes to extensions.
This change does not affect the existing functionality of installing and updating extensions. It remains fully backward-compatible with previous code and usage patterns.