Inf2 compilation outside of Inf2 instances (i.e. within CPU-only docker instances)



One big difference I've noticed between the inf1 and inf2 development experience is that with inf2, we are not able to compile models outside of inf2 instances (unlike inf1 where we were able to compile on a separate CPU-only instance). This definitely dampens the development experience as we're able to develop most of the model compilation toolchain locally without having to provision the remote inf instances for compilation purposes.

Am I missing something here, or are folks going through a similar challenge of developing the compilation workflows only on their inf2 instances?

demandé il y a 10 mois292 vues
2 réponses

With inf1 instances, you were indeed able to compile models outside of inf1 instances, which made the development and deployment process more flexible. This allowed developers to test and refine their models on CPU-based machines before deploying on the inf1 instances.

However, as AWS iterates and improves its services, there may be changes in workflow or capabilities. The restrictions on inf2 instances you mentioned could be a part of these changes, which could be due to various reasons ranging from technical requirements, performance optimization, security considerations, or other factors.

profile picture
répondu il y a 10 mois

Check out - this should work on a CPU instance, though you will need to install all the components (including the runtime-lib) on your instance for the installation to work correctly.

répondu il y a 4 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions