|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<title>Model Configuration Explorer</title> |
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
|
<link rel="stylesheet" href="{{ base_url }}static/css/styles.css"> |
|
</head> |
|
<body> |
|
<div class="container"> |
|
|
|
<section class="search-section"> |
|
<h1>Neuron Compiled Model Cache</h1> |
|
<p>The Neuron Model Cache is hosted on the Hugging Face Hub and includes compiled files for all popular and supported optimum-neuron pre-trained models. Enter a model ID below to check if a compiled version exists for this architecture.</p> |
|
<div class="search-box"> |
|
<input type="text" id="modelIdSearch" placeholder="Enter Model ID (e.g., MODEL123)"> |
|
<button id="searchButton"><i class="fas fa-search"></i> Search</button> |
|
</div> |
|
</section> |
|
|
|
|
|
<section class="model-grid-section"> |
|
<div class="section-header"> |
|
<h2><i class="fas fa-list"></i> Available Models</h2> |
|
</div> |
|
<p class="section-subtitle" style="margin-bottom: 20px;">Click on any model to view the existing configurations for which a compiled version exists.</p> |
|
|
|
<div id="modelGrid" class="model-grid"> |
|
|
|
</div> |
|
|
|
<div id="loadingModels" class="spinner"></div> |
|
|
|
<div class="pagination"> |
|
<button id="prevPage" disabled><i class="fas fa-chevron-left"></i> Previous</button> |
|
<span id="pageInfo">Page 1 of 1</span> |
|
<button id="nextPage" disabled>Next <i class="fas fa-chevron-right"></i></button> |
|
</div> |
|
</section> |
|
|
|
|
|
<section id="configSection" class="config-section"> |
|
<div class="config-header"> |
|
<h3 id="configModelTitle">Configurations for <span id="selectedModelId"></span></h3> |
|
<button id="closeConfig" class="close-btn"><i class="fas fa-times"></i></button> |
|
</div> |
|
|
|
<div id="configList" class="config-list"> |
|
|
|
</div> |
|
|
|
<div id="loadingConfig" class="spinner"></div> |
|
|
|
<div id="noConfig" class="empty-state"> |
|
<i class="far fa-folder-open"></i> |
|
<h4>No configurations found</h4> |
|
<p>This model has no saved configurations yet.</p> |
|
</div> |
|
</section> |
|
</div> |
|
|
|
<script src="{{ base_url }}static/js/main.js"></script> |
|
</body> |
|
</html> |