You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 6, 2023. It is now read-only.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Apr 24 2018 16:35:08 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
166
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Apr 25 2018 01:17:36 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Copy file name to clipboardExpand all lines: docs/jobs.html
+75-9Lines changed: 75 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1519,7 +1519,7 @@ <h6>Properties</h6>
1519
1519
1520
1520
1521
1521
1522
-
<tdclass="description last"><p>A required reference to a container name or container link to be used for the job.</p></td>
1522
+
<tdclass="description last"><p>A required reference to a docker image in a public or private docker registry, or a container name provided by Paperspace. Docker image repository references must be in lowercase and may include a tag and a hostname prefix followed by a slash; if ommitted the hostname defaults to that of the public Docker Hub registry. An example docker image reference: 'docker.io/mynamespace/myimage:mytag'. A container name may be mixed case. (Designated container names are currently only provided as part of various Gradient tutorials and samples.)</p></td>
1523
1523
</tr>
1524
1524
1525
1525
@@ -1552,7 +1552,7 @@ <h6>Properties</h6>
1552
1552
1553
1553
1554
1554
1555
-
<tdclass="description last"><p>An optional machine type to run the job on: either 'GPU+', 'P4000', 'P5000', 'P6000', 'V100', 'K80', or 'P100'.<p>Defaults to 'K80'. <P>Note: the 'K80'and 'P100' machineTypes run on Google Cloud Platform (GCP). The other machineTypes run on the Paperspace Cloud. Google Cloud platform and Paperspace Cloud have distict Job Storage spaces; Job storage is not currently shared between these two cloud environments.</p></td>
1555
+
<tdclass="description last"><p>An optional machine type to run the job on: either 'GPU+', 'P4000', 'P5000', 'P6000', 'V100', 'K80', 'P100', or 'TPU'.<p>Defaults to 'K80'. <P>Note: the 'K80', 'P100', and 'TPU' machineTypes run on Google Cloud Platform (GCP). The other machineTypes run on the Paperspace Cloud. Google Cloud platform and Paperspace Cloud have distict Job Storage spaces; Job storage is not currently shared between these two cloud environments.</p></td>
1556
1556
</tr>
1557
1557
1558
1558
@@ -1585,7 +1585,7 @@ <h6>Properties</h6>
1585
1585
1586
1586
1587
1587
1588
-
<tdclass="description last"><p>An optional name or description for this job. If ommitted, the job name defaults to 'job for project [projectname]'.</p></td>
1588
+
<tdclass="description last"><p>An optional name or description for this job. If ommitted, the job name defaults to 'job N' where N represents the Nth job instance for the given project.</p></td>
1589
1589
</tr>
1590
1590
1591
1591
@@ -1717,7 +1717,7 @@ <h6>Properties</h6>
1717
1717
1718
1718
1719
1719
1720
-
<tdclass="description last"><p>An optional path to a workspace, or link to a git repository to upload and merge with the container. If a zip file name is provided it is uploaded instead. If no workspace is provided the current directory is zipped up and transferred. If the workspace is 'none', no workspace is merged and the container is run as-is. To download a git repository provide an https repository link and prefix it with 'git+', e.g. 'git+https://github.com/MyProjects/MyRepo.git'. S3 links are also supported using the schema 's3://bucketname/objectname'.</p></td>
1720
+
<tdclass="description last"><p>An optional path to a workspace, or link to a git repository to upload and merge with the container. If a zip file name is provided it is uploaded instead. If no workspace is provided the current directory is zipped up and transferred. If the workspace is 'none', no workspace is merged and the container is run as-is. To download a git repository provide an https repository link and optionally prefix it with 'git+', e.g. 'https://github.com/MyProjects/MyRepo.git'. If the 'git+' prefix is not specified, it is added at the time of download to the job runner machine. S3 links are also supported using the schema 's3://bucketname/objectname'.</p></td>
<preclass="prettyprint"><code>$ paperspace jobs list --project "MyProject"</code></pre>
2360
+
<preclass="prettyprint"><code>$ paperspace jobs list --project "MyProject" --state Running --summary</code></pre>
2361
2361
2362
2362
<preclass="prettyprint"><code># HTTP request:
2363
2363
https://api.paperspace.io
@@ -2774,6 +2774,39 @@ <h6>Properties</h6>
2774
2774
2775
2775
2776
2776
2777
+
<tdclass="description last"><p>Optional dataset to match on</p></td>
2778
+
</tr>
2779
+
2780
+
2781
+
2782
+
<tr>
2783
+
2784
+
<tdclass="name"><code>dataset</code></td>
2785
+
2786
+
2787
+
<tdclass="type">
2788
+
2789
+
2790
+
<spanclass="param-type">string</span>
2791
+
2792
+
2793
+
2794
+
</td>
2795
+
2796
+
2797
+
<tdclass="attributes">
2798
+
2799
+
<optional><br>
2800
+
2801
+
2802
+
2803
+
2804
+
2805
+
</td>
2806
+
2807
+
2808
+
2809
+
2777
2810
<tdclass="description last"><p>Optional dataset to match on</p></td>
2778
2811
</tr>
2779
2812
@@ -2786,6 +2819,39 @@ <h6>Properties</h6>
2786
2819
2787
2820
2788
2821
2822
+
<tr>
2823
+
2824
+
<tdclass="name"><code>summary</code></td>
2825
+
2826
+
2827
+
<tdclass="type">
2828
+
2829
+
2830
+
<spanclass="param-type">boolean</span>
2831
+
2832
+
2833
+
2834
+
</td>
2835
+
2836
+
2837
+
<tdclass="attributes">
2838
+
2839
+
<optional><br>
2840
+
2841
+
2842
+
2843
+
2844
+
2845
+
</td>
2846
+
2847
+
2848
+
2849
+
2850
+
<tdclass="description last"><p>Optional (command line argument only). Format output as a summary table.</p></td>
2851
+
</tr>
2852
+
2853
+
2854
+
2789
2855
<tr>
2790
2856
2791
2857
<tdclass="name"><code>cb</code></td>
@@ -2936,7 +3002,7 @@ <h5>Examples</h5>
2936
3002
--jobId "j123abc"</code></pre>
2937
3003
2938
3004
<preclass="prettyprint"><code># HTTP request:
2939
-
https://api.paperspace.io
3005
+
https://logs.paperspace.io
2940
3006
GET /jobs/logs?jobId=j123abc
2941
3007
x-api-key: 1ba4f98e7c0...
2942
3008
# Returns 200 on success</code></pre>
@@ -4469,7 +4535,7 @@ <h5>Returns:</h5>
4469
4535
<brclass="clear">
4470
4536
4471
4537
<footer>
4472
-
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Apr 24 2018 16:35:08 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
4538
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Apr 25 2018 01:17:36 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Apr 24 2018 16:35:08 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
105
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Apr 25 2018 01:17:36 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Apr 24 2018 16:35:08 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
283
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Apr 25 2018 01:17:36 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Apr 24 2018 16:35:08 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
136
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Apr 25 2018 01:17:36 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Apr 24 2018 16:35:08 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
133
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Apr 25 2018 01:17:36 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
* @description Create a new Paperspace job, and tail its log output if run at the command line. To disable the tailing behavior specify '--tail false'. Note: if a project is not defined for the current working directory, and you are running in command line mode, a project configuration settings file will be created. Use '--init false' or specify '--project [projectname]' to override this behavior.
* @param {string} params.container - A required reference to a container name or container link to be used for the job.
63
-
* @param {string} [params.machineType] - An optional machine type to run the job on: either 'GPU+', 'P4000', 'P5000', 'P6000', 'V100', 'K80', or 'P100'.<p>Defaults to 'K80'. <P>Note: the 'K80'and 'P100' machineTypes run on Google Cloud Platform (GCP). The other machineTypes run on the Paperspace Cloud. Google Cloud platform and Paperspace Cloud have distict Job Storage spaces; Job storage is not currently shared between these two cloud environments.
64
-
* @param {string} [params.name] - An optional name or description for this job. If ommitted, the job name defaults to 'job for project [projectname]'.
62
+
* @param {string} params.container - A required reference to a docker image in a public or private docker registry, or a container name provided by Paperspace. Docker image repository references must be in lowercase and may include a tag and a hostname prefix followed by a slash; if ommitted the hostname defaults to that of the public Docker Hub registry. An example docker image reference: 'docker.io/mynamespace/myimage:mytag'. A container name may be mixed case. (Designated container names are currently only provided as part of various Gradient tutorials and samples.)
63
+
* @param {string} [params.machineType] - An optional machine type to run the job on: either 'GPU+', 'P4000', 'P5000', 'P6000', 'V100', 'K80', 'P100', or 'TPU'.<p>Defaults to 'K80'. <P>Note: the 'K80', 'P100', and 'TPU' machineTypes run on Google Cloud Platform (GCP). The other machineTypes run on the Paperspace Cloud. Google Cloud platform and Paperspace Cloud have distict Job Storage spaces; Job storage is not currently shared between these two cloud environments.
64
+
* @param {string} [params.name] - An optional name or description for this job. If ommitted, the job name defaults to 'job N' where N represents the Nth job instance for the given project.
65
65
* @param {string} [params.project] - The name of the project for this job. If not provided, this is taken from the .ps_project/config.json file, or the current directory name.
66
66
* @param {string} [params.projectId] - The poject id of an existing project for this job. Note: if projectId is specified, the project parameter cannot be specified.
67
67
* @param {string} [params.command] - An optional command to run within the workspace or container.
68
-
* @param {string} [params.workspace] - An optional path to a workspace, or link to a git repository to upload and merge with the container. If a zip file name is provided it is uploaded instead. If no workspace is provided the current directory is zipped up and transferred. If the workspace is 'none', no workspace is merged and the container is run as-is. To download a git repository provide an https repository link and prefix it with 'git+', e.g. 'git+https://github.com/MyProjects/MyRepo.git'. S3 links are also supported using the schema 's3://bucketname/objectname'.
68
+
* @param {string} [params.workspace] - An optional path to a workspace, or link to a git repository to upload and merge with the container. If a zip file name is provided it is uploaded instead. If no workspace is provided the current directory is zipped up and transferred. If the workspace is 'none', no workspace is merged and the container is run as-is. To download a git repository provide an https repository link and optionally prefix it with 'git+', e.g. 'https://github.com/MyProjects/MyRepo.git'. If the 'git+' prefix is not specified, it is added at the time of download to the job runner machine. S3 links are also supported using the schema 's3://bucketname/objectname'.
69
69
* @param {string} [params.dataset] - An optional reference to a dataset to be merged with the container.
70
70
* @param {string} [params.registryUsername] - An optional username for accessing an image hosted on a private container registry. Note: you must specify this option every time a private image is specified for the container.
71
71
* @param {string} [params.registryPassword] - An optional password for accessing an image hosted on a private container registry. Note: you must specify this option every time a private image is specified for the container.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Apr 24 2018 16:35:08 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
517
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Apr 25 2018 01:17:36 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Apr 24 2018 16:35:08 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
106
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Apr 25 2018 01:17:36 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Apr 24 2018 16:35:08 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
72
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Apr 25 2018 01:17:36 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
* @param {string} [filter.command] - Optional command to match on
61
62
* @param {string} [filter.workspace] - Optional workspace path to match on. Note: the original workspace path will be modified on upload to point to a temporary location.
62
63
* @param {string} [filter.dataset] - Optional dataset to match on
64
+
* @param {string} [filter.dataset] - Optional dataset to match on
65
+
* @param {boolean} [summary] - Optional (command line argument only). Format output as a summary table.
63
66
* @param {function} cb - Node-style error-first callback function
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Apr 24 2018 16:35:08 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
210
+
Documentation generated by <ahref="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Apr 25 2018 01:17:36 GMT-0400 (EDT) using the <ahref="https://github.com/clenemt/docdash">docdash</a> theme.
0 commit comments