Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] update the README.md for launching jobs to show launching results. #1226

Merged
merged 1 commit into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/fedml/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ fedml_arguments:
fedml_account_id: "214"
fedml_account_name: "fedml-alex"
project_name: Cheetah_HelloWorld
job_name: Cheetah_HelloWorld080504
job_name: Cheetah_HelloWorld

# Local directory where your source code resides.
# If your job doesn't contain any source code, it can be empty.
Expand Down
26 changes: 20 additions & 6 deletions python/fedml/cli/scheduler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fedml_arguments:
fedml_account_id: "214"
fedml_account_name: "fedml-alex"
project_name: Cheetah_HelloWorld
job_name: Cheetah_HelloWorld080504
job_name: Cheetah_HelloWorld

# Local directory where your source code resides.
# If your job doesn't contain any source code, it can be empty.
Expand Down Expand Up @@ -60,12 +60,26 @@ fedml launch call_gpu.yaml -k $YourApiKey

After the launch CLI is executed, the output is as follows. Here you may open the job url to confirm and actually start the job.
```
Uploading Package to AWS S3: 100%|██████████| 3.41k/3.41k [00:01<00:00, 2.85kB/s]
Job Cheetah_HelloWorld pre-launch process has started. The job launch is not started yet.
Please go to this web page with your account $YourUserId to review your job and confirm the launch start.
https://open.fedml.ai/gpu/projects/job/confirmStartJob?projectId=1684824291914420224&jobId=1684833332610863104
Uploading Package to AWS S3: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████| 1.85k/1.85k [00:00<00:00, 1.90kB/s]

For querying the status of the job, please run the command: fedml jobs list -id $YourJobId -u $YourUserId -k $YourApiKey
Found matched GPU devices for you, which are as follows.
Vendor: nvidia, got gpu count: 1, type: fedml_a100_node_1, cost 60.00

Job symbol_parts pre-launch process has started. But the job launch is not started yet.
You may go to this web page with your account 214 to review your job and confirm the launch start.
https://open.fedml.ai/gpu/projects/job/confirmStartJob?projectId=1684824291914420224&jobId=1692590499845771264

Or here you can directly confirm to launch your job on the above GPUs.
Are you sure to launch it? [y/N]: y

Currently, your launch result is as follows.
job name symbol_parts, job id 1692590499845771264, status RUNNING, started time 2023-08-19T01:33:16, ended time None, duration None, cost 0.0.

You can track your job running details at this URL.
https://open.fedml.ai/gpu/projects/job/jobDetail?projectId=1684824291914420224&jobId=1692590499845771264

For querying the realtime status of your job, please run the following command.
fedml jobs list -id 1692590499845771264 -u 214
```

## Login as the GPU supplier
Expand Down
Loading