-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upated to new version of the dashboard
- Loading branch information
1 parent
d20dd11
commit c19ffe3
Showing
857 changed files
with
101,200 additions
and
937 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,42 @@ | ||
# InferenceGraphPlotter | ||
# LLM Inference Bench Dashboard | ||
|
||
## How to run? | ||
1. Clone the repo and cd into the repo | ||
2. Spin up a simple webserver to serve the files. One way is by using python. | ||
- for python 2: python -m SimpleHTTPServer | ||
- for python 3: python -m http.server | ||
3. Open a webbrowser and go to http://localhost:8000 | ||
### Step 1: Install Node.js and npm | ||
1. Download Node.js: Go to Node.js official website and download the LTS version (recommended for most apps). | ||
2. Verify Installation: Open a terminal or command prompt and type the following | ||
``` | ||
node -v | ||
npm -v | ||
``` | ||
If installed correctly, these commands will display the Node.js and npm versions. | ||
|
||
### Step 2: Clone the App | ||
``` | ||
git clone <repository-url> | ||
cd <app-directory> | ||
``` | ||
### Step 3: Install Dependencies | ||
1. Inside the app directory, run the following to install the necessary packages: | ||
``` | ||
npm install | ||
``` | ||
2. This reads the package.json file and installs all dependencies listed there. | ||
### Step 4: Run the Application | ||
Common commands to start the app: | ||
|
||
``` | ||
npm start | ||
``` | ||
Or | ||
``` | ||
node index.js | ||
``` | ||
|
||
### Step 5: Verify the App is Running | ||
1. Open a browser and navigate to: | ||
``` | ||
http://localhost:3000 | ||
``` | ||
(Replace the port if the app uses a different one.) | ||
|
||
2. You should see the app running successfully. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
const express = require('express'); | ||
const app = express(); | ||
const PORT = process.env.PORT || 3000; | ||
|
||
// Serve static files from the 'public' folder | ||
app.use(express.static('public')); | ||
|
||
// Define routes | ||
app.get('/', (req, res) => { | ||
res.sendFile(__dirname + '/public/index.html'); | ||
}); | ||
|
||
// Start the server | ||
app.listen(PORT, () => { | ||
console.log(`Server is running on http://localhost:${PORT}`); | ||
}); |
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.