Upgrading wandb 0.3 to 0.4
Unknown0.3.3 → 0.4.46
Fetching 47 releases from GitHub…0 / 47
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
export Api - removed:
export Error - added:
export types - added:
function init(job_type=…) - added:
function termlog(string=…, newline=…) - added:
variable run
- added:
class Agent(object) - added:
class AgentApi(object) - added:
class AgentError(Exception) - added:
constructor Agent(api, queue, wandb_runner, sweep_id=…) - added:
constructor AgentApi(queue) - added:
field Agent.POLL_INTERVAL - added:
function run_agent(sweep_id=…) - added:
method Agent.run() - added:
method AgentApi.command(command)
- added:
class Agent(object) - added:
constructor Agent(entity=…) - added:
method Agent.handle_event(event) - added:
method Agent.run()
- removed:
class Error(Exception) - removed:
function IDENTITY(monitor) - removed:
method Api.config(key=…, section=…) - removed:
method Api.create_model(model, description=…, entity=…) - removed:
method Api.list_buckets(model, entity=…) - removed:
method Api.list_models(entity=…) - removed:
method Error.encode(encoding) - changed:
constructor Api(default_config=…, load_config=…) → constructor Api(default_settings=…, load_settings=…) - changed:
method Api.download_urls(model, bucket=…, entity=…) → method Api.download_urls(project, run=…, entity=…) - changed:
method Api.parse_slug(slug, model=…, bucket=…) → method Api.parse_slug(slug, project=…, run=…) - changed:
method Api.pull(model, bucket=…, entity=…, description=…) → method Api.pull(project, run=…, entity=…) - changed:
method Api.push(model, files, bucket=…, entity=…, description=…) → method Api.push(project, files, run=…, entity=…, description=…, force=…, progress=…) - changed:
method Api.upload_urls(model, files, bucket=…, entity=…, description=…) → method Api.upload_urls(project, files, run=…, entity=…, description=…) - added:
class BinaryFilePolicy(object) - added:
class CRDedupeFilePolicy(object) - added:
class CommError(Error) - added:
class DefaultFilePolicy(object) - added:
class FileStreamApi(object) - added:
class UsageError(Error) - added:
constructor BinaryFilePolicy() - added:
constructor CRDedupeFilePolicy() - added:
constructor DefaultFilePolicy() - added:
constructor FileStreamApi(api_key, user_agent, base_url, entity, project, run_id) - added:
field FileStreamApi.Finish - added:
field FileStreamApi.HEARTBEAT_INTERVAL_SECONDS - added:
field FileStreamApi.HTTP_TIMEOUT - added:
field FileStreamApi.MAX_ITEMS_PER_PUSH - added:
field FileStreamApi.RATE_LIMIT_SECONDS - added:
method Api.agent_heartbeat(agent_id, metrics, run_states) - added:
method Api.download_write_file(metadata) - added:
method Api.get_file_stream_api() - added:
method Api.launch_run(command, project=…, entity=…, run_id=…) - added:
method Api.list_projects(entity=…) - added:
method Api.list_runs(project, entity=…) - added:
method Api.register_agent(host, persistent, sweep_id=…, project_name=…) - added:
method Api.run_config(project, run=…, entity=…) - added:
method Api.save_patches(out_dir) - added:
method Api.set_current_run_id(run_id) - added:
method Api.settings(key=…, section=…) - added:
method Api.tag_and_push(name, description, force=…) - added:
method Api.upsert_project(project, id=…, description=…, entity=…) - added:
method Api.upsert_run(id=…, name=…, project=…, host=…, config=…, description=…, entity=…, repo=…, job_type=…, program_path=…, commit=…, sweep_name=…) - added:
method Api.upsert_sweep(config) - added:
method Api.viewer() - added:
method BinaryFilePolicy.process_chunks(chunks) - added:
method CRDedupeFilePolicy.process_chunks(chunks) - added:
method DefaultFilePolicy.process_chunks(chunks) - added:
method FileStreamApi.finish(failed) - added:
method FileStreamApi.push(filename, data) - added:
method FileStreamApi.set_file_policy(filename, file_policy) - added:
property Api.api_key - added:
property Api.api_url - added:
property Api.app_url - added:
property Api.current_run_id - added:
property Api.user_agent - added:
variable Chunk - added:
variable logger
- removed:
class BucketGroup(click.Group) - removed:
function add(files, model) - removed:
function buckets(model, entity) - removed:
function config() - removed:
function logged_in(host) - removed:
function models(entity) - removed:
function normalize(host) - removed:
function rm(files, model) - removed:
method BucketGroup.get_command(ctx, cmd_name) - changed:
function editor() → function editor(content=…, marker=…) - changed:
function pull(model, bucket, kind, entity) → function pull(project, run, kind, entity) - changed:
function push(ctx, bucket, model, description, entity, files) → function push(ctx, run, project, description, entity, force, files) - changed:
function status(bucket, model) → function status(run, settings, project) - added:
class ClickWandbException(ClickException) - added:
class RunGroup(click.Group) - added:
function agent(sweep_id) - added:
function describe() - added:
function docs(ctx) - added:
function logs(run_id) - added:
function pending_loop(pod_id) - added:
function projects(entity, display=…) - added:
function prompt_for_project(ctx, entity) - added:
function require_init(func) - added:
function restore(run, branch, project, entity) - added:
function run(ctx, program, args, id, dir, configs, message, show) - added:
function runs(ctx, project, entity) - added:
function sweep(ctx, config_yaml) - added:
method ClickWandbException.format_message() - added:
method RunGroup.get_command(ctx, cmd_name) - added:
variable DOCS_URL - added:
variable IS_INIT - added:
variable RUN_CONTEXT - added:
variable logger
- added:
class Config(object) - added:
constructor Config(config_paths=…, wandb_dir=…, run_dir=…, persist_callback=…) - added:
function boolify(s) - added:
method Config.as_dict() - added:
method Config.desc(key) - added:
method Config.get(*args) - added:
method Config.keys() - added:
method Config.load_json(json) - added:
method Config.persist() - added:
method Config.update(params) - added:
variable logger
- added:
class FilePusher(object) - added:
class UploadJob(threading.Thread) - added:
constructor FilePusher(push_function, max_jobs=…) - added:
constructor UploadJob(done_queue, push_function, save_name, path, copy=…) - added:
method FilePusher.file_changed(save_name, path, copy=…) - added:
method FilePusher.finish() - added:
method FilePusher.is_alive() - added:
method UploadJob.restart() - added:
method UploadJob.run() - added:
variable EventFileChanged - added:
variable EventFinish - added:
variable EventJobDone
- added:
class GitRepo(object) - added:
constructor GitRepo(root=…, remote=…, lazy=…) - added:
method GitRepo.get_upstream_fork_point() - added:
method GitRepo.push(name) - added:
method GitRepo.tag(name, message) - added:
property GitRepo.branch - added:
property GitRepo.dirty - added:
property GitRepo.enabled - added:
property GitRepo.last_commit - added:
property GitRepo.remote - added:
property GitRepo.remote_url - added:
property GitRepo.repo - added:
property GitRepo.root - added:
variable logger
- added:
class JsonlEventsFile(object) - added:
class JsonlFile(object) - added:
constructor JsonlEventsFile(fname, out_dir=…) - added:
constructor JsonlFile(fname, out_dir=…) - added:
method JsonlEventsFile.flatten(dictionary) - added:
method JsonlEventsFile.track(event, properties, timestamp=…, _wandb=…) - added:
method JsonlFile.add(row) - added:
method JsonlFile.column(key) - added:
method JsonlFile.keys()
- added:
class AgentPuller(object) - added:
class LogPuller(object) - added:
constructor AgentPuller(agent, entity=…, logger=…) - added:
constructor LogPuller(run_id, pod_id=…, finished=…) - added:
method AgentPuller.event(data) - added:
method AgentPuller.run() - added:
method AgentPuller.subscribe() - added:
method LogPuller.lines(data) - added:
method LogPuller.sync() - added:
variable api - added:
variable key
- added:
class Runner(object) - added:
class RunnerError(Exception) - added:
class SingleRun(multiprocessing.Process) - added:
constructor Runner(api) - added:
constructor SingleRun(api, program, args, id, dir, configs, message, show, show_output, sweep_id, **kwargs) - added:
method Runner.run(program, args, id=…, dir=…, configs=…, message=…, show=…, show_output=…, sweep_id=…) - added:
method Runner.running_runs() - added:
method Runner.stop(run_id) - added:
method SingleRun.is_running() - added:
method SingleRun.launch() - added:
method SingleRun.next_event() - added:
method SingleRun.run() - added:
method SingleRun.term()
- added:
function sparkify(series) - added:
variable spark_chars
- added:
class FileStats(object) - added:
class Stats(object) - added:
class SystemStats(object) - added:
constructor FileStats(file_path) - added:
constructor Stats() - added:
constructor SystemStats(run) - added:
method FileStats.update_size() - added:
method Stats.files() - added:
method Stats.stats() - added:
method Stats.summary() - added:
method Stats.update_all_files() - added:
method Stats.update_file(file_path) - added:
method Stats.update_progress(file_path, uploaded) - added:
method SystemStats.flush() - added:
method SystemStats.shutdown() - added:
method SystemStats.stats()
- added:
class LineBuffer(object) - added:
class TextStreamPusher(object) - added:
constructor LineBuffer() - added:
constructor TextStreamPusher(fsapi, filename, line_prepend=…, prepend_timestamp=…) - added:
method LineBuffer.add_string(string) - added:
method TextStreamPusher.close() - added:
method TextStreamPusher.write(message, cur_time=…) - added:
variable logger
- added:
class Summary(object) - added:
constructor Summary(out_dir=…) - added:
method Summary.get(k, default=…) - added:
method Summary.update(key_vals) - added:
variable SUMMARY_FNAME
- removed:
method Sync.add(event) - removed:
method Sync.echo() - removed:
method Sync.push(event) - changed:
constructor Sync(api, model, bucket=…) → constructor Sync(api, job_type, run, config=…, project=…, tags=…, datasets=…, description=…, sweep_id=…) - changed:
method Sync.watch(files=…) → method Sync.watch(files, show_run=…) - added:
class ExitHooks(object) - added:
class FileEventHandler(object) - added:
class FileEventHandlerBinaryStream(FileEventHandler) - added:
class FileEventHandlerOverwrite(FileEventHandler) - added:
class FileEventHandlerOverwriteDeferred(FileEventHandler) - added:
class FileEventHandlerTextStream(FileEventHandler) - added:
class FileTailer(object) - added:
class OutStreamTee(object) - added:
constructor ExitHooks() - added:
constructor FileEventHandler(file_path, save_name, api) - added:
constructor FileEventHandlerBinaryStream(*args, **kwargs) - added:
constructor FileEventHandlerOverwrite(file_path, save_name, api, file_pusher, *args, **kwargs) - added:
constructor FileEventHandlerOverwriteDeferred(file_path, save_name, api, file_pusher, *args, **kwargs) - added:
constructor FileEventHandlerTextStream(*args, **kwargs) - added:
constructor FileTailer(path, on_read_fn, binary=…) - added:
constructor OutStreamTee(stream, second_stream) - added:
function editor(content=…, marker=…) - added:
method ExitHooks.excepthook(exc_type, exc, *args) - added:
method ExitHooks.exit(code=…) - added:
method ExitHooks.hook() - added:
method FileEventHandler.finish() - added:
method FileEventHandler.on_created() - added:
method FileEventHandler.on_modified() - added:
method FileEventHandlerBinaryStream.on_created() - added:
method FileEventHandlerBinaryStream.on_modified() - added:
method FileEventHandlerOverwrite.on_created() - added:
method FileEventHandlerOverwrite.on_modified() - added:
method FileEventHandlerOverwriteDeferred.finish() - added:
method FileEventHandlerTextStream.on_created() - added:
method FileEventHandlerTextStream.on_modified() - added:
method OutStreamTee.close() - added:
method OutStreamTee.fileno() - added:
method OutStreamTee.flush() - added:
method OutStreamTee.isatty() - added:
method OutStreamTee.write(message) - added:
method Sync.on_file_created(event) - added:
method Sync.on_file_modified(event) - added:
method Sync.stop() - added:
method Sync.update_config(config) - added:
variable ERROR_STRING - added:
variable logger
- added:
class TypedTable(object) - added:
constructor TypedTable(output) - added:
method TypedTable.add(row) - added:
method TypedTable.count() - added:
method TypedTable.set_columns(types) - added:
variable TYPE_TO_TYPESTRING - added:
variable VALID_TYPE_NAMES
- added:
class SafeSubprocess(object) - added:
class WandBJSONEncoder(json.JSONEncoder) - added:
constructor SafeSubprocess(args, env=…, read_output=…) - added:
function downsample(values, target_length) - added:
function find_runner(program) - added:
function get_log_file_path() - added:
function json_dumps_safer(obj, **kwargs) - added:
function make_json_if_not_number(v) - added:
function md5_file(path) - added:
function mkdir_exists_ok(path) - added:
function read_many_from_queue(q, max_items, queue_timeout) - added:
function request_with_retry(func, *args, **kwargs) - added:
method SafeSubprocess.poll() - added:
method SafeSubprocess.run() - added:
method SafeSubprocess.terminate() - added:
method WandBJSONEncoder.default(obj) - added:
variable logger
- added:
class WandbKerasCallback(object) - added:
constructor WandbKerasCallback(monitor=…, verbose=…, mode=…, save_weights_only=…) - added:
method WandbKerasCallback.on_batch_begin(batch, logs=…) - added:
method WandbKerasCallback.on_batch_end(batch, logs=…) - added:
method WandbKerasCallback.on_epoch_begin(epoch, logs=…) - added:
method WandbKerasCallback.on_epoch_end(epoch, logs=…) - added:
method WandbKerasCallback.on_train_begin(logs=…) - added:
method WandbKerasCallback.on_train_end(logs=…) - added:
method WandbKerasCallback.set_model(model) - added:
method WandbKerasCallback.set_params(params)
- added:
class Run(object) - added:
constructor Run(run_id, dir, config) - added:
function generate_id() - added:
function run_dir_path(run_id, dry=…) - added:
property Run.dir - added:
property Run.events - added:
property Run.examples - added:
property Run.has_examples - added:
property Run.has_history - added:
property Run.has_summary - added:
property Run.history - added:
property Run.summary - added:
variable EVENTS_FNAME - added:
variable EXAMPLES_FNAME - added:
variable HISTORY_FNAME
- added:
class WandbEventFileWriter(EventFileWriter) - added:
class WandbFileWriter(summary.FileWriter) - added:
constructor WandbEventFileWriter(logdir, max_queue=…, flush_secs=…, filename_suffix=…, wandb_summary=…, wandb_history=…) - added:
constructor WandbFileWriter(logdir, graph=…, max_queue=…, flush_secs=…, graph_def=…, filename_suffix=…, wandb_summary=…, wandb_history=…) - added:
method WandbEventFileWriter.add_event(event)
- added:
class Histogram(object) - added:
class Image(object) - added:
class Percentage(object) - added:
constructor Histogram(obj) - added:
constructor Image(obj) - added:
constructor Percentage(obj) - added:
field Histogram.typestring - added:
field Image.typestring - added:
field Percentage.typestring - added:
method Histogram.encode() - added:
method Image.encode() - added:
method Percentage.encode()