@nosana/node 1.0.6 → 1.0.7-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json
CHANGED
|
@@ -97,7 +97,6 @@ export class SpecsHandler {
|
|
|
97
97
|
processSystemInfoBenchmark(logs) {
|
|
98
98
|
if (!logs[0])
|
|
99
99
|
throw new Error('Could not find system info logs');
|
|
100
|
-
console.log('System Info Logs:', logs);
|
|
101
100
|
const { system_environment, cpu_model: model, logical_cores, physical_cores, ram_mb, disk_gb, } = this.parseLogsIntoJSON(logs);
|
|
102
101
|
if (configs().minDiskSpace > disk_gb) {
|
|
103
102
|
throw new Error(`Node does not have enough disk space. Required: ${configs().minDiskSpace}GB, Available: ${disk_gb}GB`);
|
|
@@ -116,7 +115,6 @@ export class SpecsHandler {
|
|
|
116
115
|
processNetworkInfoBenchmark(logs) {
|
|
117
116
|
if (!logs[0])
|
|
118
117
|
throw new Error('Could not find network info logs');
|
|
119
|
-
console.log('Network Info Logs:', logs);
|
|
120
118
|
const { country, ip, ping_ms, download_mbps, upload_mbps } = this.parseLogsIntoJSON(logs);
|
|
121
119
|
this.repository.updateNodeInfo({
|
|
122
120
|
country,
|
|
@@ -131,7 +129,6 @@ export class SpecsHandler {
|
|
|
131
129
|
processGPUInfoBenchmark(logs) {
|
|
132
130
|
if (!logs[0])
|
|
133
131
|
throw new Error('Could not find GPU info logs');
|
|
134
|
-
console.log('GPU Info Logs:', logs);
|
|
135
132
|
const results = this.parseLogsIntoJSON(logs);
|
|
136
133
|
this.repository.updateNodeInfo({ gpus: results });
|
|
137
134
|
}
|
package/dist/src/NodeManager/provider/containerOrchestration/docker/createDockerRunOptions.js
CHANGED
|
@@ -16,7 +16,7 @@ export function createDockerRunOptions(image, { name, cmd, gpu, volumes, env, wo
|
|
|
16
16
|
devices.push({
|
|
17
17
|
...(gpuOption === 'all'
|
|
18
18
|
? { Count: -1 }
|
|
19
|
-
: {
|
|
19
|
+
: { DeviceIDs: gpuOption.split(',') }),
|
|
20
20
|
Driver: 'nvidia',
|
|
21
21
|
Capabilities: [['gpu']],
|
|
22
22
|
});
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nosana/node",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7-rc",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@nosana/node",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.7-rc",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@coral-xyz/anchor": "^0.28.1-beta.1",
|