diff --git a/dev_assets/rented exclusive keys b/dev_assets/rented exclusive keys index 5932b64..f795c07 100644 --- a/dev_assets/rented exclusive keys +++ b/dev_assets/rented exclusive keys @@ -1,37 +1,37 @@ { - "inet_up_billed": "NoneType", - "inet_down_billed": "NoneType", + "inet_up_billed": "float", // MB downloaded in the lifetime of the instance with 20 gb added + "inet_down_billed": "float", // MB uploaded in the lifetime of the instance with a few hundred mb added "credit_balance": "NoneType", "credit_discount": "NoneType", - "host_run_time": "float", - "client_run_time": "float", - "gpu_totalram": "int", - "ssh_idx": "str", - "ssh_host": "str", - "ssh_port": "int", - "actual_status": "NoneType", - "intended_status": "str", + "host_run_time": "float", // always 2592000 which is 30 unix days + "client_run_time": "float", // always 1.1 + "gpu_totalram": "int", // vram of all gpus combined + "ssh_idx": "str", // id of the ssh proxy, sshN.vast.ai + "ssh_host": "str", // ssh proxy hostname + "ssh_port": "int", // ssh proxy port + "actual_status": "str", // exited or running + "intended_status": "str", // "running" if the machine is started or "stopped" "cur_state": "str", "next_state": "str", "template_hash_id": "str", - "image_uuid": "str", + "image_uuid": "str", // the docker image that runs on the instance "image_args": "list", - "image_runtype": "str", - "extra_env": "list", - "onstart": "str", - "label": "NoneType", + "image_runtype": "str", // "ssh" if has ssh, "ssh_direc" if can connect directly, "ssh_proxy" if can connect via proxy. other types probably exist + "extra_env": "list", // docker arguments and environment variables, set in iamge config + "onstart": "str", // script that runs on start, set in iamge config + "label": "NoneType", // label set by user "jupyter_token": "str", - "status_msg": "NoneType", - "gpu_util": "NoneType", - "disk_util": "int", - "disk_usage": "int", - "gpu_temp": "NoneType", - "local_ipaddrs": "str", - "direct_port_end": "int", - "direct_port_start": "int", - "cpu_util": "float", - "mem_usage": "NoneType", - "mem_limit": "NoneType", - "vmem_usage": "NoneType", - "machine_dir_ssh_port": "int" + "status_msg": "str", // status but longer + "gpu_util": "float", // 0 - 100 + "disk_util": "float", // disk GB used + "disk_usage": "float", // same as above? + "gpu_temp": "float", // gpu temperature in celsius + "local_ipaddrs": "str", // local ip addresses? I think if you have another instance on the same machine you can use it. separated with spaces and often ends with \n + "direct_port_end": "int", // highest port number assigned to instance + "direct_port_start": "int", // lowest port number assigned to instance + "cpu_util": "float", // 0 - 100 + "mem_usage": "float", // GB of ram used + "mem_limit": "float", + "vmem_usage": "float", // GiB of vram used + "machine_dir_ssh_port": "int" // used to communicate with a stopped instance, to get data from it? } \ No newline at end of file diff --git a/dev_assets/rented.json b/dev_assets/rented.json index 4920cdb..877db72 100644 --- a/dev_assets/rented.json +++ b/dev_assets/rented.json @@ -136,4 +136,210 @@ "time_remaining_isbid": "", "internet_up_cost_per_tb": 0.1, "internet_down_cost_per_tb": 0.1 +}, + +{ + "instances": [ + { + "is_bid": false, + "inet_up_billed": 2447.36, + "inet_down_billed": 136192, + "external": false, + "webpage": null, + "logo": "/static/logos/vastai_small2.png", + "rentable": true, + "compute_cap": 860, + "credit_balance": null, + "credit_discount": null, + "credit_discount_max": 0.4, + "driver_version": "535.161.07", + "cuda_max_good": 12.2, + "machine_id": 20697, + "hosting_type": null, + "public_ipaddr": "198.51.100.194", + "geolocation": "Poland, PL", + "flops_per_dphtotal": 195.9744340481859, + "dlperf_per_dphtotal": 150.1174786976624, + "reliability2": 0.9941465, + "host_run_time": 1, + "client_run_time": 1, + "host_id": 78246, + "id": 11698439, + "bundle_id": 354359201, + "num_gpus": 1, + "total_flops": 12.386304, + "min_bid": 0.04933333, + "dph_base": 0.04933333333333333, + "dph_total": 0.06320367276557347, + "gpu_name": "RTX 3060", + "gpu_ram": 12288, + "gpu_totalram": 12288, + "vram_costperhour": 0.000005143528057094195, + "gpu_display_active": false, + "gpu_mem_bw": 313.2, + "bw_nvlink": 0, + "direct_port_count": 10, + "gpu_lanes": 4, + "pcie_bw": 3.1, + "pci_gen": 3, + "dlperf": 9.487976, + "cpu_name": "AMD Athlon 3000G with Radeon Vega Graphics", + "mobo_name": "B450 Gaming K4", + "cpu_ram": 32012, + "cpu_cores": 4, + "cpu_cores_effective": 2, + "gpu_frac": 0.5, + "has_avx": 1, + "disk_space": 9.986644391212897, + "disk_name": "ADATA SX8200PNP", + "disk_bw": 1446.8719999999998, + "inet_up": 412.1, + "inet_down": 411.7, + "start_date": 1722245891.158758, + "end_date": 1722416413, + "duration": 169075.1312777996, + "storage_cost": 1, + "inet_up_cost": 0.0087890625, + "inet_down_cost": 0.0087890625, + "storage_total_cost": 0.013870339432240135, + "os_version": "20.04", + "verification": "verified", + "static_ip": false, + "score": 141.80996241478587, + "cpu_arch": "amd64", + "ssh_idx": "4", + "ssh_host": "ssh4.vast.ai", + "ssh_port": 18438, + "actual_status": "running", + "intended_status": "running", + "cur_state": "running", + "next_state": "running", + "template_hash_id": "807e65d5d0248767c61fc09001eedcec", + "image_uuid": "pytorch/pytorch:latest", + "image_args": [], + "image_runtype": "ssh ssh_direc ssh_proxy", + "extra_env": [ + [ + "-p 8080:8080", + "1" + ], + [ + "-p 8081:8081", + "1" + ], + [ + "-p 8082:8082", + "1" + ], + [ + "-p 8083:8083", + "1" + ], + [ + "-p 8084:8084", + "1" + ], + [ + "JUPYTER_TYPE", + "lab" + ] + ], + "onstart": "", + "label": "g", + "jupyter_token": "0254c2230989f5aefc9c084d27d8879a9c4e2953aa4ad135058ac02e2cea65e8", + "status_msg": "success, running pytorch/pytorch_latest/ssh", + "gpu_util": 0, + "disk_util": 0.27399998903274536, + "disk_usage": 0.27399998903274536, + "gpu_temp": 35.999966, + "local_ipaddrs": "192.168.101.16 172.17.0.1 \n", + "direct_port_end": 1396, + "direct_port_start": 1383, + "cpu_util": 0, + "mem_usage": 0.02306048, + "mem_limit": 22.25078272, + "vmem_usage": 0.264648, + "machine_dir_ssh_port": 1399, + "search": { + "gpuCostPerHour": 0.04933333333333333, + "diskHour": 0.013870339432240135, + "totalHour": 0.06320367276557347, + "discountTotalHour": 0, + "discountedTotalPerHour": 0.06320367276557347 + }, + "instance": { + "gpuCostPerHour": 0.04933333333333333, + "diskHour": 0.013870339432240135, + "totalHour": 0.06320367276557347, + "discountTotalHour": 0, + "discountedTotalPerHour": 0 + }, + "time_remaining": "Unlimited", + "time_remaining_isbid": "Unlimited", + "internet_up_cost_per_tb": 9, + "internet_down_cost_per_tb": 9, + "ports": { + "22/tcp": [ + { + "HostIp": "0.0.0.0", + "HostPort": "1384" + }, + { + "HostIp": "::", + "HostPort": "1384" + } + ], + "8080/tcp": [ + { + "HostIp": "0.0.0.0", + "HostPort": "1396" + }, + { + "HostIp": "::", + "HostPort": "1396" + } + ], + "8081/tcp": [ + { + "HostIp": "0.0.0.0", + "HostPort": "1389" + }, + { + "HostIp": "::", + "HostPort": "1389" + } + ], + "8082/tcp": [ + { + "HostIp": "0.0.0.0", + "HostPort": "1393" + }, + { + "HostIp": "::", + "HostPort": "1393" + } + ], + "8083/tcp": [ + { + "HostIp": "0.0.0.0", + "HostPort": "1388" + }, + { + "HostIp": "::", + "HostPort": "1388" + } + ], + "8084/tcp": [ + { + "HostIp": "0.0.0.0", + "HostPort": "1383" + }, + { + "HostIp": "::", + "HostPort": "1383" + } + ] + } + } + ] } \ No newline at end of file